can't disconnect mapped network drive

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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.
 
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
 
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
 
Back
Top