How to clear run command history in windows 11

Last Updated: Jan 19, 2024 by

Windows 11 has brought a lot of new features and updates, but one thing that remains the same is the run command. The run command is a quick and easy way to access programs and files on your computer. However, it also keeps a history of all the commands you have entered, which can be a privacy concern for some users. In this article, we will discuss how to clear run command history in windows 11.

Why clear run command history?

The run command history can be useful for quickly accessing frequently used programs or files. However, it can also reveal sensitive information, such as file paths or commands that you may not want others to see. Additionally, if you share your computer with others, they may be able to see your run command history and access programs or files that you may not want them to.

Clearing run command history in windows 11

Clearing your run command history in windows 11 is a simple process. Follow these steps to clear your run command history:

  1. Open the run command by pressing the Windows key + R on your keyboard.
  2. Type “regedit” and press Enter to open the Registry Editor.
  3. In the Registry Editor, navigate to the following path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU
  4. On the right side, you will see a list of all the recent commands you have entered in the run command. Right-click on the command you want to delete and select “Delete.”
  5. Confirm the deletion by clicking “Yes” in the pop-up window.
  6. Repeat this process for all the commands you want to delete.
  7. Once you have deleted all the commands you want, close the Registry Editor.

Clearing command prompt history

In addition to the run command history, windows 11 also keeps a history of all the commands you have entered in the command prompt. To clear your command prompt history, follow these steps:

  1. Open the command prompt by pressing the Windows key + X and selecting “Command Prompt.”
  2. Type “cls” and press Enter to clear the screen.
  3. Right-click on the command prompt window and select “Properties.”
  4. In the Properties window, go to the “Options” tab and uncheck the box next to “QuickEdit Mode.”
  5. Click “OK” to save the changes.
  6. Now, you can use the arrow keys on your keyboard to select and delete individual commands from your command prompt history.

Using third-party software

If you want a more convenient way to clear your run command and command prompt history, you can use third-party software such as CCleaner. This software allows you to clear your run command and command prompt history with just a few clicks.

Conclusion

Clearing your run command and command prompt history in windows 11 is a simple process that can help protect your privacy. By following the steps outlined in this article, you can easily clear your history and keep your sensitive information safe. Have you tried any of these methods? Let us know in the comments.

Gulrukh Ch

About the Author: Gulrukh Ch

Gulrukh Chaudhary, an accomplished digital marketer and technology writer with a passion for exploring the frontiers of innovation. Armed with a Master's degree in Information Technology, Gulrukh seamlessly blends her technical prowess with her creative flair, resulting in captivating insights into the world of emerging technologies. Discover more about her on her LinkedIn profile.

Leave a Reply

Your email address will not be published. Required fields are marked *