Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
    
Open File explorer > Tools > Disconnect network drive –  AndreaCi Mar 1 '13 at 10:43
    
Why exactly isn't rebooting the pc an option? –  Ramhound Mar 1 '13 at 13:27
    
@AndreaCI: The connection also does not appear in Open File explorer > Tools > Disconnect network drive! –  Rüdiger Stevens Mar 3 '13 at 8:09
    
@Ramhound: Since the computer is doing some long running tasks that I do not want to stop and restart only because Windows caches a stupid password. –  Rüdiger Stevens Mar 3 '13 at 8:11
1  
@Mxx: I can connect to the share without re-entering the credentials. And if I create a new file on that share and look at the user who created it, then it is the user I once logged in with. –  Rüdiger Stevens Mar 4 '13 at 7:22

2 Answers 2

Another method, that works also with XP (and some older version).

Open a command prompt (with Vista or newer must be elevated / as Administrator) do this command:

net use

you get the list of saved connections AND of open sessions

c:\>net use
New connections will be remembered.
Status       Local     Remote                    Network
-------------------------------------------------------------------------------
Unavailable  J:        \\server\storedname       Microsoft Windows Network
Disconnected           \\server\IPC$             Microsoft Windows Network
The command completed successfully.

The "\server\IPC$" name is the session of which the password is remembered! Now with the command

net use \\server\IPC$ /delete

you will delete the cached password without the need of a logout!

share|improve this 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.

share|improve this answer
1  
klist purge did the trick for me, thanks! –  tsauerwein Nov 6 '13 at 13:30
    
When I first met the problem I restarted the computer before I saw your answer...so I couldn't try it. But now I am again in the same situation Unfortunately klist purge isn't working for me :-( –  Rüdiger Stevens Aug 27 '14 at 6:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.