We help IT Professionals succeed at work.

Mapping Drives in Active Directory

ip_challenge asked
Last Modified: 2010-05-18
I recently made some network changes.  I use Server 2003 with Active Directory. I use a script to map printers and drives.

For some reason members of my administrative group are no longer being mapped.  I have checked there local user profile with the SET command and no longer see the homedrive, home share being mapped.

The strange thing is that if this user logs in to another computer  (roaming profile) the drives and printers are mapped correctly.

Any idea?
Watch Question

Try to run the script manually by a command prompt from on one of those computer with the user logged that have troubles.

So you will check if it return errors


I ran the script manually and received a "network path not found".  

It seems that this group has some settings cached on the computer they use daily. The can login any other computer and it will map just fine.

Maybe your script have references to another script or command. Attach your script so we can view it.

If this script is not too long you can try to execute manually one single line at time to locate the issue.


Here is the script

REGEDIT /S \\mv-admin\netlogon\Delete-NetPrinters.REG
wscript.exe \\mv-admin\netlogon\adminprinters.vbs

rem modifies the registry to set the default printer to the the workstation over roaming profiles
rem not using delete statement, office workers are not transient beyond office workstations

net use G: /delete
net use G: \\mv-admin\administration
net use H: /delete
net use H: \\mv-admin\administration\%username%

This one is on us!
(Get your first solution completely free - no credit card required)


Thanks for the help. The script worked but the DNS record for the domain was missed up. Once the DNS started passing correct information the login worked.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

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


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.