Your Search Bar For Shrewd Tips

How Do I Clear Run History Windows 11?


The Run dialog is a quick way to open apps, folders, and system tools in Windows 11. Press Windows key + R, type a command, and press Enter. Windows also keeps a history of commands you have entered, which appears as suggestions when you use the dialog again. If you share your PC or simply want to remove old entries, you may be wondering how to clear Run history in Windows 11.

Windows 11 does not provide a clear-history button in the Run dialog. However, you can remove its saved entries using Registry Editor, or use a short PowerShell command. This guide explains both methods, how to protect your settings before making changes, and what to do if the history still appears afterward.

What Is Run History in Windows 11?

Run history is a list of commands and locations you have entered in the Run dialog. For example, if you type notepad, control, or a folder path, Windows may show that entry as a suggestion the next time you open Run. The feature can save time, but it may also reveal commands or locations to someone else using your account.

Windows stores this history in your user account’s registry. The entries are generally kept under the following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU

HKEY_CURRENT_USER means the change applies to the Windows account you are currently signed in to. It does not automatically clear Run history for other accounts on the same computer. Also, clearing Run history is different from clearing File Explorer history, browser history, or the recent files list.

Before You Clear Run History

The Registry Editor is a built-in Windows tool, but changing the wrong registry item can affect system settings. Take a moment to confirm that you are working in the correct location and that you have a backup before deleting anything.

  • Sign in to the Windows account whose Run history you want to clear.
  • Close the Run dialog if it is open.
  • Do not delete the entire Explorer key. You only need to remove values inside the specific RunMRU key.
  • Consider exporting the RunMRU key first so you can restore it if needed.

To make a backup, open Registry Editor, navigate to the RunMRU key, right-click RunMRU, and select Export. Save the resulting .reg file somewhere easy to find. Exporting the key is optional, but it is a sensible precaution before editing the registry.

Method 1: Clear Run History with Registry Editor

This method uses the Windows interface and works on standard Windows 11 editions. You do not need to install any additional software.

  1. Press Windows key + R to open the Run dialog.
  2. Type regedit and press Enter.
  3. If Windows displays a User Account Control prompt, select Yes.
  4. In Registry Editor, navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU. You can also paste that path into the address bar at the top of Registry Editor and press Enter.
  5. In the left-hand pane, select RunMRU.
  6. In the right-hand pane, find the saved entries. They are commonly named with single letters, such as a, b, or c. You may also see a value named MRUList, which records the order of the entries.
  7. Select the Run history values you want to remove. To clear all of the history, delete the letter-named entries and MRUList. Do not delete (Default).
  8. When prompted to confirm each deletion, select Yes. Close Registry Editor when you are done.

If you want to remove only one suggestion, delete the value that contains that specific command rather than deleting all the values. The letter associated with an entry is not necessarily the first letter of the command, so check the data shown in the right-hand pane before removing anything. If you are uncertain, export the key and clear all Run history instead of guessing.

After deleting the values, press Windows key + R again and check the dropdown. If an old suggestion remains visible, close the dialog and reopen it. In some cases, signing out and back in or restarting Windows Explorer can refresh the display. You do not normally need to restart the entire PC.

Method 2: Clear Run History with PowerShell

If you are comfortable using PowerShell, you can remove the values in the RunMRU key with a command. This approach also affects only the currently signed-in Windows account. Make sure the path is exactly as shown before running it.

  1. Right-click Start and choose Terminal or Windows PowerShell.
  2. Copy and paste the command below, then press Enter.
$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU'
if (Test-Path $path) {
    $key = Get-Item $path
    $key.GetValueNames() | Where-Object { $_ -ne '' } | ForEach-Object {
        Remove-ItemProperty -Path $path -Name $_
    }
}

The command checks that the RunMRU key exists, then removes its named values while leaving the unnamed default value alone. It does not delete the entire Explorer registry key. Close and reopen the Run dialog to check that the entries have been removed. If PowerShell reports an error, stop and verify that you copied the command and path correctly rather than trying broader registry commands.

Can You Clear Run History from Windows Settings?

Windows 11 does not currently include a dedicated control in Settings or in the Run dialog for clearing only Run history. Privacy-related options elsewhere in Settings may control other types of activity or suggestions, but they are not a substitute for removing the values stored in the RunMRU key.

For example, clearing File Explorer history may remove recent files and folder activity from File Explorer, but it does not necessarily remove commands from the Run dialog. Similarly, deleting browser history or clearing the Recycle Bin will not clear Run history. If your goal is specifically to remove the dropdown suggestions shown by Windows key + R, use one of the methods above.

What Happens After You Clear the History?

Removing the saved values clears the existing Run suggestions for your account. It does not disable the Run dialog or prevent Windows from saving new commands. As you use Run again, Windows may create new history entries and display them in the dropdown.

Clearing this history also does not uninstall apps, remove files, or undo commands you have already run. It only removes the saved list of entries. If you want to prevent other people from accessing your Windows activity, clearing Run history is just one small privacy step; use separate Windows accounts and protect your account with a password or other sign-in method.

Troubleshooting Run History That Will Not Clear

If the suggestions remain after you edit the registry, check these common causes:

  • The wrong account was edited: The registry path begins with HKEY_CURRENT_USER, so it refers to the account currently signed in. Repeat the process from the account whose Run history you want to clear.
  • The wrong registry location was changed: Confirm that you used the full path ending in Explorer\RunMRU. Other Explorer history keys store different information.
  • The Run dialog was still open: Close it completely and open it again. If necessary, sign out and sign back in.
  • New entries appeared: Windows can begin recording commands again as soon as you use Run. Test by opening the dialog without entering another command.
  • You are checking another history list: Recent files, File Explorer address-bar suggestions, and browser history are separate from Run history and need to be cleared separately.

If you exported the key before editing and need to restore the original entries, locate the saved .reg file and double-click it. Review the prompt before confirming the import. Only restore a file you created yourself or otherwise trust.

Conclusion

To clear Run history in Windows 11, remove the saved values from HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU using Registry Editor, or run the PowerShell command provided above. There is no dedicated clear-history button in the Run dialog, and Windows may start saving new entries after you use it again. Check the registry path carefully, leave the default value alone, and back up the key first if you want an easy way to restore your settings.


Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.

Shrewdnia

Shrewdnia

Shrewdnia is a destination for curious minds seeking clarity, knowledge, and informed perspectives. Through insightful articles and practical guides our passionate team explores a wide range of topics designed to help readers understand the world around them, make smarter decisions, and stay informed in an ever-changing landscape.


💡 Every question sparks discovery, and every perspective enriches the conversation. Share your thoughts and insights in the comments 👇

Back to blog

Leave a comment

JOIN THE SHREWDNIA COMMUNITY FORUM

What do you think?

Have an opinion, experience, or question about this topic? Join the Shrewdnia Forum and share your thoughts with other readers.

Join the Forum →