Current location - Health Preservation Learning Network - Healthy weight loss - How to release space when the capacity of C disk in windows xp system is small?
How to release space when the capacity of C disk in windows xp system is small?
You can free up some C disk space like this:

1. Open my computer-Tools-Folder Options-View-Check the "Show all files and folders" option-and then press OK.

2. Delete the contents of the following folder:

All files under c: \ documents and settings \ user name \ cookies \ (keep index files)

C: all files under \ documents and settings \ user name \ local settings \ temp \ (user temporary files).

C:\ Documents and Settings \ user name \ local Settings \ temporary internet files \

All documents under c: \ documents and settings \ user name \ local settings \ history \ (history)

All files under c: \ documents and settings \ user name \ recent \ (shortcuts to recently browsed files)

All files under C:\WINDOWS\Temp\ (temporary files)

C:\WINDOWS\ServicePackFiles (backup files after upgrading sp 1 or sp2)

Compressed files under C:\WINDOWS\Driver Cache\i386 (backup files of drivers)

All files under c: \ Windows \ Software Distribution \ Download.

3. If the system has been upgraded by windoes updade, please delete the following files:

Hidden files starting with $u ... in C:\windows\

4. Then defragment the disk, and please quit all running programs during defragmentation.

5. After defragmentation, open Start-Programs-Accessories-System Tools-System Restore-Create a restore point (it is best to use the current date as the name of the restore point).

6. Open my computer-right-click the system disk-Properties-Disk Cleanup-Other options-click Cleanup in the System Restore bar-select Yes-OK.

7. After all kinds of software and hardware are installed properly, XP rarely needs to update files. Delete the system backup file: Start → Run → sfc.exe/Purge Cache nearly 3xxM. (This command is used to immediately clear the Windows File Protection file cache and release the space it occupies. )

8. Delete the dll file under \windows\system32\dllcache (minus 200——300mb). This is a backup dll file. As long as you copy the installation file, you can do it completely.

9. Delete unused input methods: For many netizens, not all the input methods included in the Windows XPt system are suitable for their own use, such as IMJP8_ 1 Japanese input method and IMKR6_ 1 Korean input method. We can delete them if we don't need them. Input method is located in \windows\ime\ folder, occupying 88M space.

10. After upgrading, I found that windows\ has many directories similar to $ ntuninstallq311889 $. Kill them all, 1x-3xM.

1 1. Besides, putting things in the \windows\help directory is also a kind of harm to me, hehe. . . Kill them all!

12. Turn off system restore: The system restore function takes up a lot of hard disk space for a long time. Therefore, manual setting is needed to reduce the hard disk occupation. Open the System Properties dialog box, select the System Restore option, and select the Turn off System Restore on all drives check box to turn off System Restore. You can also set to restore only the disk or partition where the system is located. Select the partition where the system is located, click the "Configure" button, and cancel the "Turn off system restore of this drive" option in the pop-up dialog box to set the disk space for system restore.

13, the hibernation function will take up a lot of hard disk space. If you use less, you might as well turn off * * *. To turn it off, open the Control Panel, double-click Power Options, select the Hibernation tab in the pop-up Power Options Properties dialog box, and uncheck the Enable Hibernation checkbox.

14. Uninstall unused components: XP will install some system components into the operating system by default, and a large part of these components can't be used at all. You can uninstall them in Add/Remove Windows Components. However, some components in XP are hidden by default and cannot be found in Add/Remove Windows Components. At this time, you can open the file \windows\inf\sysoc.inf with Notepad, and replace all the "hidden" characters in the file with spaces with the find/replace function. In this way, the hidden properties of all components are removed. After saving, run the Add-Remove program, and you will see many options that you didn't see before. Delete those components you don't need (remember to save them as sysoc.inf instead of the default sysoc.txt), such as Internat messenger service, fax service, Windows messenger, code table, etc. , can release nearly 50MB of space.

15. Clear the temporary files of the system: the temporary files of the system are generally stored in two locations: a temp folder under the Windows installation directory; The other is the folder C:\Documents and Settings "User Name" \Local Settings\Temp (y: the partition where the system is located). Files in both locations can be deleted directly.

16. Erase temporary Internet files: A large number of temporary Internet files generated when surfing the Internet regularly will save a lot of hard disk space after being deleted. Open IE browser, select Internet Options from the Tools menu, select the General tab in the pop-up dialog box, click the Delete File button in the Temporary Internet Files column, select the Delete All Offline Content check box in the pop-up Delete File dialog box, and click the OK button.

17. Clear the pre-read files: Although the pre-read setting of Windows XP can improve the system speed, after a period of use, the number of files in the pre-read folder will become quite large, resulting in a long system search time. Moreover, some applications will produce dead-chain files, which will increase the search burden of the system. So these pre-read files should be deleted regularly. The expected files are stored in the Prefetch folder of the Windows XP system folder, and all files under this folder can be deleted.

18. Compress NTFS drives, files or folders: If your hard disk uses NTFS file system and space is really tight, you can also consider enabling NTFS compression. Right-click the drive you want to compress-Properties-General-Compress Disk to Save Disk Space, then click OK, and select the required option in Confirm Property Change. This can save about 20% hard disk space. When compressing drive C, it is best to use safe mode for compression, which is more effective.

19. Close Dr.Watson: To close Dr.Watson, you can open the Registry Editor, find the branch of "HKEY _ Local _ Machine \ Software \ Microsoft \ Windows NT \ Current Version \ AEDebug", double-click the name of the Auto key under it, change its "Numerical Data" to 0, and finally press F5 to refresh the settings. Still in the "start"->; Enter "drwtsn32" command in "Run", or "Start"->; "program"->; "attachment"->; "system tools"->; "system information"->; "tools"->; "Dr. Watson", call out Dr. Watson in the system, and only keep the option of "Dump all thread contexts", otherwise the hard disk will be read for a long time and occupy a lot of space once the program goes wrong. If this has happened before, please look for the user.dmp file, which can save tens of MB of space after deletion.

20. Close the Remote Desktop: "My Computer"-> "properties"->; "Remote" and "Allow users to connect to this computer remotely" in "Remote Desktop" are ticked.

2 1. Cancel XP's support for ZIP: Windows XP turns on support for zip files by default, which takes up some system resources. You can choose "Start → Run", type "regsvr32/u ZIPfldr.dll" in the "Run" dialog box, and press enter to confirm the cancellation of XP's support for zip decompression, thus saving system resources.

22. Turn off the error report: When the application fails, a window will pop up to send the error report. In fact, such an error report is almost meaningless to ordinary users, so it is a wise choice to close it. In the System Properties dialog box, select the Advanced tab, click the Error Reporting button, select the Disable Error Reporting option in the Error Reporting dialog box that pops up, and finally click OK. In addition, we can turn off error reporting from the group policy: type gpedit.msc from Run, run the Group Policy Editor, expand Computer Configuration → Management Template → System → Error Reporting Function, double-click Error Reporting in the setting bar on the right, and select the Disable radio box in the pop-up Properties dialog box to disable Error Reporting.

23. Turn off unused devices: Windows XP always tries to install drivers for all devices of the computer and manage them as much as possible, which will not only slow down the system startup, but also cause a lot of system resources to be occupied. In view of this situation, in the device manager, you can disable uncommon devices, such as PCMCIA cards, modems, infrared devices, printer ports (LPT 1) or serial ports (COM 1). Double-click the device you want to disable and select Do not use this device (disable) in the General tab of its properties dialog box. Settings will take effect when you restart, and then enable these devices from Device Manager when you need to use them.

24. Regularly clean the system restore point: turn on disk cleaning, select other options-> Clean the system restore point, and click Clean.

25, uninstall unnecessary programs, I don't need to say this.

26, other optimization:

A. Install the application software on other hard disks (don't install it under the system disk, which is also good for reinstalling the system);

B. Transfer all My Documents folders to other partitions: right-click the My Documents icon on the desktop and select Properties-> "moving";

Transfer all IE temporary folders to other partitions: open IE browser and select "Tools"->; "internet options"->; "general"->; "settings"->; "Move folder";

Transfer the virtual memory to another hard disk;

Virtual memory setting skills

Under normal circumstances, windows XP uses the remaining space of drive C as virtual memory by default. Therefore, the larger the remaining space of drive C, the better it will run on the system. Virtual memory changes dynamically with your use, so disk fragmentation is easy to occur on disk C, which affects the running speed of the system. Therefore, it is best to set the virtual memory in other partitions, such as drive D. Check the virtual memory settings as follows:

Right-click My Computer, left-click Properties, click the Advanced tab, click the Settings button in Performance, then select the Advanced tab, and click the Change button below to open the virtual memory settings window. Generally, the default virtual memory is a range of values from small to large, that is, the range of virtual memory changes. The specific value depends on the size of your physical memory, which is generally 0.5 to 2 times that of 65438+ physical memory. If the memory is 256M, you should set 256* 1.5=384M, or just 5 12M. The setting method is as follows:

Assuming that the memory is 256M and the virtual memory is placed on drive D, clear the default first, keep drive C selected, select "No paging file (n)" and press the "Set" button, and the virtual memory next to drive C will disappear. Then select drive D, select User-defined Size, and add 50 in the Initial Size and Maximum Value boxes below. You will see the words "5 12-5 12" next to disk D, indicating that it is set up, and then confirm it all the way. Finally, the system must be restarted to complete the setup.

Note: There can only be one virtual memory, and it can only be placed on one disk.

========================================================

The first part:

After installing the operating system, you need to do the following first. Fortunately, the following methods, as long as there are no mistakes in operation, will not have much impact on the stable operation of the system, you can rest assured to try.

1. Disable system restore. System restore can back up the normal state of the system, and restore to the previous backup state after problems occur. Although this function is practical, it takes up a lot of hard disk space. Usually 12% of the available space of each hard disk partition will be used to save the restore point. If this function is not needed, it can be disabled.

Right-click the My Computer icon and select Properties to open the System Properties dialog box. Then open the System Restore tab, select the "Turn off system restore on all drives" check box, and confirm.

2. Transfer paging file. Paging file is the virtual memory that we come into contact with in Windows 98. By default, the paging file is placed in the root directory of the system disk. In order to save space on the system disk, we can transfer the paging file to other partitions. If you have more physical memory (for example, more than 5 12MB), you can also set the maximum size of the paging file smaller.

Open the advanced tab of system properties, click the performance setting button, then open the advanced tab in a new pop-up window, click the change button, and then re-specify the storage location of paging files in the virtual memory dialog box. Remember, after specifying the location, click the "Set" button next to it to modify the initial value and maximum value of the system disk to 0.

3. Temporary folder. Many softwares will produce temporary files during use, which will be saved in the temporary folder of the system disk and automatically cleared when the software is closed. However, some software may not be able to completely empty the temporary files due to design reasons or abnormal exit. Over time, temporary folders will take up a lot of hard disk space. And moving them out of the system disk is easier to manage.

Similarly, on the Advanced tab of the System Properties dialog box, click the Environment Variables button, and then reassign the positions of the two variables "TEMP" and "TMP" in the window. It should be noted that there are two kinds of environment variables: the environment variable of the current user and the system variable, which are set in the same way. Select each variable, and then click Edit to re-specify the variable value (the variable value here refers to a new path, such as d:\\temp). The new temporary folder settings will take effect after the system is restarted.

4. Disable hibernation. Whether you plan to use hibernation or not, Windows XP is enabled by default, which will waste the space equivalent to your physical memory on your system disk. If you are not going to use hibernation, you'd better disable hibernation to save space.

Right-click a blank space on the desktop, select Properties to open the Display Properties dialog box, then click the Power button on the screen saver tab to open the Power Properties dialog box, then open the Hibernation tab and deselect Enable Hibernation. The new settings will take effect immediately after confirmation.

5. transfer IE cache. All the webpages we have visited will be stored in IE's cache, so that if we open the same webpage in the future, IE can call the webpage directly from the cache without connecting to the network server, thus speeding up the access time. But now that broadband is becoming more and more popular, it seems unnecessary to use the cache on the hard disk to speed up access. We can disable IE cache or move to other locations.

Open the Internet Options dialog box under the IE Tools menu, and then click Settings under Temporary Internet Files. If you don't plan to use IE cache, please drag the Used Disk Space slider to the far left, otherwise you can click the Move Folder button to allocate IE cache to a hard disk partition other than the system disk.

6. Uninstall unnecessary components. Windows XP has no custom installation mode, so almost all components will be installed in the system. If you do not need these components, you can uninstall them. But we can't unload anything in the same cabin. Try the following methods:

Enter "%systemroot%/inf/sysoc.inf" and press enter, and you can open an inf file with WordPad, which shows the installation and uninstallation of all Windows component programs. We can uninstall components that cannot be uninstalled at all by modifying this file. After opening this file, click "Replace" under the Edit menu in Notepad, then enter "Hide" (excluding quotation marks) in "Find What", click the "Replace All" button on the right, and then save the file and close it. Reopen Add and Remove Programs in Control Panel, and then click Add and Remove Windows Components. Now you can directly uninstall many components that were not allowed to be uninstalled before. If you need these components in the future, you can reinstall them.

7. Transfer my files. My Documents is a special folder. By default, all documents generated by the application will be saved in this folder, which is actually on the system disk. Moving this folder to another partition can reduce the capacity of the system disk. On the other hand, if the system crashes suddenly and cannot be repaired, we can directly format the system disk and reinstall the system without worrying about how to back up the important files saved in my documents.

Right-click the My Documents folder, then select Properties to open the Properties dialog box, and click Move Directly to transfer My Documents to another partition.

8. Close the memory dump. Although Windows 2000/XP has been very stable, there may still be major problems, the external performance is blue screen or crash. As a system administrator, I'm sure I'd like to know why the system is out of order. Therefore, memory dump technology is used in Windows 2000/XP. If there is a major problem, the system will save the data in the memory in a dump file before restarting, and the administrator can understand the system failure by analyzing the dump file. Obviously, for us ordinary users, there is no need to dump these files because we can't understand them at all. Then disable it.

In the System Properties dialog box, under the Advanced tab, click the Start and Resume button, and then select None from the Write Debugging Information drop-down menu. And you can search all *. Dmp files and delete them. At the same time, enter "drwtsn32" during the running process, and press Enter to open the tool of Dr. Watson, in which the selections of "Dump all thread contexts", "Append to existing log file" and "Create fault dump file" are cancelled.

The second part:

If you need to further reduce the volume of the system partition, you can also try the following methods. However, it needs to be explained in advance that the use of these methods may have a certain impact on the stability of the system, so it must be considered before application.

1. System file backup. In order to ensure the stability of the system and important system files will not be deleted or replaced by mistake, Windows 2000/XP will automatically back up important system files. These files are usually saved in the folder %systemroot%/system32/dllcache.

At runtime, enter "CMD" and press enter to open a command prompt window, and then enter "sfc /purgecache" in it and press enter, which will delete all backup files in the aforementioned %systemroot%/system32/dllcache folder, and then continue to enter "sfc /cachesize=0" and press enter, so that the system will not consume hard disk space when saving backup system files in the future. It should be noted that after this operation, if there are important system files to be restored, the operating system will directly ask you to insert the system installation CD. If it is troublesome or you just want to reduce the size of the system disk without affecting the stability, you can also transfer the backup folder to other partitions by configuring group policy. Enter "gpedit.msc" and press Enter during the operation, open the Group Policy Editor, then navigate to "Computer Configuration-Management Template-System -Windows File Protection", and then transfer and reset the location and size of the cache folder through "Specify Windows File Protection Cache Location" and "Limit Windows File Protection Cache Size" on the right. Note: If you want to delete it manually, please remember to delete only the files in this folder, not the folder itself.

2. Help files. If you are familiar with the Windows system, you can also delete the Help file to save space, and just delete the "Help" folder under the Windows directory.

3. Redundant input method. In addition to Chinese input methods, Windows XP also has Japanese and Korean input methods, which is of course useless to us. We can also delete all the folders under the "%systemroot%/ime" folder except "CHSIME" and "SHARED". (If you can't delete it, you can try to delete it in safe mode). Before using this method, please make sure that you have deleted all system file backups in advance (that is, the first article in Part II), otherwise the operating system will automatically restore them from the backup files after you delete these files.

4. Service package backup file. Service Pack is a big patch file for Windows. After installing the Service Pack, the hard disk will take up some space to save the backed-up system files. If the hard disk is nervous, you can also consider deleting it.

After installing Windows service pack (commonly known as SP 1, SP2, etc.). ), you may see a folder similar to "ServicePackFiles" in the Windows directory, and the backup files after installing the Service Pack are saved in this folder. Usually, if the hard disk is not very tense, it is absolutely not recommended that you delete the files here. Of course, you can delete it if you insist. Remember, only delete files, not this folder.

5. Hide the folder after 5.Windows Update. Patches installed through Windows Update can be uninstalled, and in order to cope with future uninstallation, some files will be backed up when installing and hiding patches. If you think that the system runs stably after Windows Update and you don't intend to uninstall these patches in the future, you can delete these hidden backup files.

There are also some folders in the Windows directory, usually many of which are compressed. The name is "$ ntuninstallq * * * * * $”(* * * * is a number), and these folders save the backup files of the patches you installed through Windows Update. You can delete it directly. Note: These files are hidden in the bookshelf and cannot be seen directly. You can first set the display of hidden files under the View tab of Folder Options.

6. Back up the driver. Windows will back up its own driver files to the hard disk, so that you don't have to insert CDs frequently when adding new hardware in the future. Of course, in order to save space, we can also delete the backup driver directly, usually the Driver.cab file located in the "%systemroot%/Driver Cache/i386" folder.

The third part:

If you are still not satisfied with the available space on your hard disk after the above operations, please continue reading. Please note that the following operations may seriously affect the stability of the system or bring some inconvenience to future use. It's just "possible"

There are many word folders under the Windows folder, many of which are not necessary for the normal operation of the system and can also be deleted or emptied.

1.c: \ \ Windows \ \ Cursors \, which contains all mouse pointers. If you only want to use the default mouse pointer of Windows, you can delete all the files here.

2.C: \ \ Windows \ \ INF \, this folder contains a large number of hardware drivers under Windows. If you are sure that no new hardware devices will be added and all the hardware can work normally, then all the files here can be deleted.

3.c:\ \ Windows \ \ srchast, this folder stores the search assistant of Windows XP, that is, the dog or other characters that appear when you search for files. You can delete this folder directly, so you will use the classic search method of Windows 2000 mode instead of XP asking if you want to search for photos or music.

4. C: \ \ Windows \ \ Downloaded Installations \ \, this folder stores installation files of some programs (mainly programs installed by using Windows Installer technology), so that if this program needs to be repaired or other operations in the future, it can be completed directly through the installation files saved here. However, emptying this folder usually does not have much impact on the use of the system, and it is recommended to delete it.

5.c:\\windows\\media\\, which is used to save the system sounds of windows (such as double click, system login, etc.). ), you can also delete it directly if you don't need it.

6. C: \ \ Windows \ \ System32 \ \ Restore \, this folder stores executable files restored by the system. If you don't plan to use the system restore function at all, you can delete all the files here. However, it should be noted that it is best to turn off system restore before deleting, run Services.msc to turn off system restore service, and then delete all restore points.

7. C: \ \ Windows \ \ System32 \ \ USMT \ \, this folder contains files for installing the migration wizard and related files. If you don't use this function, you can also empty this folder.

8.c:\\program files\\msn, C: \ \ C: \ \ Program files \ \ Netmeeting \ \, these two folders are the executable files of MSN Explorer and NetMeeting, and you can empty them if you don't need them.

9.C:\\windows\\system32\\oobe, here is the wizard when you log in for the first time after installing XP, and some programs for activating Windows XP products. If you are using enterprise XP that does not need to be activated, you can empty this folder (empty the folder instead of deleting it); And if your Windows XP is a retail version or an OEM version, you'd better not touch it.

10.c:\ \ Windows \ \ ms Agent, all files of the agent are saved here. Like the Office Assistant in Microsoft Office application, the agents here are some dynamic cartoon images, so we usually don't need these things and can delete them.

11.c: \ \ Windows \ \ JAVA, Microsoft's Java virtual machine. If you have installed Sun's virtual machine or can't use JAVA programs at all (this is very unlikely because many web pages also use JAVA), you can delete this folder.

Finally, there are a few points to say:

First of all, pay attention to the application software you installed. Many software (especially Microsoft's, such as Outlook Express and Office software) will save some files in the system disk by default. For example, all emails received by OE will be saved in the system disk, so that your emails will occupy a lot of hard disk space after long-term use. You can also save these file settings in other places, which can usually be found in the settings and options that come with the software.

Secondly, after this setting, data will not be frequently written into the system disk, and it may not need to be rearranged for a long time after a thorough disk defragmentation, which indirectly improves the operating efficiency of the system.

When installing software at ordinary times, it should be noted that most of the software, even if you choose to install it in other partitions, will still write a lot of files to the system partition, so be sure to leave enough space for the system disk to avoid that new software cannot be installed because of insufficient space on the system disk.

Finally, if you still feel that the space of the system disk is a little tight through this setting, you can also try NTFS partition compression. First, make sure that your system disk is an NTFS file system, then open My Computer, right-click the icon of the system disk, select Properties, and then select "Compress the drive to save disk space" to make sure that the operating system will compress all data on the system disk. However, this compression is only effective for certain types of files (such as DOC and txt), and has no obvious effect on those files that have been compressed (such as zip and Rar). ), so you can choose to directly compress some folders instead of the entire hard disk partition. However, after this compression, the speed of the system will be slower in the future, because the compressed file must be decompressed before it can be read, which requires a lot of calculation by the CPU, so if the computer configuration is not high enough, it is not recommended that you compress the system partition.

Through the above operations, almost all unnecessary files in Windows have been cleaned up, and your Windows is slim again.