Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall
First, let XP shut down automatically clean page file
When you use a computer, some Word documents or open Web pages will be loaded into memory, and in order to save memory space, Windows will put different files into the system's paging file, the paging file is like a temporary warehouse. Microsoft provides a way to automatically clean the paging file when Windows XP is turned off, which is turned off by default, and we'll explain how to enable this feature. Note, however, that when this feature is enabled, the shutdown time will become longer because the cleanup operation is performed. (Related article: XP network can not exchange the way of the solution)
Operation Steps
1. Click the Start menu, click Run, enter "Regedit" in the dialog box, and then click OK to run Registry Editor. If you are not familiar with the registry knowledge, you can first look at this.
2. Browse to "Hkey_local_machinesystemcurrentcontrolsetcontrolsession managermemory Management" and then in the list on the right, double-click " ClearPageFileAtShutdown ".
3. In the Edit DWORD Value dialog box that pops up, select the cardinality to 16 and change the value data on the left to 1, so that the paging file feature is automatically cleaned when the shutdown is turned on.
4. Restart the computer for the changes to take effect
Ii. Clear IE Temporary files
Windows or applications typically generate temporary files at run time, although some temporary files are automatically deleted when Windows or applications exit normally, but because of windows instability or because of imperfect program functionality, temporary files often become "slip through". In this way, over time, temporary files accumulate, not only occupy the user's valuable hard disk space, but also greatly affect the system's operational efficiency. Below, the author on how to effectively delete the temporary file gives two methods, hoping to give you some inspiration.
Method One: Open the Start menu, select search → files or folders, then, in the dialog box, in the name of the file or folder you want to search for, enter "*.tmp" (the suffix name of tmp temp file), select "Native Hard Drive" in the Drop-down list in the search scope column of the dialog box, and click Search options, check the advanced options and search subfolders under, and then click the Search Now button. When you are finished searching, switch to the search results page, press CTRL + A, or select the edit → all item of the toolbar menu to select all the files, press the Del key or select the "file → delete" item in the toolbar menu, You can delete all temporary files on the user's computer that have a. tmp suffix.
Method Two: In order to speed up the access speed, IE will be used to browse the Web pages and other content in the temporary Internet files folder. If we don't want people to peek at their secrets from here, you can use a shutdown script to get the system cleaned up before shutting down, and here's how to do it (take Windows XP for example).
Under the "C:windowssystem32grouppolicymachinescriptsshutdown" directory, create a new batch file Cleanup.bat, which can be written as needed. The command to clear the IE temporary file is "del/q/s" c:documents and settings< user name >local settingstemporary Internet Files "". where parameter/q indicates the use of quiet mode, that is, when the global wildcard is deleted, no acknowledgement is required, and the parameter/s represents the deletion of the file from all subdirectories.
Click Start to run, enter gpedit.msc in the Run Command box, and open the Group Policy window. In the console tree pane on the left, expand the Computer Configuration Windows Settings script (start/Shutdown) node in turn, double-click the shutdown item in the details pane on the right, and click the Add button in the pop-up Shutdown Properties dialog box. Add Cleanup.bat as a new computer shutdown script. When the settings are complete, quit the Group Policy window and restart the computer.
Method Three: Open "Start" menu, choose "Program →ms-dos Way", edit Autoexec.bat file with plain text editor (that is, Run command in DOS mode: "Edit Autoexec.exe"), in this automatically run batch file, Environment Variables TEMP and TMP Define where the temporary files are stored during Windows run, and the default location is the Windowstemp folder.
The original Autoexec.bat file is:
SET comspec=c:windowscommand.com
SET windir=c:windows
SET winbootdir=c:windows
SET path=c:windows; C:windowscommand
SET prompt= $p $g
SET temp=c:windowstemp
SET tmp=c:windowstemp
The edited Autoexec.bat file is:
SET comspec=c:windowscommand.com
SET windir=c:windows
SET winbootdir=c:windows
SET path=c:windows; C:windowscommand
SET prompt= $p $g
deltree/y x:temp (Delete temporary files folder, where x is the drive where the folder is located)
MD x:temp (Create temporary Files folder, X for your letter)
SET temp=d:temp
SET tmp=d:temp
Save file after editing. After the above settings, the user will automatically delete the temporary files each time the computer starts.
Third, clear IE address bar record
Previously cleared IE history is not thorough enough, when we enter the IE address bar with the same URL of the same string, will still show the relevant web site records. To clear these records, you must remove the key values under the registry [hkey current usersoftwaremicrosoftinternet explorertypedurls] branch.
Create a script file with Notepad, and the script reads as follows:
Dim WshShell
Set WshShell = WScript.CreateObject ("Wscript.Shell")
WshShell.RegWrite "Hkcusoftwaremicrosoftinternet explorertypedurls", "Wshshell.regdelete" Hkcusoftwaremicrosoftinternet Explorertypedurls "The above script has a total of four sentences: The first sentence defines a variable WshShell, the second sentence creates an object, and the third sentence writes to the registry, if the key is not present in the registry, An error message appears when executing the script. Enter the above content and save it as Cleanup.vbs. Note that the suffix name must be a VBS to ensure that the script executes correctly.
After the writing is complete, in the Group Policy window, expand the User Configuration Windows Settings script (Logon/Logoff) node, double-click the logout item in the right pane, click the Add button in the Logout Properties dialog box that pops up, and add Cleanup.vbs as a logoff script. In this way, the IE Address bar record is automatically cleared when the computer logs off or shuts down.
The previous method of using shutdown and logoff scripts to automatically clean the traces of the Internet, if you have other items to clean up, you can also refer to the above method. This is to remind the reader that the use of scripting to automate cleaning before, it is best to manually clean up the first time.
Iv. Clear IE history
The usual way to clear IE history is Internet options, general, purge history. However, we can also use shutdown scripts to automate cleanup. Add a command "del/q/s" c:documents and settings< user name >local settingshistory "" In the Cleanup.bat batch file that was established earlier.