up vote 2 down vote favorite
share [g+] share [fb]

I have a Windows 7 Pro machine that won't maintain a record of all the commands I enter via Start -> Run. I have UAC disabled, but there is still some setting that's wiping out that list right after I enter a command. How can I tell the OS to preserve the command history?

link|improve this question
This sort of question would be better suited to superuser.com – Sam Feb 22 '10 at 10:43
feedback

migrated from serverfault.com Feb 22 '10 at 15:06

This question came from our site for system administrators and desktop support professionals.

2 Answers

up vote 1 down vote accepted

I had the same problem and was able to get the recent items in the Run command to be kept by double-clicking the Start Menu, Properties, Start Menu tab and checking "Store and display recently opened programs in the Start menu".

link|improve this answer
That worked. I had that option unchecked. – Chris Tybur Nov 4 '10 at 14:44
feedback

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced Start_JumpListItems

This is the recent opened programs list, check to make sure this number is set to something more then say 0, it can be set as high as 60.

This also sets the recent programs list in the start menu.

Also make sure you are not nuking it via group policy. (gpedit.msc)

link|improve this answer
I didn't have that value in my registry so I added it. It does control the number of items in the Start menu, but doesn't seem to affect saving the command line history. There isn't any special group policy being applied, but maybe there's one that by default is clearing the Run history. Any idea what that policy might be called? – Chris Tybur Feb 23 '10 at 1:45
feedback

Your Answer

 
or
required, but never shown

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