How to remove disconnected drives from Windows Explorer

Solution 1:

There is an easy way to do this: restart Windows Explorer (without shutting down). You could do this with a batch file, like the following:

@echo off
net use * /delete /noconfirm
taskkill /f /IM explorer.exe
explorer.exe
net use x: \\myServer\mySHaredFolder

Solution 2:

(Windows 8.1 Tested) restart Windows Explorer by killing and restarting the process in the Task Manager. Right-click Windows Explorer -> Restart. Done.

Solution 3:

First, you need have a "Shared Folder" on your hard drive. If you haven't got one already, create a new folder on your hard drive called "Shared", then right-click it and select properties. Click the Sharing tab and tick the "Share this folder" box.

Next, click "My Computer" and in the Tools Menu, click "Map Network Drive".

Notice the little down-arrow next to the drive letter shown. Click the arrow to get a list of letters. Select the one you want to delete, then browse for your Shared folder and select it.

By this means, you will assign the drive letter to a real folder. Make sure the "reconnect at login" box is un-ticked.

Click the Finish button to get a warning. Answer "Yes" and the Shared folder will open. Close it.

Next, right-click the drive in My Computer and select disconnect. Ah, I hear you say, but it is still there! Reboot and it should now be gone.

Solution 4:

I had the same issue; one quick version that works (Windows 7 - 10 at least):

  • Open command prompt as admin
  • Type:

    net use /persistent:no
    
  • Hit Enter
  • Then open Task Manager (on details for Windows 8+) right click explorer and kill it, then go to file, run, and type explorer (hit Enter) to restart it.

Your dead network drives should vanish under My/This computer.

Solution 5:

You can restart Windows Explorer using Task Manager. Kill the explorer process, then go to menu FileNew Task (run) and type explorer. Disconnected drives should be gone! (tested on Windows 7).