remove mapped drives permanently

  • Thread starter Thread starter Duane Hebert
  • Start date Start date
D

Duane Hebert

I had some network shares mapped but they are no longer available. I've disconnected them but each time that I reboot, I get errors
that it can't connect to these drives. I don't see where to permanently disconnect them. Using Vista Business with sp1.
 
Duane Hebert said:
I had some network shares mapped but they are no longer available. I've
disconnected them but each time that I reboot, I get errors that it can't
connect to these drives. I don't see where to permanently disconnect
them. Using Vista Business with sp1.

Start an elevated command prompt (Right click and pick Run as
Administrator). Type in:

NET USE * /DELETE

This will delete all mapped drives. You will have to remap the drives you
want to keep. If they still persist on reboot then somewhere a logon script
is mapping the drives.
 
Start an elevated command prompt (Right click and pick Run as
Administrator). Type in:

NET USE * /DELETE

This will delete all mapped drives. You will have to remap the drives you
want to keep. If they still persist on reboot then somewhere a logon script
is mapping the drives.

That's strange. I have a batch file that maps some drives, runs an exe that
needs them and then deletes them. So it's like:

net use X:\\SomeUNCPath /user:someuser somepassword
....
some.exe
net use X: /DELETE
....

This didn't seem to work. But I ran the * delete from the command line
and it seems to have removed the maps.

Thanks.
 
Back
Top