Why is a mapped network drive showing up twice

manelson05
manelson05 used Ask the Experts™
on
I have a lengthy vb script which runs and maps all network shares based on AD membership.
This was recently changed to a .bat which runs upon login.

However the questions remains only one network folder is showing up twice.

any way for me to resolve this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Within your script do you have an asterisk defined?

example

net use * \\server\share

Cleanest method in my opinion is the use Drive Map Preference using a GPO to map network drives.
Senior Solutions Architect
Commented:
It may be a persistent mapping.
Run net use * /d as the first command in your .bat file

You can test it directly from your existing session.
So open a cmd prompt and run the batch file from \\domain\netlogon

If that works and the drive still gets mapped after a restart then you could have the drive mapped in an alternative method like gpo or some other startup script.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial