REM filename: logon.cmd
echo Hello %username%
echo You are now logged into %computername%
echo Now setting up your computer for network access.
echo Connecting Network Drive
net use q: /DELETE
net use q: \\MUDONSTRGSRV\mace /PERSISTENT:YES
net use f: /DELETE
net use f: \\MUDONSTRGSRV\ftp /PERSISTENT:YES
The above is a logon script that we r using in our network. Please can
someone give me an idea on how to add user access rights into this script.
When we run this script it keeps asking for username & password. Is there a
way I can add the username & password in this script itself so that users (
workgroup ) can do without entering username & password.