Windows cannot access \\Shared Folder - How to remove the saved credentials of sharing?
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 :
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.
Related videos on Youtube
Alaa
Software team lead, Microsoft Certified Professional Developer, MSc. IT (Semantic Computer Vision). Key Skills: Project Management, Enterprise SaaS Development, Quality Assurance, Business Analysis, .NET development, Relational and Graph Databases, Content Management Systems, Knowledge Graphs, Artificial Intelligence, Computer Vision, Machine Learning, and Semantic technologies.
Updated on September 18, 2022Comments
-
Alaa over 1 year
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
Any Advice?
-
Por981c almost 10 yearsGreat 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.
-
Steven Liekens about 8 yearsRemoving 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!