Question : Map network drive as default for all users in Microsoft Windows Server 2003

I would like to know how map network drive as default without use login and password.

For example: A user log in machine and it shared drive appears for that user.

Thank you for your help!

Answer : Map network drive as default for all users in Microsoft Windows Server 2003

To use the ifmember command, you can either copy it to the local pc OR you can copy it to a share on a server.  Then, have everyone map to x: drive (whatever letter) to the server share and use it in your script.  Like this:

<>
net use m: \\w2k3fs01\login

:map user's network share
m:\ifmember kyfd01\scanners
if %errorlevel% EQU 1 goto scanned.data.directory.mapping
net use S: \\w2k3fs01\users\%username%

That will use the m: drive throughout the script for ifmember.  Post any questions.  Good luck.
Random Solutions  
 
programming4us programming4us