Jump to content

Clearing Run History without machine restart


Recommended Posts

Does anyone know how to delete run history without restarting the machine

RegDelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU")

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU")

Does the job but it requires restart

Any ideas ?

Link to comment
Share on other sites

You could try killing explorer.exe and then restarting it, that should work.

Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.

Link to comment
Share on other sites

You could try killing explorer.exe and then restarting it, that should work.

Thank you for tip however this is too painful step.

I found out that when I press Start>Shutdown and then Cancel Run box gets cleared out.

Any thoughts how to implement these steps in the script so they are invisible ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...