The typical situation is you’ve connected to a network share with a User ID and a password. Then for one reason or another, the password was changed.
As soon as you get asked to enter the User ID and password again, even after entering the latest password, you’re still getting an error message:
Open Folder \\server_name\c$ is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
The issue is after the password was recycled, the old password is still cached in your system, so we need to clear out the cache first.
You can check on what’s in the cache by opening a PowerShell or Command Prompt and type in the following:
C:\>net use
And you should see something similar to this:
C:\>net use New connections will be remembered. Status Local Remote Network ---------------------------------------------------------------------- OK G: \\Server1\Apps Microsoft Windows Network OK H: \\Server2\Customers Microsoft Windows Network Disconnected \\server_name\c$ Microsoft Windows Network The command completed successfully.
The network drive you’re looking for is the one that is disconnected and we need to delete it.
We can do so by typing the following command:
net use \\server_name\c$ /delete
And you will get confirmation that it was deleted successfully.
C:\>net use \\server_name\c$ /delete \\server_name\c$ was deleted successfully.
Once you see this, you can close the PowerShell or Command Prompt windows and try to reconnect to the network share drive again.
Further Reading
How do I remove login credentials for a network location in Win7?
How to delete cached temporarily credentials for a network share on a Windows machine without rebooting or logging off
Leave a Reply