Network drive disconnect problem (Need help)

G

Guest

I recently mapped a network drive through Group Policy/User
configuration/windows setting/scripts/logon and when I put the script in to
production I missed a line that I had a incorrect syntax that disconnected
the drive. On that line I had:

net use g: \\dhqfl2\apps\folder /d

Well it ran like that for a day then I corrected that and well thats when
things went wrong. Now a lot of computers have a g: drive that is in "My
Computer" that says dissconnected network drive and if you double click it it
open to the location. The main problem is that you cannot disconnect the
drive. When you right click on the g drive and click disconnect it comes back
with "The network connection could not be found". Then I tried to remap the
drive with the same letter (g) and it comes back to say the drive is in use.
So I have used vbs script to try to disconnect reconnect with no luck, also
used net use with no luck. The weird thing is it shows up with the local
administrator account on the computer when this is a domain network share but
he can not access it due to permissions. Now if you disconnect the computer
from the network it does not show up. My question is where and how is this
happening. I have deleted profiles, registry keys with no luck. Please
help!!!!
 
G

Guest

You could try putting this just before the line that maps your G: drive:


USE G: /Delete /Persistent

This will get rid of any current drive mappings to G: before assigning the
good one.
 
G

Guest

That did not work. The script is no longer in Group Policy and yet the script
is still being called up. Not only that but the local administrator of the
computer is running the script from the group policy (local administartor
does not login to the domain) so why is the drive mapping to that same drive
that was for domain users?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top