The following is found online.
Second, the system to lose weight (optional)
In order to reduce the time required for Ghost to restore mirror backup files, or install as much software as possible on a CD, it is necessary to make Ghost backup files small enough, so we need to carry out a series of weight loss work on the system. Of course, if you don't mind the size of Ghost backup files, there is no need to lose weight on the system.
1, turn off system restore.
Open the control panel and double-click the system. Select System Restore in the system property panel, check Turn off System Restore on all drives, and then click OK.
The system restore function of WindowsXP takes up a lot of disk space and must be turned off to reduce the system size. After turning off System Restore, the contents of the system volume information directory in the root directory of the system partition will be emptied immediately, so you can also turn on this function after turning off System Restore.
2. Turn off system hibernation
Open the control panel, double-click Power Options, select Hibernation, uncheck the check box before Enable Hibernation, and then click OK. At this time, the page file hiberfil.sys in the root directory of disk C of the system partition will be automatically deleted.
The hibernation function of WindowsXP, like system restore, takes up a lot of disk space, and the hibernation function takes up the size of system partition and the space of physical memory.
3. Transfer the virtual memory page file
Open the control panel, double-click "System", select "Advanced" in the system property panel, then click "Settings" in the performance box, select "Advanced" in the virtual memory box, select the current system partition C, then select "Custom Size", set the initial size and maximum value to "0", and then select the partition where the page file needs to be stored (such as D: etc.
The virtual memory page file Pagefile.sys is generally located in the root directory of the system partition, and the default setting size is 65438+ 0.5 times of physical memory. It is a stubborn hidden file that is difficult to delete, so it is best to transfer it to other partitions outside the system partition to reduce the volume of the system partition.
If you clone the system with Ghost version above 8.0, you can actually omit this item, because Ghost version above 8.0 can automatically delete the virtual memory page file pagefile.sys when making mirror files.
4, clean up the disk, delete the system and IE temporary files.
Run Disk Cleaner to delete temporary system files. ※
Start-Programs-Accessories-System Tools-Disk Cleanup-Select Drive-OK-Disk Cleanup-Select Delete File-OK.
Delete IE temporary files and history. ※
Open IE- Tools-Internet Options-General-Delete Cookies(I)- OK-Delete Files (f)- OK-Delete History (h)- OK-OK.
Delete recently used document records. ※
Start-Settings-Taskbar and [Start] Menu (t)-[ Start] Menu-[Start] Menu (s)- Customize (c)- Advanced-Clear List (c)- OK.
5. Use DllCacheManager to back up DllCache directory files (dll files).
This step must be performed after the system is packaged.
Using DllCacheManager_V 1.0 (Dragon Empire Special Edition) to back up DllCache directory files can reduce disk space by about 300M.
To slim down, delete the following directories or files (delete directories without *): Optional.
c:/windows/? $ * (in? All directories starting with $ sign are patched in reverse, about 70M)
C:/windows/*。 Log (not big, but too many, which makes me unhappy. )
C:/windows/PC Health Help Support Center, 30M
(Before deleting, please copy helpctr/binaries/msconfig.exe to the system32 directory. )
C:/windows/ime/chtime traditional input (unnecessary, many input methods support traditional input) 12M.
C:/windows/ime/imejp Japanese input 12M.
C:/windows/ime/imejp98 Japanese input 12M.
C:/windows/ime/imjp8_ 1 Japanese input 12M.
C:/windows/ime/imkj6_ 1 Korean input 12M.
C:/windows/system32/ime/cintlgnt Cang Xie code 3M.
C:/Windows/System32/IME/Tintlgnt Pinyin Input 3M.
C:/Windows/help, except for digital files such as Help/Tours/Mtour/Tour. Exe and agt0*. Hlp, several file names are all capitalized, and all others are deleted. Help file, 30M
C:/windows/temp/* usually nothing.
c:/windows/prefetch/*
C:/Windows/Installer/*。 MSI some LJ (long directory cannot be deleted! )
C:/Windows/Downloadedinstallations/* There are some LJ left after the MSI program is installed.
C:/windows/resources/themes/* (It is recommended to keep Classic as the classic theme and Luna. The theme is XP theme 8M, and the ones you don't like are deleted).
C:/Windows/srchast, except mui directory, C:/Windows/msgent, except intl directory, everything will be deleted.
C:/Windows/Software Distribution/Download/* (temporary storage point for downloading patches) is about 60M.
C:/windows/system32/oobe activation program (we all use activation-free XP, which is unnecessary) 8M.
C:/Windows/Web/wallpaper/* wallpaper, just leave a nice bliss.bmp, or delete it all. 2M
C:/programfiles/windowsnt/pinball, deleted. Remember to delete the connection 5M from the start menu.
C:/ Program files/audio-visual production are all deleted. 10M, LJ. Remember to delete the connection from the start menu.
C:/ program file /messenger
C:/program files/msn gaming zone Microsoft game, LJ
C:/program files/InstallShield installation information/* left by LJ installer.
C:/programfiles/windowsupdate/* LJ left by XP upgrade.
2. Turn off ZIP document support and run "REGSVR 32/U zipfldr.dll" (saving system resources).
3, visual effect adjustment. Adjust to the best performance, and then select Smooth screen font edges, Show window contents when dragging, Use visual styles on windows and buttons, and Use shadows for icon labels on the desktop in customization.
4. Turn off memory dump and disable error reporting; Run "drwtsn32" to keep the Visual Notification and cancel all other operations.
5. Run "inf/sysoc.inf", edit → replace → find the content "hidden" → replace all → save, and uninstall unnecessary windows components.
6. Delete "?" Under C:/Windows. $ $ NtUninstallQ * * * * * * * * ServicePackFiles "folder and log files starting with KB8 and q.
7.C:/Windows/help, except for digital files such as Help/Tours/mmTour/tour.exe and agt0*. Hlp, several file names are all capitalized, and all others are deleted.
8.C:/Windows/srchast, except mui directory, C:/Windows/msgent, except intl directory, everything will be deleted.
9. Accelerate access to online neighbors, open the registry, and find HKEY _ Local _ Machine/Software/Microsoft /Windows/ Current Version/Explore Open the Computer/Namespace. Delete {2227A280-3AEA-1069-A2DE-08002B30309D} (printer) and {D6277990-4C6A-1CF-8D87-00060F5.
10, running services prohibited by "services.msc"; Search *. Tmp files and delete them all; Use windows Optimizer to clean the system; Run disk defragmentation after reboot.