We help IT Professionals succeed at work.

Mapping drives using default domain profile

ArzuGould
ArzuGould asked
on
666 Views
Last Modified: 2010-03-17
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
Comment
Watch Question

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
Photographer
CERTIFIED EXPERT
Awarded 2007
Top Expert 2008
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
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.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.