troubleshooting Question

Drive Mapping Script

Avatar of DMayo
DMayoFlag for Canada asked on
Windows Server 2008Windows 7
5 Comments1 Solution662 ViewsLast Modified:
Hi All,

I am running Windows Server 2008 R2 and Windows 7 64 bit clients. I am wondering how I go about making a script execute on logon.

I want to map the users network drives, I have a script which is just basically;

net use X: \\servername\sharename

When I run this script manually it works and maps the drive, however, I can get it to work automatically through Group Policy.

I am using the Scripts under User Configuration "Logon". I have also tried the solution giving by Microsoft using launchapp.wsf and still have no luck. I have also tried just putting it in \\servername\netlogon and that doesn't seem to work either.

When I log onto the DC it self, it seems to work, however, when I log into our Secondary DC it does not work. Any thoughts?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros