[Script Of Nov. 24] How to clear the Run box history in Windows
The script is available for download from https://gallery.technet.microsoft.com//How-to-clear-the-Run-box-9c9a2dbf. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script sample shows how to clear the Run box history in Windows.
When we run a application through Win + R, there will be a record in Run box. However if there are too many records, it will be a little terrible. This script is to delete some or all of the records in Run box.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery