remove mapped drives permanently

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.
 
K

Kerry Brown

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.
 
D

Duane Hebert

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.
 

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