Question : Disconnecting existing mappings to network share

I'm attempting to map a share (across a vpn connection) but get a dialog to the effect:

The folder specified is mapped using a different username and password. Disconnect existing mappings first.

My Network Places is empty...where else would I look or otherwise force a rescan of existing connections?

Answer : Disconnecting existing mappings to network share

Hi,

Depending on the type of script you are using you could just add the following command into your batch file on the line above your new mappings to remove the existing shares first:

e.g
net use W: /delete (this would disconnect the shared W drive)
net use W: /persistent:yes (reconnects the share)

Hope this helps

Regards
Random Solutions  
 
programming4us programming4us