How do I unmap a disconnected network drive in Windows 7?

On the command line (substitute your drive letter for z):

net use z: /delete

I can't test this here as I'm not on a network, but I think it's a case of doing this:

  1. Right-click Network in Windows Explorer.
  2. Select Disconnect network drive....
  3. In the list that appears, right-click the drive you wish to remove and select Remove.

I think it's something like that but as I say, I can't test it here.


On the command line, try:

net use

This shows all currently mapped drives. If the one you're looking for is in the list, you can use:

net use x: /delete

where X: is the drive you're trying to remove. But if the drive has been removed, there may be no such drive letter shown. In that case, just type the Remote identifier for the mapping:

net use 192.168.10.11\WorkFiles /delete