Link to home
Start Free TrialLog in
Avatar of alfreditsdept
alfreditsdept

asked on

How do I script a reset of the Start Menu MRU Recent Programs list?

I am making a custom Windows 7 image for my organization and am fine-tuning things.  The part I'm stuck on is after I finish running sysprep, Windows has the default program suite loaded into the Start Menu (under the pinned apps).  I would prefer to have this section blank (as I have it in the Admin profile prior to sysprep) and ready for a fresh user.

It's easy enough to reset them manually via the GUI in the Start Menu properties, but I am looking for a scriptable solution that I can run as an automated post sysprep tool.

This was a lot easier in XP, since I just had to delete files from a particular folder, but that doesn't seem to be the case any longer.  I can't find the contents of the Start Menu MRU stuff anywhere.  Hidden system folders, user AppData folders, registry settings... nothing.  I even ran Process Explorer to scan things while I manually removed a program by right clicking it and selecting "Remove from this list".  It came back with an ungodly amount of registry queries in unique oddball strings.

Any help would be appreciated.  Configuring the Default Profile in Windows 7 has proven to be a nightmare and a half in terms of really digging in and fine-tuning it without allowing sysprep to reset certain things like the Taskbar, etc.  It's nice they have the feature of Start Menu and Taskbar links in AIK, but that doesn't seem to address the things you DON'T want there.
Avatar of alfreditsdept
alfreditsdept

ASKER

I think I've figured it out, but I need to wait until I get back in to work tomorrow.  I found a Group Policy setting that may do what I need.

User Configuration > Administrative Templates > Start Menu and Taskbar > "Clear the recent programs list for new users"

Sounds like a hot ticket - will post the results when I test it.
Yeah it will do the job for clearing recent program list :)
Did you get this to work?  I am using 2008 terminal servers and the recent programs list is always populated for new users.
Full refund to the author
ASKER CERTIFIED SOLUTION
Avatar of ee_auto
ee_auto

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial