Make the system disk "slim"-Make your system more fresh, concise, and efficient!

Source: Internet
Author: User

Make the system disk "slim"-Make your system more fresh, concise, and efficient!

Part 1:

After installing the operating system, you must first perform the following operations. Fortunately, the following methods do not affect the stable operation of the system as long as there are no errors in the operation, so you can try it with confidence.

Open "my computer"-"Tools"-"Folder Options"-"View"-tick-"OK" before "show all files and folders ".

0. Delete the content in the following folders:

"X" indicates the location where your XP is installed. Generally, it is a C drive.

X: All files under/Documents and Settings/user name/cookies/(keep index files)

X: All files under/Documents and Settings/user name/Local Settings/temp/(user temporary files)

X:/Documents and Settings/user name/localsettings/temporaryinternet files/all files under (page files)

X:/Documents and Settings/user name/Local Settings/history/all files (History)

X:/Documents and Settings/user name/recent (my most recent documents)/all files (shortcuts to recently browsed files)

X: All files under/Windows/temp/(temporary files)

1. Disable system restoration.System restoration can be used to back up the status of the system at ordinary times and restore the system to the previous backup status after a problem occurs. Although this function is practical, it occupies a large amount of hard disk space. Generally, 12% of the available space for each hard disk partition is used to save the Restore Point. If you do not need this function, you can disable it.

Operation Method: Right-click the "my computer" icon and select "properties" to open the "System Properties" dialog box. Open the "System Restore" tab, select the "Disable System Restore on All Drives" check box, and click OK.

2. Transfer the paging file.The paging file is the virtual memory we used in Windows 98. By default, paging files are stored in the root directory of the system disk. To save space on the system disk, we can transfer the paging files to other partitions, if your physical memory is large (for example, MB or more), you can set the maximum size of the paging file to a smaller value.

Operation Method: Right-click the "my computer" icon and select "properties" to open the "System Properties" dialog box. Open the "advanced" tab of the System Properties, click the "Performance-Settings" button, open the "advanced" tab in the new pop-up window, and click the "change" button, in the "virtual memory" dialog box, specify the storage location of the paging files. Remember: click "set" next to the specified position, and change the initial value and maximum value of the system disk to 0 ......

3. Temporary Folder.Many software programs generate temporary files, which are stored in the temporary folder of the system disk and automatically cleared when the software is disabled. However, some software may not be able to completely clear temporary files due to design reasons or abnormal exit, and temporary folders will occupy a large amount of hard disk space over time. Removing them from the system disk is easier to manage.

Operation Method: Right-click the "my computer" icon and select "properties" to open the "System Properties" dialog box. Similarly, on the "advanced" tab of the "System Properties" dialog box, click the "environment variables" button and re-specify the location for the "Temp" and "tmp" variables in the window, note that the environment variables are divided into two types: the current user's environment variables and system variables. The same settings are required respectively. Select each variable, click "edit", and re-specify the variable value (the variable value here refers to the new path, such as D: // temp. After the system is restarted, the new Temporary Folder settings take effect.

4. Disable sleep.Whether you are using sleep or not, Windows XP is enabled by default. This will waste a block of space on your system disk that is equal to your physical memory size. If you do not want to use sleep, it is best to disable sleep to save space.

Operation Method: Right-click the blank area on the desktop and select "properties" to open the "Display Properties" dialog box, click the "power" button on the "Screen Saver" tab to open the "power options properties" dialog box, and then open the "Sleep" tab to cancel the "enable sleep" option, after confirmation, the new settings will take effect immediately.

5. Transfer ie cache.All the web pages we browsed will be saved in the cache of IE, so that if you open the same web page again later, ie can directly call the web page from the cache instead of connecting to the network server, to speed up access. However, broadband is becoming more and more popular, and it seems that there is no need to use the cache on the hard disk to accelerate access, so we can disable the IE cache or move it to another location.

Operation Method: Open the "Internet Options" dialog box under the "Tools" menu of IE, and click "Settings" under "Temporary Internet Files". If you are not prepared to use IE cache, drag the "disk space used" slider to the left. Otherwise, you can click the "Move folder" button to specify the IE cache to a hard disk partition other than the system disk.

6. Uninstall unnecessary components.Windows XP does not have a custom installation mode, so almost all components are installed in the system. If you cannot use some of these components, you can also uninstall them. However, we usually Cannot uninstall anything,

Try the following method: Enter "% SystemRoot %/INF/sysoc. then press enter to open an INF file on the WordPad. This shows the installation and uninstallation of all Windows component programs, however, we can modify this file to uninstall components that normally cannot be detached. Open the file, click "replace" under the "edit" menu in notepad, and enter "hide" (excluding quotation marks) in "search content ), click "replace all" on the right, save the file, and close it. Re-open "add or delete programs" in the control panel and click "add or delete Windows Components". Now, you can directly uninstall many components that are not allowed to be uninstalled before. If you need to use these components in the future, you can reinstall them.

Another similar method: XP installs some system components for the operating system by default, and a large part of these components are not available to you at all, you can detach Windows Components in "Add/delete Windows Components. However, some of the components XP are hidden by default, and cannot be found in "Add/delete Windows Components". In this case, you can use NotePad to open/Windows/INF/sysoc. INF file, replace all the "hide" characters in the file with null with the search/replace function. In this way, the hidden attributes of all components are removed, and the "Add-delete program" program "(such as internat messenger service, fax service, and Windows Messenger) is run after the disk is exited, code table, which can free up to 50 MB of space.

7. Transfer "My documents "."My Documents" is a special folder. By default, all documents generated by applications are saved in this folder, which is actually stored in the system disk. Transferring this folder to other partitions can reduce the volume of the system disk. If the system crashes suddenly and cannot be repaired, we can directly format the system disk and reinstall the system, instead of worrying about how to back up important files saved in my documents.

Operation Method: Right-click the "My Documents" folder, select "properties", open the Properties dialog box, and click "move ", you can transfer "My Documents" to other partitions.

8. Disable memory dump.Although Windows 2000/XP is already stable, there may still be major problems, and the external performance is LAN screen or crash. As a system administrator, I'm sure I want to know why the system went wrong. Therefore, a memory dump technology is used in Windows 2000/XP. If a major problem occurs, the system first saves the data in the memory to a dump file before restarting, the administrator can analyze the dump file to learn about system faults. Obviously, for general users, there is no need to dump these files because we don't understand them at all. Disable it.

Operation Method: Right-click the "my computer" icon and select "properties" to open the "System Properties" dialog box. Under the "advanced" tab of the "System Properties" dialog box, click "set" in "Start and fault recovery, select "NONE" from the "Write debugging information" drop-down menu ". You can also search for all "*. dmp" files and delete them.

9. Disable dr. WATSON:To disable dr. watson can open the Registry Editor, find the "HKEY_LOCAL_MACHINE/software/Microsoft/WindowsNT/CurrentVersion/AeDebug" branch, double-click the Auto Key under it, and change its "value data" to 0, finally, press F5 to refresh and make the settings take effect. In this way, the operation is canceled.

You can also enter the "drwtsn32" command in "start"-> "run, or "start"-> "program"-> "accessories"-> "System Tools"-> "system information"-> "Tools"-> "Dr Watson ", call dr. Hua from the system. watson, only the "dump all thread context" option is retained in the "options". Otherwise, the hard disk will read for a long time and occupy a large amount of space in case of a program error. In this case, find the user. dmp file, which can save dozens of MB after deletion.

10.Clear pre-read files:Windows XP's pre-read setting can improve the system speed, but after a period of time, the number of files in the pre-read folder will become quite large, resulting in a longer system search time. In addition, some applications generate dead-link files, increasing the burden of system search. Therefore, these pre-read files should be deleted regularly.

Expected files are stored in the prefetch folder of the Windows XP system folder. All files in this folder can be deleted.

11.Clear Temporary Internet Files:Regular deletion of a large number of Temporary Internet Files generated when surfing the internet will save a lot of hard disk space.

Open IE, select "Internet Options" from the "Tools" menu, and select the "General" tab in the pop-up dialog box, in the "temporary files on the Internet" bar, click the "Delete Files" button. In the displayed "Delete Files" dialog box, select the "delete all offline content" check box and click the "OK" button.

Part 2:

If you need to further reduce the volume of the system partition, you can also try the following method. However, we need to declare in advance that using these methods may affect the stability of the system. Therefore, we must make it clear before using these methods.

1. Back up system files.To ensure system stability and ensure that important system files are not deleted or replaced by errors, Windows 2000/XP automatically backs up important system files. These files are usually stored in the % SystemRoot %/system32/dllcache folder.

Enter "cmd" and press enter to open the command prompt line window. Then, enter "SFC/purgecache" and press Enter, this will delete all the backup files in the % SystemRoot %/system32/dllcache folder mentioned above, enter "SFC/cachesize = 0" and press Enter, this will prevent the system from consuming hard disk space to save the backup system files.

Note: after such an operation, if important system files need to be restored, the operating system will directly ask you to insert the system installation disc. If you are too troublesome or want to reduce the size of the system disk without affecting stability, you can also configure a group policy to transfer the backup folder to another partition. Enter "gpedit. MSC, press enter, open the Group Policy Editor, and choose computer configuration-manage template-system-Windows File Protection ", then, you can transfer and reset the location and size of the cache folder by specifying the Windows File Protection Cache location and limiting the Windows File Protection Cache size on the right.

Note: If you want to manually delete a file, remember to delete the file in this folder instead of the folder itself, that is, delete the DLL file (minus 200 -- 300 MB) under/Windows/system32/dllcache ), this is a backup DLL file. You can do this if you have copied the installation file.

2. Help file.If you are familiar with Windows systems, you can also delete help files to save space and directly Delete the "help" folder in the Windows directory.

3. Redundant Input Methods.In addition to the Chinese Input Method, Windows XP also has Japanese and Korean input methods, which is of course useless to us, you can also delete all folders other than chsime and shared in the "% SystemRoot %/ime" folder. For example, imjp8_1 Japanese input method and imkr6_1 Korean input method can be deleted if not needed. (If it cannot be deleted, try to delete it in security mode ).

Note: before using this method, make sure that you have deleted all System File backups in advance (that is, as mentioned in Article 1 of Part 2 ), otherwise, after you delete these files, the operating system will automatically restore them from the backup files.

4. Service Pack backup file.A service pack is a large patch file for Windows. After the Service Pack is installed, the hard disk occupies part of the space to save the system files backed up. If the hard disk is very tight, consider deleting it.

After installing a service pack (SP1, SP2, etc.) for Windows, you may see a folder similar to "servicepackfiles" in the Windows directory, the backup file after the service pack is installed is saved here.

Normally, if it is not hard disk, we do not recommend that you delete the files here. If you stick to it, you can also delete it. Remember: only delete the files in it and do not delete this folder.

5. Hidden folders after Windows Update.All patches installed through windows update can be uninstalled. To cope with future uninstallation, the patch backs up some files during installation and stores them hidden. If you feel that the system runs stably after Windows Update and you are not prepared to uninstall these patches, you can delete these hidden backup files.

There are still some folders in the Windows directory, which are usually too many and compressed, the name is "$ ntuninstallq ******** $" (****** is a number ), these folders store the backup files of the patches you have installed through Windows Update. You can delete it directly. Note: These file racks are hidden and cannot be seen directly. You can first set the display of hidden files under the view tab of the folder options.

6. Backup driver.Windows will back up its own driver file to the hard disk, so that new hardware will not be frequently inserted into the CD later. Of course, to save space, we can also directly Delete the backup driver, which is usually located in the "Driver. Cab" file in the "% SystemRoot %/driver Cache/i386" folder.

7.Disable Error reports:When an application encounters an error, a window will pop up to send an error report. In fact, such an error report is of little significance to common users. Closing it is a wise choice.

In the "System Properties" dialog box, select the "advanced" tab and click the "Error Report" button. In the displayed "Error Report" dialog box, select the "Disable Error Report" option, click OK. In addition, you can also disable the error report from the Group Policy: Type "gpedit" in "run. MSC ", run" Group Policy Editor ", expand" Computer Configuration> Manage template> system> Error Report function ", double-click" report error "in the settings column on the right ", in the pop-up "properties" dialog box, select "disabled" to disable "report error.

8.Disable unused devices:Windows XP Always tries its best to install and manage drivers for all devices on the computer, which not only slows down the system startup speed, but also causes a large amount of system resources to be occupied. In this case, you can disable the uncommon devices such as the PCMCIA card, modem, infrared device, printer port (LPT1), or serial port (COM1) in the Device Manager,

Double-click the device you want to disable. In the Properties dialog box, select "do not use this device (disable)" on the "General" tab )". The settings take effect after you restart them. enable these devices from the Device Manager when you need them.

9. Perform disk cleaning and disk fragmentation:Then, fragment the disk. Exit all running programs during the process.

Part 3:

If you are not satisfied with the available space of your hard disk after the above operations, let's continue.


Note that the following operations may seriously affect system stability or cause inconvenience to future use. But it is only possible.

There are many word folders in the Windows folder, many of which are not required for normal operation of the system. They can also be deleted or cleared.

1. C: // windows // cursors //,This folder contains all the mouse pointers. If you only want to use the default Windows mouse pointer, you can delete all the files here.

2. C: // windows // INF //,This folder contains a large number of windows hardware drivers. If you are sure that you will not add new hardware devices and all the hardware will work properly, all files can be deleted.

3. C: // windows // srchasst,The search assistant of Windows XP is saved in this folder, that is, the puppy or other character styles that appear when you search files. You can directly Delete this folder, so that you will use the classic Search Method in Windows 2000 mode, instead of asking if you want to search photos or music like XP.

4. C: // windows // downloaded installations //,This folder stores some program installation files (mainly programs installed using the Windows Installer technology), so that if the program needs to be repaired or other operations in the future, you can directly Save the installation file here. However, clearing this folder usually has no significant impact on the use of the system, so we recommend that you delete it.

5. C: // windows // media //,This is used to save windows system sounds (such as double-click, system logon, and other sounds). If you do not need them, you can delete them directly.

6. C: // windows // system32 // restore //,This folder stores the system-restored executable files. If you do not plan to use the system-restored function, you can delete all the files here. However, before deleting the service, you are advised to disable System Restoration, run services. MSC to disable the system restore service, and then delete all restore points.

7. C: // windows // system32 // usmt //,This folder contains files related to the setup transfer wizard. If you do not use this function, you can also clear the folder.

8. C: // program files // MSN, C: // program files // netmeeting //,The two folders are executable files of MSN Explorer and Netmeeting, which can be cleared if not needed.

9. C: // windows // system32 // oobe,Here, you have saved the wizard for installing xp for the first login, and some programs activated by Windows XP. If you use XP, you do not need to activate the Enterprise Edition, you can clear the folder (instead of deleting the folder). If your Windows XP is a retail or OEM version, you 'd better not touch it.

10. C: // windows // msagent,All the files of the agent are saved here. The agent here is just like the Office Assistant in the Microsoft Office application. It is a dynamic cartoon image that we usually cannot use, so we can delete it.

11. C: // windows // Java,Microsoft Java Virtual Machine. If you have installed Sun's virtual machine or won't use Java programs at all (this is very unlikely because Java is also used in many web pages), you can delete this folder.

Finally, let's talk about the following points::

First, try to install the application software on a non-system disk unless it must be installed on the system disk.Pay attention to the application software you install. By default, many software (especially Microsoft, such as Outlook Express and office software) will save some files on the system disk, for example, all emails received by OE are stored in the system disk, so that using your emails for a long time can occupy a large amount of hard disk space, and you can also save these File Settings elsewhere, this can usually be found in the software's own settings and options.

Second,We recommend that you use master optimization or super magic rabbit settings,You do not need to manually delete the System junk files.

After this setting, data is basically not frequently written to the system disk, but after a thorough disk fragmentation, it may not be necessary to refresh it for a long time, this also indirectly improves the system operation efficiency.

When installing software, pay attention to the fact that most of the software, even if you choose to install it to another partition, will still write a lot of shared files to the system partition, therefore, you must leave enough space for the system disk to avoid installation of new software due to insufficient system disk space.

Finally,If you still feel that the space on the system disk is a little tight through this setting, you can try NTFS partition compression. First, make sure that your system disk is an NTFS file system, open "my computer", right-click the system disk icon, and select "properties ", then, select "compress the drive to save disk space" and confirm that the operating system will store all the data on the System Disk in a compressed package. However, this compression only applies to some types of files (such as Doc and txt), and has no obvious effect on those files that have already been compressed (such as zip and RAR, therefore, you can choose to directly compress some folders instead of the entire hard disk partition. However, after such compression, the system will run slowly, because the compressed file must be decompressed before being read, and this requires a lot of computing on the CPU, therefore, if the computer configuration is not high enough, it is not recommended that you compress the system partition.

Through the above operations, files that can be avoided in windows are cleared, and your windows is slim.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.