2

How to disable the Reconnect at logon setting for a mapped network drive on Vista? How to disconnect already mapped drives?

Toro
  • 766
  • 4
  • 22
  • 31

3 Answers3

5

to disconnect, use:

net use Z: /d

Windows will not try to re-connect the drive when logging on again (unless the drive is actually being connected in a logon script or similar, of course).

Tomalak
  • 1,605
  • 4
  • 17
  • 32
2

NET USE /PERSISTENT:NO will turn off persistence for future network mappings. If you already have the mapping, you need to delete it and recreate it after to change the setting.

Kevin Dente
  • 2,225
  • 1
  • 15
  • 7
  • Works patially: persistence is OFF for future mappings, but I'm not able to kill my existing mapping... – Toro May 02 '09 at 14:24
0

You'll need to first disconnect from the server, then map it again to change it.

Sophie Alpert
  • 1,639
  • 1
  • 13
  • 16
  • It doesn't work, when I log off and log on again I still have a mapped drive, – Toro May 02 '09 at 14:22
  • my experience so far is also that this procedure is not sufficient; i end up with the drive still mapping automatically. – hakamadare Jul 15 '10 at 15:08