Clear the "Store and display recently opened programs in the Start Menu"


I am setting up a Windows 7 deployment image and I've noticed that the first time a user signs into Windows 7 the start menu is clogged up with a list of software the was "recently opened", even though this is a brand new user profile.  I know that you can clear this list by right-clicking on the start button, removing the check mark beside "Store and display recently opened programs in the Start Menu", and then clicking Ok.  Then all you need to do is go back and put the check mark back to enable the feature again.

What I need to know is can you clear this list programmatically through a runonce login script?

dillonconsultingAsked:
Who is Participating?
 
johnb6767Connect With a Mentor Commented:
K, this one I forgot about.. Cleared all my Jump Lists....

C:\Users\John\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations

After clearing out the UserAssist subkey, the Start Menu was still populated, until I killed and restarted Explorer.exe....
 
0
 
johnb6767Commented:
Underneath this registry key.....

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist

There are two GUIDs. Underneath there, the "Count" subkeys contain the recent information in ROT-13 format. I dont know if these GUIDs will be the same across the environment, or if they are unique....But the values under "Count" would need to be deleted....

ALSO....

%userprofile%\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations

Delete the contents of THAT folder as well.

Doing BOTH should empty the Start Menu recent listing..... Probably the Recent Docs as well....
0
 
dillonconsultingAuthor Commented:

johnb6767:  I tried both locations, deleting the key values under that reg key and deleting the CustomDestinations files under the Recent folder as you suggested and none of them had any affect on the recently opened start menu items.

Any other thoughts?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
johnb6767Commented:
Ill confirm again when in front of another win7 pc, but I had good results...

What did you delete I the registry, the values under the Count subkey?

And the entire folder contents, or just 1 for a specific app?
0
 
dillonconsultingAuthor Commented:

johnb6767:  Sorry about the delayed response.  I deleted everything that you mentioned.  I logged into Windows, creating a new profile, and before I did anything else I went to those locations and deleted everything you suggested from both locations, restarted, and checked the start menu and nothing happened.  Everything was still there, unaffected by those changes.

0
 
dillonconsultingAuthor Commented:
need to close
0
 
johnb6767Commented:
I hope this actually solved the problem, and you are not just closing to close it.....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.