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

Windows 7. I rely on my Windows -> Run command box regularly throughout my work day. However, I occasionally mistype a command, and this command gets stuck in the auto-complete history. This is particularly annoying when the mistype makes the wrong command precede the correct version in the command history. At this point I end up always executing the wrong command once before realizing I have to play closer attention to what was being listed and manually locate the correct version.

I don't want to clear the whole thing, because then I would lose the history of the useful commands. I just need to get rid of the irritating ones that get in the way.

share|improve this question
up vote 4 down vote accepted

In Windows XP, this is stored in the registry under:


From there you can remove or edit the ones that you don't need. I don't have any computer with Vista/Windows7 so I can't confirm if this is the same key for Windows 7.

UPDATE: You will need to restart your computer for the changes to take effect, since they are stored in memory.

share|improve this answer
Yes, it is the same on Windows 7, and I assume Vista as well. – Sasha Chedygov Aug 26 '10 at 15:46
Thank you so much, that did the trick. Will give you the green check as soon as the accept-answer timeout is over. – Matt Aug 26 '10 at 15:51
Didn't have to reboot here - change was instant. – Matt Aug 26 '10 at 15:55

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.