Solved

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

Posted on 2011-09-19
8
1,372 Views
Last Modified: 2012-05-12

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?

0
Comment
Question by:dillonconsulting
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 66

Expert Comment

by:johnb6767
ID: 36562096
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
 

Author Comment

by:dillonconsulting
ID: 36562507

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
 
LVL 66

Expert Comment

by:johnb6767
ID: 36562937
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:dillonconsulting
ID: 36904696

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
 
LVL 66

Accepted Solution

by:
johnb6767 earned 200 total points
ID: 36907725
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
 

Author Closing Comment

by:dillonconsulting
ID: 37034100
need to close
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 37034208
I hope this actually solved the problem, and you are not just closing to close it.....
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question