General discussion

Locked

Network drive mapping problems - HELP!

By shanna ·
We recently added a second server to our site. All our staff had 3 drives mapped via logon script to our old server which I have updated to point to the new server's shares. Unfortunately, we're now having "mystery" shares appearing that are pointing to the old server, to the point where all the drive letters are now used up.

The drive mapping command I'm using in the logon script is as follows:

net use I: \\servername\sharename /persistent:no

The mystery drives that are appearing are pointing to the same share on the old server (which, unfortunately, cannot yet be taken out of service), as well as a share that (to my knowledge) has never been used as a network share. Is there anyway to permanently eliminate the maps to the old shares through the scripts, or must I do it manually?

I'm not sure why this is suddenly occurring, and it is becoming very annoying to the staff, so any assistance would be grealty appreciated.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Network drive mapping problems - HELP!

by avi_mohod In reply to Network drive mapping pro ...

Hi,
Problem is that entry of old share r present in registry.U have to scan the registry for old entries and delete them.Type regedit in run cammand box.The registry editore will open.Go to edit menu select find.Type old share unc path i.e \\servername\sharename and click find.When entry gets delete them.Remember that u have u to delete the old entries and unwanted one not the current one.After deleting the entry click find next from edit menu or press F3.Go upto end of registry and deleteunwanted entries.After reaching end of registry close registry editor and restart ur m/c.Remember that registry editing is risky and should be done carefully.This thing u have to do on each m/c which has this problem.
U can also write script for deleting shares from registry nad execute on each problem m/c.
avi.

Collapse -

Network drive mapping problems - HELP!

by shanna In reply to Network drive mapping pro ...

Poster rated this answer

Collapse -

Network drive mapping problems - HELP!

by connie.kindberg In reply to Network drive mapping pro ...

the easiest way to correct this is add a few lines in your login script to delete any persistent shares before mapping the new ones.

I am not sure of the exact context for it, but it goes something like:

net use * /delete

I believe you can use the asterisk to cancel all network connections.

Collapse -

Network drive mapping problems - HELP!

by shanna In reply to Network drive mapping pro ...

Poster rated this answer

Collapse -

Network drive mapping problems - HELP!

by shanna In reply to Network drive mapping pro ...

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums