The Windows Run dialog is a quick way to open apps, folders, settings, and system tools. When you press Windows + R, Windows may show commands you entered before. That list can be useful, but you might want to clear it for privacy, troubleshooting, or a tidier dropdown. The Run command history is stored separately for each Windows user, so clearing it for your account does not automatically clear it for other accounts on the same PC.
This guide explains how to clear Run command history in Windows 11, Windows 10, and many earlier versions. It covers the safest built-in approach, how to remove just one entry, what to do if history returns, and what clearing the list does—and does not—remove.
What Is Run Command History?
Run command history is the list of commands that appears when you open the Run dialog and click its input box or dropdown arrow. For example, Windows might remember entries such as cmd, notepad, or a folder path you entered. The list makes it faster to reuse commands, but it can also reveal what you have recently opened to someone using your account.
Windows stores this list in the current user’s registry under a key called RunMRU. “MRU” means “most recently used.” The key contains the remembered entries and information about their order. Clearing Run history removes these entries from the Run dialog; it does not uninstall programs or change Windows settings.
How to Clear All Run Command History
The most dependable way to clear the Run dialog history is to remove its saved entries in Registry Editor. Registry Editor is a Windows system tool, so take care to follow the path exactly. You do not need to delete the entire Explorer registry key—only the values in the specific RunMRU key.
- Press
Windows + Rto open the Run dialog. - Type
regedit, then pressEnter. Select Yes if User Account Control asks for permission. - In Registry Editor’s address bar, paste this path and press
Enter:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU. - Before making changes, you can back up the key. Right-click
RunMRU, choose Export, select a location, and save the file. - In the right-hand pane, delete the history entries, which are usually named with letters such as
a,b, orc. You can also delete theMRUListvalue, which records the order of the entries. - Leave the
(Default)value alone. Do not delete theExplorerkey or other neighboring registry keys. - Close Registry Editor, then sign out and back in or restart Windows Explorer. Press
Windows + Rto check that the dropdown is clear.
To restart Windows Explorer without restarting the computer, press Ctrl + Shift + Esc to open Task Manager. Find Windows Explorer in the process list, right-click it, and select Restart. If that option is unavailable or the history still appears, signing out and back in is a simple alternative.
On a typical Windows installation, the RunMRU key is present even if you have not used the Run dialog much. If you cannot find it, check that you are signed in to the Windows account whose history you want to clear, and confirm that you entered the path correctly.
How to Remove One Run Command Instead
You do not have to clear the entire list if you only want to remove one command. Open the RunMRU key using the steps above. In the right-hand pane, the letter-named values contain the saved commands. Double-click a value to view its data and identify the entry you want to remove.
Once you have identified it, right-click that letter-named value and choose Delete. The MRUList value contains the letters that identify the entries, in their recent-use order. For a tidy result, edit MRUList and remove the deleted entry’s letter from its data as well. For example, if you deleted value b, remove the letter b from the list. Take care not to remove the wrong value, and export the key first if you are unsure.
If you prefer not to edit the registry, clearing all Run history is usually simpler than removing a single entry. There is no consistently available Run dialog button for deleting just one saved command across Windows versions.
Can You Clear Run History Without Registry Editor?
Windows does not provide a dedicated, universal “Clear Run history” button in the Run dialog. Some Windows privacy controls clear other kinds of recent activity, but they may not remove the entries shown by Windows + R. If you try a privacy setting and the Run dropdown remains unchanged, use the RunMRU method instead.
Some third-party PC-cleaning tools offer to remove Windows history. Use them cautiously: check what the tool will delete, choose only the relevant option, and download software from a source you trust. Avoid tools that promise to erase every trace of a command, since Run history is only one possible record of activity.
What Clearing Run History Does Not Delete
Clearing the RunMRU list removes the remembered commands from the Run dialog for the selected user. It does not necessarily erase other records associated with those commands. Depending on Windows configuration and the app or feature involved, related information may remain in other locations.
- It does not delete files, folders, apps, or settings that a command opened.
- It does not clear browser history, File Explorer address-bar history, or the Start menu’s recent items.
- It does not remove command history saved by Command Prompt, PowerShell, or another terminal.
- It does not guarantee removal of system logs, security records, backups, or activity tracked by workplace management software.
- It does not clear Run history for other Windows user accounts.
For example, deleting cmd from Run history does not erase commands entered inside Command Prompt. Similarly, removing a path from the Run dropdown does not delete the folder at that path. If your goal is to remove a particular file or clear another app’s history, handle that separately.
Why Run Command History May Come Back
If the dropdown repopulates after you clear it, Windows or another user of the same account may have added new entries. Launching a command through Run can save it again. Check the list after a fresh sign-in and note whether the entries are new or whether the old values were not removed.
On a work or school computer, an administrator may manage Windows settings or user profiles. Policies, shared profiles, or account-sync and restore processes can affect what settings are available or retained. If you do not have permission to edit the registry, or the entries return on a managed device, contact your IT administrator rather than trying to bypass device controls.
Also make sure you are checking the same Windows account whose registry you edited. The HKEY_CURRENT_USER path applies to the account currently signed in. Changes made there will not clear another person’s Run history.
How to Restore the RunMRU Backup
If you exported the key before editing and want to undo the change, locate the saved .reg file and double-click it. Confirm the prompts to add its information back to the registry. You can also open Registry Editor, choose File > Import, and select the backup file. Only import a backup you created yourself or otherwise trust.
Restoring the backup may bring back the old Run command history. If your goal was simply to recover from an accidental registry change, that is expected. If you want the history to stay cleared, do not import the old key.
Frequently Asked Questions
Does clearing Run history speed up Windows? Usually, no. The list is small and clearing it is mainly a privacy or organization choice, not a performance fix.
Will clearing Run history affect my programs? No. Removing the saved entries does not uninstall programs or prevent you from opening them. You can still type a command into Run whenever you need it.
Can I clear Run history for every user at once? The steps above clear the history for the account currently signed in. Each Windows user has a separate user registry area, so other accounts need to be handled separately, subject to your permissions.
Is it safe to delete the whole RunMRU key? It is safer to leave the key in place and delete only its history values. Windows can recreate needed data, but deleting only the entries reduces the chance of changing something unrelated.
Conclusion
To clear Run command history in Windows, open Registry Editor and remove the saved values inside HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU. Leave the (Default) value and surrounding registry keys untouched, then sign out and back in or restart Windows Explorer. Exporting the key first gives you a way to restore it if needed.
Remember that this clears only the Run dialog’s saved-command list for your current account. It does not erase command histories in other apps or every possible record of activity. For most people who want a clean Run dropdown, however, removing the RunMRU entries is a straightforward solution.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.