I. Clean documents and Settings directory
"Documents and Settings" is a special directory in XP, which records some of the user's special file information. Let's see what you can delete.
C:documents and Settingsall usersapplication datamicrosoftuser account Picturesdefault Pictures
When you set up your account or use MSN, you will use the. These pictures are nothing special, you can delete them, or you can replace them with your favorite pictures.
C:documents and Settings user name my Documentsmy Music
Generally people in the hard drive to open a special place to store music, then delete it. One thing to note: If you frequently play WMA files, it is unavoidable to download some music playback licenses to your local hard drive, and the system defaults to placing these licenses in this directory, and if you see a "license Backup" directory in the directory, it is recommended that you copy it to another location and change the path in WMP's Tools/license management.
C:documents and Settings user name [start] Menu program attachment
This directory is a shortcut icon for some programs. There are very few features that are really used in the attachment, and only Notepad, Windows Explorer is commonly used. Copy the desired program shortcut icon to the c:documents and Settingsall users[Start menu program attachment, and then delete the directory.
C:documents and Settings User name favorites
Here's the shortcut icon, "msn.com" and "Radio station Guide", have you ever used it? Delete it.
C:documents and Settings user name Favoriteslinks
As above, if not, you can delete this directory. Here you will also modify the registry to permanently delete the linked folder. Locate the "Hkey_current_usersoftwaremicrosoftinternet Explorertoolbar" entry in the registry and remove the value from "Linksfoldername" on the right.
Purpose: To streamline the directory structure and program shortcut icons.
Second, the program file can also be deleted
"C:Program Files" are familiar, because when you install the program, its default installation path is here, below to see what content can be deleted.
C:Program Fileswindows Update
This directory is used for online upgrades and can be removed. This directory will be rebuilt automatically as soon as you log on to the upgrade site of Windows Update again.
C:Program fileswindows Media Playerskins
This is the WMP "skin", I believe that a lot of "skin" will not use, it is better to leave only a few commonly used, the rest of the deleted.
C:Program FilesCommon FilesMicrosoft Sharedstationery
This is the stationery pattern in Outlook, which is useful to keep and delete when you don't use it. If you don't use Outlook to send and receive messages, delete them all.
Purpose: To remove components that are not used in programs.
Third, Windows directory can also be cleaned
Do not be intimidated by the "c:windows", which also has a lot of things to delete. In this directory, ". Bak. Bmp. Old,. Files of type TMP can be deleted. Except SchedLgU.txt (it is used to schedule the task Program service), ". TXT "file can also be deleted. In addition, Clock.avi, Control.ini files can also be deleted, it does not cause any impact on the system.
c:windows$ntuninstall$
This is a directory automatically created by the system when you upgrade Windows online, which is useful for uninstalling installed system patches. If the patches are working properly, these directories are meaningless and can be safely deleted. You can uninstall these patches in "Add or Remove Programs", but the patches are not really deleted, just make the Add or Remove Programs window cleaner.
C:windowshelp
When you run Windows XP for the first time, the system always prompts to run "Roaming Windows XP", the Chinese version uses an HTML-formatted file with only files and no sound. In fact, the system also installed the English version of the roaming function, although it is English, but there are languages, there are music, there are beautiful animation. It is the "Tour.exe" in the "Tours/mmtour" directory. If it is not used, you can delete the entire directory of "Tours". Before this, you should delete the Tourstart.exe file in the Tourstrt.exe, TourW.exe, and C:windowssystem32 directories first in C:windowssystem32dllcache.
C:windowsinf (Hidden)
You'll see a lot of the same file names in this directory, files with different suffixes, respectively, ". inf" and ". PNF", ". PNF" are precompiled files for ". inf" files, and if there is no ". inf" file running, the appropriate ". PNF" file is automatically created. Therefore, all the ". PNF" files in this directory can be deleted.
(show) After you open "My Computer", click "Folder Options" in the "Tools" section of the project bar, click "View" in the dialog box, and select "Show All Files and folders" in hidden files and folders, click "Apply".
C:windowsmedia
This is the system with some mid and WAV sound effects, like to stay, do not like can also be deleted.
C:windowsweb
The "GIF" and "htm" files here can be deleted. To the "wallpaper" directory to see, the system with most of the desktop background is here, do not like to delete.
C:windowssystem32
There are a number of folders called "1033", which are mainly the error reports that appear on the system, most of which are empty folders that can be safely removed.
C:windowssystem32reinstallbackups
There are many subdirectories, which are the driver backups of the hardware in the computer. If you upgrade or replace a piece of hardware, and you are sure that the original driver will no longer be used, you can delete the appropriate directory.
Objective: To remove redundant backup files from the system directory.
"Remove redundant system files"
Remove "Drive Backup"
Driver.cab file in */windows/driver cache/i386 directory (73MB)
Remove "infrequently used Input Method"
*/windows IME Directory chtime Traditional Chinese imjp8_1 Japanese imkr6_1 Korean
Delete "Alternate DLL files"
*/windows/system32/dllcache file (200-300MB)
Running "Sfc.exe/purgecache" is also OK
Delete the Help file
Help files in the */windows/help/directory
Remove unwanted screen protection
Start/Search/, in the pop-up dialog box, select the click All files or Folders command, in the File name box, type ". SCR" (without quotes), and then, in the look in here Drop-down list, select the drive that stores the system files, click the Search button, and then delete the you want to delete. Reserved (default logon)
Turn off System Restore
Control Panel/performance and Maintenance/system/System Restore/Check off System Restore on all drives.
Cancel the remote
Control Panel/performance and maintenance/system/Remote/Cancel "Remote Assistance" front of the hook, cancel the "Remote Desktop" front of the hook.
Uninstall the Windows Messenger command
Start/Run, enter in the Run dialog box
RunDll32 advpack.dll,launchinfsection%WINDIR%INFMSMSGS.INF,BLC. Remove
This command will uninstall Windows Messenger
Uninstall the NetMeeting command
rundll32.exe setupapi,installhinfsection Netmtg.remove 132 Msnetmtg.inf
This command will uninstall NetMeeting
"Remove redundant system Registry"
Start/Run, enter "Regedit" in the dialog box, bring up the registry to do the following:
Clear the extra window color scheme
Hkey_current_usercontrol Panelappearanceschemes
Keep the Windows standard (default). (Windows 2000) (Windows XP)
Delete the history in the run item
Hkey_current_userssoftwaremicrosoftwindowscurrentversionexplorerrunmru
Delete Right, running in the notebook
Remove unwanted "mouse skins"
Hkey_local_machinesoftwaremicrosoftwindowscurrentversioncontrol Panelcursorsschemes
Keep Windows Default
Remove redundant "world time Zones"
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows Ntcurrentversiontime Zones
Keep "Time" to remove the rest of the timezone settings.
Clear redundant "country list"
Hkey_local_machinesoftwaremicrosoftwindowscurrentversiontelephonycountry List
Retain "86 China" to remove excess country code.
Remove unwanted Regional Settings
Hkey_local_machinesystemcurrentcontrolsetcontrolnlslocale
Retain the "English: 00000409/Chinese: 00000804" key value.
Remove redundant keyboard layouts
Hkey_local_machinesystemcurrentcontrolsetcontrolkeyboard Layoutdoskeybcodes
Retain the "English: 00000409/Chinese: 00000804" key value.
Hkey_local_machinesystemcurrentcontrolsetcontrolkeyboard Layouts
Keep.
00000409 (default) American English
00000804 Chinese (Simplified)-American keyboard
E0010804 Chinese (Simplified)-full spell
E0030804 Chinese (Simplified)-Zheng Code
E0040804 Chinese (Simplified)-Intelligent ABC
e00e0804 Chinese (Simplified)-Microsoft Pinyin Input Method version 3.0
(System self-belt)
"Remove redundant software customizations"
Delete a custom icon on the IE toolbar
Hkey_local_machinesoftwaremicrosoftinternet explorerextensions
Key value to find the custom icon on the IE toolbar delete on the line.
Remove the IE Toolbar's "FlashGet Bar"
Hkey_local_machinesoftwaremicrosoftintermet Explorertoolbar
Remove residues in Add/Remove Programs
Hkey_local_machinesoftwaremicrosoftwindowscurrentversionuninstall
Primary key and select it, under the key to find the application corresponding to the primary key, and then delete it.
To delete an extra DLL file
Hkey_local_machinesoftwaremicrosoftwindowscurrentversionshareddlls
A key value of 0x00000001 (1) indicates that it is not shared by any program and can be deleted.
Create a new Notepad and enter the following:
@echo off
ECHO is clearing the system garbage file, please wait ...
del/f/s/q%systemdrive%*.tmp
del/f/s/q%SYSTEMDRIVE%*._MP
del/f/s/q%systemdrive%*.log
del/f/s/q%systemdrive%*.gid
del/f/s/q%systemdrive%*.chk
del/f/s/q%systemdrive%*.old
del/f/s/q%systemdrive%recycled*.*
del/f/s/q%windir%*.bak
del/f/s/q%windir%prefetch*.*
RD/S/q%windir%temp & MD%windir%temp
del/f/q%userprofile% Cookie S*.*
del/f/q%userprofile%recent*.*
del/f/s/q "%userprofile%local settingstemporary Internet files*.*"
del/f/s/q "%userprofile%local settingstemp*.*"
del/f/s/q "%userprofile%recent*.*"
echo Clears system garbage complete!
Echo. & Pause
And then save the name "purge system garbage. bat" (without quotation marks) your purge system garbage cleaner just made it!