|
|
Question : Batch to map drive for users at logon per users needs.
|
|
I'm using SB Server 2003
I want to map drives for each user every time they logon. Each user needs different drives mapped.
I added this line to the SBS_LOGIN_SCRIPT.bat file.
REM SBS Login Script for user \\rpsserv1\netlogon\%username%.BAT
Next I added another bat file to the c:\windows\sysvol\sysvol\rpsserv1\scripts folder.
mhankins.bat
Inside the .bat file I added this line.
REM Batch for mhankins NET USE T: /DEL NET USE T: \\192.168.1.2\tools
But when user mhankins logs into the domain the drive does not show as mapped.
I then went into AD and looked to see if there was a bat file defined in the profile tab for the properties for the user mhankins, and the SBS_LOGIN_SCRIPT.bat is listed.
Help.....
|
Answer : Batch to map drive for users at logon per users needs.
|
|
I've added some code to your batch file below that I think will make it work.
REM SBS Login Script for user call \\rpsserv1\netlogon\%username%.BAT
Hope this helps!
|
|
|
|