Avatar of ip_challenge
ip_challenge
 asked on

Mapping Drives in Active Directory

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?
Active Directory

Avatar of undefined
Last Comment
ip_challenge

8/22/2022 - Mon
Point-In-Cyberspace

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
ip_challenge

ASKER
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.

THanks
 
Point-In-Cyberspace

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.


All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ip_challenge

ASKER
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%
exit


ASKER CERTIFIED SOLUTION
Point-In-Cyberspace

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ip_challenge

ASKER
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.