Windows 7 Pro clearing cached credentials to force re-authentication


  1. Posts : 2
    Windows 7 Pro x64
       #1

    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
    Last edited by ilyanth; 02 Feb 2012 at 12:08. Reason: formatting
      My Computer


  2. Posts : 2
    Windows 7 Pro x64
    Thread Starter
       #2

    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 Computer


  3. Posts : 12
    Windows 7
       #3

    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 Computer


  4. Posts : 1
    Win 7 x64
       #4

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 15:25.
Find Us