KentMiller
asked on
map network drive for users
I need a Net Use command to map a drive specific to users as they logon. What I need is:
NET USE U: \\server\users\"username" so that it will insert the specific "username" as this batch file is run on logon for this specific user. Is this possible? The domain controller is running Server 2003R2 the workstations are running Win 7.
Thanks,
Kent
NET USE U: \\server\users\"username" so that it will insert the specific "username" as this batch file is run on logon for this specific user. Is this possible? The domain controller is running Server 2003R2 the workstations are running Win 7.
Thanks,
Kent
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I agree with jburgaard, that is quick and easy, just add it to your current logon.bat file -- you say that you need it to run for this "specific" user. So do you mean you only want it to run for this specific user or all users who logon to the server? if only the specific user then use this command instead, let say only for user named joe
if %UserName% == joe net use \\server\users\%USERNAME%
if %UserName% == joe net use \\server\users\%USERNAME%
ASKER
Worked great. I have three different usergroups that use different multiple drives but all use the assigned 'user' folder as a drive. These Usergroups have a different logon batch file executed through GPO.
A GPO with a login script
Jburgaard's example is also an option.
IMHO, since you currently have one server and it is R2,I'd recommend you consider domain based shares using DFS/DFS management.
Future transition as you expand will be transparent to the users versus server based shares.