can't disconnect mapped network drive

G

Guest

I wrote a simple script to map a network drive (using logon credenitals other
than the logged on user).

After that, I logout the machine and login again. The mapped drive become
disconnected (with a red cross on it), and there is nothing I can do to unmap
it because it shows no mapped drive when I type "net use * /delete /y" or
from windows explorer. I can't even map it again because the drive is not
available to choose from in windows explorer and system error 85 returned
when running "net use" on the drive

I tried many methods and search all over the microsoft.com for solution, but
nothing helpful.

Anyone got any idea?
 
P

Pegasus \(MVP\)

kingsroad said:
I wrote a simple script to map a network drive (using logon credenitals other
than the logged on user).

After that, I logout the machine and login again. The mapped drive become
disconnected (with a red cross on it), and there is nothing I can do to unmap
it because it shows no mapped drive when I type "net use * /delete /y" or
from windows explorer. I can't even map it again because the drive is not
available to choose from in windows explorer and system error 85 returned
when running "net use" on the drive

I tried many methods and search all over the microsoft.com for solution, but
nothing helpful.

Anyone got any idea?

The drive is most likely mapped in a background session, e.g.
by a scheduled task. Prevent that task from starting, then reboot
the machine to unmap the drive.
 
G

Guest

Hi,
After that, I logout the machine and login again. The mapped drive become
disconnected (with a red cross on it), and there is nothing I can do to unmap
it because it shows no mapped drive when I type "net use * /delete /y" or
from windows explorer. I can't even map it again because the drive is not
available to choose from in windows explorer and system error 85 returned
when running "net use" on the drive

have you tried using net use x: \\ip\drive /user:[username] [password] to
map the drive !? when you reboot the system does it ask you the username
and/or password !?

Regards
 
G

Guest

Sorry for the response. Currently, I am still arranging the time to reboot
the server because it hosts a critical system.

Keep updating you guys.

Thanks.


Hemantgiri S. Goswami said:
Hi,
After that, I logout the machine and login again. The mapped drive become
disconnected (with a red cross on it), and there is nothing I can do to unmap
it because it shows no mapped drive when I type "net use * /delete /y" or
from windows explorer. I can't even map it again because the drive is not
available to choose from in windows explorer and system error 85 returned
when running "net use" on the drive

have you tried using net use x: \\ip\drive /user:[username] [password] to
map the drive !? when you reboot the system does it ask you the username
and/or password !?

Regards
 

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