Clear File Explorer and Run Dialog Box History in Windows 10  

Page 2 of 2 FirstFirst 12

  1. Posts : 1
    Windows 10 20h2
       #10

    Hey all, i have been a long time visitor here and thought it's a great time to make an account.
    i was wondering about the thorough steps like the cmd ones.
    could it be they need a different syntax in powershell?
    thanks for all the content :)
      My Computers


  2. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #11

    KennySkate said:
    Hey all, i have been a long time visitor here and thought it's a great time to make an account.
    i was wondering about the thorough steps like the cmd ones.
    could it be they need a different syntax in powershell?
    thanks for all the content :)
    Hello Kenny, and welcome to Ten Forums.

    You can use the commands below instead in PowerShell.

    Code:
    Remove-Item -Path "$env:APPDATA\Microsoft\Windows\Recent\*.lnk" -Recurse -Force
    
    Remove-Item -Path "$env:APPDATA\Microsoft\Windows\Recent\AutomaticDestinations\*" -Recurse -Force
    
    Remove-Item -Path "$env:APPDATA\Microsoft\Windows\Recent\CustomDestinations\*" -Recurse -Force
    
    REG Delete HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /VA /F
    
    REG Delete HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths /VA /F
      My Computers


  3. Posts : 4,303
    Windows 11 Pro 22H3
       #12

    Hi Shawn, I have forgot the setting that turns on the history for the run dialog. I promise to write it down this time.



    I found it:

    Clear File Explorer and Run Dialog Box History in Windows 10-image.png
      My Computers


  4. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #13

    Hemimax said:
    Hi Shawn, I have forgot the setting that turns on the history for the run dialog. I promise to write it down this time.

    I found it:

    Clear File Explorer and Run Dialog Box History in Windows 10-image.png


    Turn On or Off App Launch Tracking in Windows 10
      My Computers


  5. Posts : 4,303
    Windows 11 Pro 22H3
       #14

    Thank you!
      My Computers


  6. Posts : 745
    Windows 10/11
       #15

    @Brink Maybe add the following command to the script?

    rundll32 InetCpl.cpl,ClearMyTracksByProcess 1

    That clears the autosuggest file and URL references.

    Before:
    Clear File Explorer and Run Dialog Box History in Windows 10-1.png

    After:
    Clear File Explorer and Run Dialog Box History in Windows 10-2.png
      My Computer


  7. Posts : 68,881
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #16

    LesFerch said:
    @Brink Maybe add the following command to the script?

    rundll32 InetCpl.cpl,ClearMyTracksByProcess 1

    That clears the autosuggest file and URL references.

    Before:
    Clear File Explorer and Run Dialog Box History in Windows 10-1.png

    After:
    Clear File Explorer and Run Dialog Box History in Windows 10-2.png
    Thank you. Done.
      My Computers


 

Tutorial Categories

Clear File Explorer and Run Dialog Box History in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:33.
Find Us




Windows 10 Forums