Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I need to access a remote computer through Windows Explorer I need to log in and that's fine.

Once I enter the log in credentials I can access all shared folders to the remote computer. The remote computer is in the same network.

The problem is that I do not know how to log out. I need to be able to disconnect from the remote computer. I need Windows Explorer to ask me for log in credentials again.

I tried to use net use command like:

net use \patrik-hp\IPC$ /delete where the remote computer is patrik-hp.

This works on Windows XP but doesn't work on Windows 7. Does anybody has an idea why? What I need to do to achieve this.

On Windows XP when you delete the connection through net use the windows explorer asks for the password when trying to access the remote computer.

On Windows 7 is different. Windows Explorer keeps the password. Windows credential manager does not show any stored passwords.

Stopping Workstation and/or Server windows services does not help. Stopping Workstation only temporary blocks the access to the remote computer but Windows Explorer starts it again and the connection is there again.

Please help.

share|improve this question
up vote 0 down vote accepted

Open a command prompt as administrator and run:

rundll32.exe keymgr.dll, KRShowKeyMgr

There you can edit and/or remove stored connection settings. You can even back them up before changing anything.

share|improve this answer
Just found (under "Related" to this question, nonetheless) a nicer user interface for the same function: enter control keymgr.dll in a command prompt ( from link ) – TvF Apr 8 '13 at 18:13

Your Answer


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.