I know that you can clear the Charm History by going:
Change PC Settings, Search and Apps, Clear Search history.
Is there anyway this can be done via command line? I would like to script it in a batch file.
Technology Tips and News
I know that you can clear the Charm History by going:
Change PC Settings, Search and Apps, Clear Search history.
Is there anyway this can be done via command line? I would like to script it in a batch file.
"Clear" would delete the type history in Run and Bing APP search results.
I was wondering about a Powershell solution for this requirement and noticed Clear-History. "Deletes entries from the command history"
Doesn't mention what "command history"? Sounds perfect. <eg>
Hi,
Based on my test, this feature "Clear" would delete the type history in Run and Bing APP search results. These history stored at Registry, such as
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU
While there are many other items, such as Bing APP histroy, store at other key. It is complicated.
To know more details, you can use RegShot to capture registry changing after run Clear.
Clear-History affects only the command history for the PowerShell session:
The Clear-History cmdlet deletes commands from the command history, that is, the list of commands entered during the current session.
Clear-History on TechNet here.
Brandon
Windows Outreach Team- IT Pro
The Springboard Series on TechNet
From another post...
I had the same issue. Turns out the history file is stored here:
C:\Users\<USERNAME>\AppData\Local\Microsoft\Windows\ConnectedSearch\History
So if you've already sysprepped, clear that on the new user's profile.
If you haven't sysprepped yet, clear that before sysprepping.