Policy
Clear history of recently opened documents on exit
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows2000, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
Clear history of recently opened documents on exit. If you enable this setting, the system deletes shortcuts to recently used document files when the user logs off. As a result, the Recent Items menu on the Start menu is always empty when the user logs on. In addition, recently and frequently used items in the Jump Lists off of programs in the Start Menu and Taskbar will be cleared when the user logs off. If you disable or do not configure this setting, the system retains document shortcuts, and when a user logs on, the Recent Items menu and the Jump Lists appear just as it did when the user logged off. Note: The system saves document shortcuts in the user profile in the System-drive\Users\User-name\Recent folder. Also, see the "Remove Recent Items menu from Start Menu" and "Do not keep history of recently opened documents" policies in this folder. The system only uses this setting when neither of these related settings are selected. This setting does not clear the list of recent files that Windows programs display at the bottom of the File menu. See the "Do not keep history of recently opened documents" setting. This policy setting also does not hide document shortcuts displayed in the Open dialog box. See the "Hide the dropdown list of recent files" setting. This policy also does not clear items that the user may have pinned to the Jump Lists, or Tasks that the application has provided for their menu. See the "Do not allow pinning items in Jump Lists" setting.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ClearRecentDocsOnExit | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserAdd "Run in Separate Memory Space" check box to Run dialog boxAt least Windows 2000
- UserAdd Logoff to the Start MenuWindows Server 2008, Windows Server 2003, Windows Vista, Windows XP, and Windows 2000
- UserAdd Search Internet link to Start MenuWindows Server 2008 R2 and Windows 7
- UserAdd the Run command to the Start MenuWindows Server 2008, Windows 7, and Windows Vista
- UserChange Start Menu power buttonWindows Server 2008 R2 and Windows 7
- UserClear the recent programs list for new usersWindows Server 2008, Windows 7, Windows Vista, and Windows 10
- UserClear tile notifications during log onAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure Start PinsAt least Windows 11 Version 24H2
- UserConfigure Start PinsAt least Windows 11 Version 24H2
- UserConfigure Taskbar Small Button BehaviorAt least Windows 11 Pro, Enterprise, or Education with Windows Sandbox
- ComputerConfigure Taskbar Small Button BehaviorAt least Windows 11 Pro, Enterprise, or Education with Windows Sandbox
- UserDisable context menus in the Start MenuAt least Windows Server 2016, Windows 10 Version 1803