Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows 7 Pro clearing cached credentials to force re-authentication

02 Feb 2012   #1

Windows 7 Pro x64
Windows 7 Pro clearing cached credentials to force re-authentication

The situation:
Using windows explorer to access a shared network resource, for example, \\blah\folder\folder2 - the first time I try this on a new installation, it requires authentication (user/pass) which I provide (this is on a workgroup, not a domain). That's fine.
The goal:
I want a way to force Windows 7 Pro to forget the authentication and ask for a new authentication next time an access is attempted for that share.
Here's what I have tried, and what has not worked:
Windows Explorer -> Tools -> Disconnect Network Drive (it doesn't work because there is no mapped network drive to disconnect; next connection attempt does not ask for authentication)
From command prompt (run As administrator): rundll32.exe keymgr.dll, KRShowKeyMgr -- Then select any network share to clear credentials for, then click delete button. (no network shares listed; next connection attempt does not ask for authentication)

From command prompt (run As administrator): net use * /delete /yes
(nothing happens; next connection attempt does not ask for authentication)
From command prompt (run As administrator): control userpasswords2
Go to advanced tab, click on manage passwords. This brings up the credential manager (can also get to credential manager directly from control panel). Find credentials to delete (windows, certificate-based, or generic) - there are currently none listed, though there had been earlier, and all were deleted. No change; next connection attempt does not ask for authentication.
From command prompt (run As administrator): secpol.msc
Go to security settings -> local policies -> security options -> Network access: Do not allow storage of passwords and credentials for network authentication.
Enable it. Exit and reboot. No change; next connection attempt does not ask for authentication.
I have tried all of these with or without rebooting immediately after. No luck.
I'm open to suggestion.


My System SpecsSystem Spec
13 Feb 2012   #2

Windows 7 Pro x64

If I knew how to delete this thread, I would! But I don't. Obviously nobody has the answer and I'm not going to be watching any more. Cheers,
My System SpecsSystem Spec
07 Aug 2013   #3

Windows 7

Under Windows 8 this is still pertinent. I tried the above steps too. It's rediculous I think that none of them work and Windows still does not forget its authentication. SMB/CIFS is either overly complicated or we are missing some steps.

Does anyone know how to reset Windows shares to a state where it completely forgets any connections it has previously made? If possible, without a reboot please. That ought to be not too much to ask, I think?
My System SpecsSystem Spec

06 Jan 2014   #4

Win 7 x64

Only posting because this thread comes up at the top of a google search.

Closest thing I found was this: How To: Force Windows to Forget a Network Share Password |

My System SpecsSystem Spec

 Windows 7 Pro clearing cached credentials to force re-authentication

Thread Tools

Similar help and support threads
Thread Forum
Slow login to desktop using cached credentials off domain
Running Windows 7 64 bit with SSHD. When logging into the laptop with cached credentials and not on the domain, log in times are around 2-4 mintues. We are not using roaming profiles. I've made several changes to the group policies and nothing has fixed the login time. Ran Xperf and the majority of...
Performance & Maintenance
Memory all cached on with my windows 7 machine.
Hi guys! I am pretty new to this forum and i have a problem, when my pc has been on for a few days all my ram is being used. Isnt the ram supposed to "free itself" after i exit an application? My specs are as follows : Motherboard - Asus p6t Memory - Corsair XMS3 Vengeance 12GB DDR3...
Performance & Maintenance
Logitech Driving Force EX - Force Feedback Motor Query
So... Before anyone tells me to send it to Logitech for repairs, I should mention that there are none that I know of in my area, and I'm not willing to pay R300 (ZAR) postage to send a big box 600km away to get my wheel 'checked'. Other than that, it's already nearly 3 years old and way out of...
Hardware & Devices
how to force W7 to ask again the credentials with admin account?
Hi, I have installed core temp to check the temperature of my CPU. The probleme is it only works with the admin account, not with a user account and usually, I don't use my admin account to go on the internet, only use the user account ,like that I have to enter my credentiasl if any apps needs...
General Discussion
Is Windows 7 x64 desktop background cached?
My issue is that despite I changed desktop background image to a custom one fitting my screen resolution of 1920 x 1080 pixels (in C:\Windows\Web\Wallpaper folder) this new image is actually loaded somewhat after system startup. I can see the old background image being already loaded when the...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:42.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App