Turn recent programs off via CMD or registry?

Page 1 of 2 12 LastLast

  1. Posts : 28
    Windows 7 64 and 32 Embedded
       #1

    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 Computer


  2. Posts : 130
    Windows 7 Ultimate x64
       #2

    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 Computer


  3. Posts : 28
    Windows 7 64 and 32 Embedded
    Thread Starter
       #3

    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 Computer


  4. Posts : 6,668
    Windows 7 x64
       #4

    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 Computer


  5. Posts : 28
    Windows 7 64 and 32 Embedded
    Thread Starter
       #5

    Maguscreed said:
    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 Computer


  6. Posts : 6,668
    Windows 7 x64
       #6

    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 Computer


  7. Posts : 28
    Windows 7 64 and 32 Embedded
    Thread Starter
       #7

    Maguscreed said:
    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 Computer


  8. Posts : 1,814
    XP / Win7 x64 Pro
       #8
      My Computer


  9. Posts : 7,730
    Windows 7 Ultimate SP1 64-Bit
       #9

    FliGi7 said:
    That's the method I use and it works well. :)
      My Computer


  10. Posts : 28
    Windows 7 64 and 32 Embedded
    Thread Starter
       #10

    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 12:53.
Find Us