I want to write a script which cleans the 'run' dialogue automatically every log off. Where is the history stored?
Hi, why reinvent the wheet? :) Check this out http://lifehacker.com/5058724/mru+blaster-clears-out-recently-used-lists-all-over-your-computer
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU
From:
How to Remove Individual Entries from Run Command History
Where is the Run MRU (Most Recently Used) List?
The RUNMRU list is stored in the Windows Registry in the following location:
HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ RunMRU\
Is There a Program to Delete Individual Entries from the RUNMRU List?
Many of my customers would rather not edit the Windows registry to remove these individual entries, so I setup a VBScript that you can download and run to delete individual commands from this list. Follow these instructions to download and use this program to clear unwanted entries from the Run Command history.
1) Click on the following link and download the EditRunMRUList.vbs script to your desktop
Download EditRunMRUList.vbs