If your Run command is not saving History in Windows 10, then this post will show you how to enable it and make Windows save Run command History, by tweaking the Registry.
Run command not saving History
Windows 10 has implemented a ton of privacy features which turned of some of the features which were previously enabled by default. Issues around audio not working, microphone in webcams turned off are few popular ones. The same has happened with the Run command history. Let’s figure out how to fix this:
Click on the Start button, and on the left of it look for a cog icon. This will open Windows 10 Settings.Then click on Privacy > GeneralTurn on the option which says ‘Let Windows Track app launches to improve Start and Search results.’
If this is greyed out for you, then you need to change one key in the Registry. Type Regedit in Run prompt, and navigate to the following key- Look for the Start_TrackProgs DWORD and then double-click to open and set the value to 1. If the DWORD is not there, right-click on an empty area on the left pane, select New > DWORD. Enter the name as Start_TrackProgs and set the value as 1. Click OK, and reboot your computer.
Now type few commands in the Run prompt, and use the arrow keys to see if they are saved in the list. I am sure this is going to solve your problem. Whenever you update anything in Windows Privacy settings, it has its effect at many places. So make sure you choose your options wisely as it may affect your day to day usage. PS: If Start Menu is not showing Recent app history, you can enable it from the Show Apps settings