Link to home
Start Free TrialLog in
Avatar of ArzuGould
ArzuGould

asked on

Mapping drives using default domain profile

Hi
I am trying to map network drives for domain users. I would like to be able to do it by default domain profile. I have created a batch file and copied it under Scripts folder under SYSVOL and I can verify that it is also in NETLOGON share of the DC.

Any ideas? Any help is appreciated

Thanks
Avatar of LauraEHunterMVP
LauraEHunterMVP
Flag of United States of America image

Can you elaborate on what you mean when you say that you want to "be able to do it by default domain profile"?  Drive mappings are typically done via login script, since user credentials are required to access most network shares.

You can assign login scripts to users en masse through Group Policy, and then map the necessary drives as described here: http://www.rlmueller.net/LogonScriptFAQ.htm
ASKER CERTIFIED SOLUTION
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ArzuGould
ArzuGould

ASKER

Thanks a lot.
I have chosen to do it via GPO. I have created the GPO and it is linked to the right OU. Could you help me with the scripting part please. I have created a bat file as follows:
net use N: \\%servername%\sharename
net use M: \\%servername%\sharename
how should I edit the vbs file?
Thanks
There's no specific requirement to use a VBS file.  Save this as "login.bat" and configure this as your login script via GPO - use the "Show Files" button to save the BAT file to the appropriate location.