Windows – Clear cached (not saved!) network passwords without reboot

networkingpasswordswindows 7

I have a accessed a network share and Windows 7 asked me for a password. I entered the password and did NOT check the "Remember my credentials" check box.

So the credentials cannot be found in the credential manager (control keymgr.dll).
And since they show not up there, I cannot delete them from there.

At first net use showed the connection but calling net use /delete removed it from there but still my password is saved.

net session shows nothing…

Also deleting IE history did not delete the password.

So my question is: What can I do (without rebooting the computer) to remove this cached password?

EDIT: Open File explorer > Tools > Disconnect network drive also does not show that connection…

Best Answer

The cached password is actually a cached Kerberos ticket with your domain controller. To remove the cached 'session' open an elevated command prompt and type in klist purge After you do this open Windows Explorer and browse to the share once more, you should be prompted for credentials. The problem with this may be that you will kill all sessions using a Kerberos ticket for authentication. So all shares will re-authenticate, which usually happens in the background anyway.

Related Question