Clear Mapped Network Drive Cache

Caching is mainly done to store data so that future requests for it can be served faster. But sometimes Cache may get corrupted or damaged. In such a case, it becomes necessary to clear the cache so that it doesn’t harm the resources of your system. Here’s how you can remove cached credentials in Windows 11/10. Caution – Making changes to the Registry Editor incorrectly can have serious consequences. You may be required to reinstall Windows. Create a restore point before making the changes.

1] Use Registry Hack

Open the Registry Editor. Navigate to the following path address –

Right-click the mapped drive that you want to remove and select the Delete button. Next, go to this path –

Right-click and delete network share that pinpoints to the mapped drive. Read: Unable to map a Network drive.

2] Use Command Prompt

The Net Use * /delete command upon running, deletes, or removes all the active connections on a local computer. It can also be used on remote computers. Open the command prompt window. Type the following and hit Enter: Here D represents the Drive letter. Wait for the successfully deleted message to appear. Note – This method doesn’t work for network location mappings such as FTP servers or web servers. Read: Mapped network drives not working.

3] Remove a network location mapping by deleting its shortcut

Launch the File Explorer. Choose This PC from the left pane. You’ll see the list of all mapped drives there. To clear the mapped network drive cache, right-click the drive under Network Locations heading and select Disconnect. Hope it helps!