Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Turn recent programs off via CMD or registry?

19 Apr 2012   #1
jivex5k

Windows 7 64 and 32 Embedded
 
 
Turn recent programs off via CMD or registry?

Recent Programs - Turn On or Off
I want to do this in a batch file. I've figured out the registry entry to change for disabling the documents, but not the programs.
I can't find this one anywhere, or any command to change it. Any help would be greatly appreciated.


My System SpecsSystem Spec
.
20 Apr 2012   #2
alishathomaz

Windows 7 Ultimate x64
 
 

These steps are mentioned in article that you have shown::

Right click on the Start button and click on Properties.
To Turn Recent Programs Off
Uncheck the Store and display recently opened programs in the Start menu box.
Click on OK.

OR

Open this::
Registry Home > Security > Start Menu and Taskbar > Documents and Folders

Open your registry and find the key below.

Create a new DWORD value, or modify the existing value called 'NoRecentDocsHistory' set the value to equal '1' to enable the restriction.

Exit your registry, you may need to restart for the changes to take effect.

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]
Value Name: NoRecentDocsHistory
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disable restriction, 1 = enable restriction)
My System SpecsSystem Spec
20 Apr 2012   #3
jivex5k

Windows 7 64 and 32 Embedded
 
 

Thank you but I've already done this registry change.
It only disables recent documents and not programs.
I tried using values of: NoRecentProgsHistory and NoRecentProgramsHistory but it does not work. (they were just guesses)
It seems strange that you can change the documents setting via registry but not the programs.
My System SpecsSystem Spec
.

20 Apr 2012   #4
Maguscreed

Microsoft Community Contributor Award Recipient

Windows 7 x64
 
 

you know I just use ccleaner, once it's installed you can just right click on your recycle bin and it will automatically wipe recent files for you while cleaning up temp internet and all that good stuff without the app even opening.
My System SpecsSystem Spec
20 Apr 2012   #5
jivex5k

Windows 7 64 and 32 Embedded
 
 

Quote   Quote: Originally Posted by Maguscreed View Post
you know I just use ccleaner, once it's installed you can just right click on your recycle bin and it will automatically wipe recent files for you while cleaning up temp internet and all that good stuff without the app even opening.
Yes that's not what I am trying to do.
I want to do this in a batch file, therefore I need to do it via a registry edit or a command line operation.
My System SpecsSystem Spec
20 Apr 2012   #6
Maguscreed

Microsoft Community Contributor Award Recipient

Windows 7 x64
 
 

hmm... well you've identified the key, and if I understand you properly you want to create a 'toggle'
Perhaps this is the info you need?
Batch files - IF statements
My System SpecsSystem Spec
20 Apr 2012   #7
jivex5k

Windows 7 64 and 32 Embedded
 
 

Quote   Quote: Originally Posted by Maguscreed View Post
hmm... well you've identified the key, and if I understand you properly you want to create a 'toggle'
Perhaps this is the info you need?
Batch files - IF statements
I appreciate the help but no I do not want to create a toggle. I have not identified the key, I simply guessed it would be NoRecentProgramsHistory but it does not work. NoRecentDocsHistory works great for disabling the recent documents in the start menu. I need to do it to the programs as well, but I've scoured the net and can't find a way to change it via Registry or Command Line.
My System SpecsSystem Spec
20 Apr 2012   #8
FliGi7

XP / Win7 x64 Pro
 
 

My System SpecsSystem Spec
20 Apr 2012   #9
seavixen32

Windows 7 Ultimate SP1 64-Bit
 
 

Quote   Quote: Originally Posted by FliGi7 View Post
That's the method I use and it works well.
My System SpecsSystem Spec
20 Apr 2012   #10
jivex5k

Windows 7 64 and 32 Embedded
 
 

Fantastic that's exactly what I was looking for! I didn't think of just changing the number of recent programs. Thanks so much guys =)
My System SpecsSystem Spec
Reply

 Turn recent programs off via CMD or registry?




Thread Tools




Similar help and support threads
Thread Forum
Recent Items - Turn On or Off
How to Turn Recent Items On or Off in Windows 7 Recent Items is a list of your recently used files on the right side of the Start Menu, Taskbar Windows Explorer icon link, in the Navigaton Pane Recent Places, and in Jump Lists. This will show you how to turn Recent Items on or off in...
Tutorials
Clearing Windows 7 Recent Places list (not Recent Items or Programs)
I have searched everywhere on the Internet, including Microsoft Support and Community, for a solution to this problem. I am looking for a way to clear the Recent Places list. I can clear Recent Items. In fact, almost all of the solutions for clearing Recent Places that a search turns up actually...
General Discussion
Start menu with All Programs first and Recent programs second
Every time (19 out of 20) I have to push Start\All Programs\ program... Can All Programs appear first and Recent Programs second? Can Recent programs menu be deleted to put All Programs first? eg Start\Program... I have searched everywhere for a solution. Can anyone help with this...
Customization
Recent Items; Can't get it to turn on.
http://www.sevenforums.com/tutorials/2013-recent-items-turn-off.html I've tried this above way, doesn't work. Still can't see my recent folders when I right-click the Windows Explorer's shortcut. Can someone help? Because this so important to me. Thanks in advance.
General Discussion
Some Programs won't go to Start Menu's Recent Programs List...
No matter how many times I launch Skype or iTunes, they just won't get added to the Start Menu's Recent Programs list. Any ideas why?
General Discussion
Recent Programs - Turn On or Off
How to Turn Recent Programs On or Off in Windows 7 Recent Programs saves and displays file names, programs, and locations you type in the Run dialog box and a list of your recently opened programs on the left white side of the Start Menu below the Pinned Programs line. This tutorial will...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App