Windows cannot access \\Shared Folder - How to remove the saved credentials of sharing?

2

2

My PC name is PC2 and there is a shared folder called PC1Shared on PC1 and I have a full permission to access that folder, However i am always having the following error message: Windows cannot access \PC1\PC1Shared

enter image description here

Any Advice?

Alaa

Posted 2014-06-27T09:46:18.773

Reputation: 191

Answers

6

This is how to delete the saved credentials of PC1 on PC2:

On PC2 in command prompt :

C:\>control keymgr.dll

The Credential Manager appears :

enter image description here

Move to Windows Credentials and remove the legacy login credentials.

Access the shared folder again and enter the permitted login credentials.

In windows server 2012, you might need to restart the Workstation service.

Alaa

Posted 2014-06-27T09:46:18.773

Reputation: 191

1Great answer, @Ala. Another method (not as elegant, but sometimes easier) is to map the drive and provide the new credentials. You don't need to keep it mapped - Windows should remember the credentials the next time you access it as a UNC path. – jimtut – 2014-06-27T16:43:49.713

Removing the saved credentials from Credential Manager did not cause File Explorer to ask me for new credentials. Restarting the Workstation service seems to be the only way to force File Explorer to "forget" the old credentials. Thanks for the tip! – Steven Liekens – 2016-02-06T17:28:53.853