How to delete the history of running, searching, etc., through batch processing.
This article mainly introduces how to delete the historical records of operation and search through batch processing, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let's take a look at it.
Batch code:
The code is as follows:
@ echo off
Delete the history of "run", "find", etc.
Reg add HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer / v ClearRecentDocsonExit / t REG_DWORD / d 00000001
Clear the input recorded in the run dialog box to modify the registry. These records are saved in "HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\"
Under the "RunMRU" branch, delete it completely and restart it. In addition, the "DocFindSpecMRU" item under the primary key, which shows the history of "find" in the right column, can be deleted as well.
How to clear the record of "my recent documents" in the XP system or not leave a record there?
Enter "gpedit.msc" to run the group policy in the run dialog box. Expand "user configuration"-"Administrative templates"-"Task Bar and start menu" and then double-click "do not keep records of recently opened documents" in the right window. Select "enable" and press "OK".
Modify the registry
HKLM\ Software\ Microsoft\ windows\ curent version\ policies\
Create a new DownWard key below it, and its value is set to 1. 0.
Just restart it.
Let xp add boot and run bat file automatically.
Autorunexec.bat is a bat file that is automatically loaded on boot and can be opened and edited with notepad. The bat file is in the root directory of disk C. you can replace the contents of your file.
Registry key:
HKEY_CURRENT_USER/Software/Midrosoft/Windows NT/CurrentVersion/WinLogon double-click the "ParseAutoexec" string value entry on the right (if not, create a new one), change its "numeric data" from the default "0" to "1", exit the registry, and let windows XP/2000/2003 run Autoexec.bat when it starts.
0 means not running, 1 means running
Thank you for reading this article carefully. I hope the article "how to delete the history of running and finding places through batch processing" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!