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.

Ilya

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 | r3dux.org


gl
My System SpecsSystem Spec
Reply

 Windows 7 Pro clearing cached credentials to force re-authentication




Thread Tools



Similar help and support threads for2: Windows 7 Pro clearing cached credentials to force re-authentication
Thread Forum
Logitech Driving Force EX - Force Feedback Motor Query Hardware & Devices
how to force W7 to ask again the credentials with admin account? General Discussion
Clearing part downloaded windows updates Windows Updates & Activation
clearing the cache in windows media center Performance & Maintenance
Is Windows 7 x64 desktop background cached? General Discussion
Kerberos Authentication to UNIX from Windows 7 OS System Security
Windows 7 RC/RTM Builds Ė Clearing the Confusion News

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 09:25 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33