Which folders can be deleted in windows?

Source: Internet
Author: User
Tags prefetch sleep function disk usage
Files in Windows folders that can be deleted

After the following settings, your system will be more fresh, concise, and efficient!
1. Open "my computer"-"Tools"-"Folder Options"-"View"-tick-"OK" before "show all files and folders"

2. Delete the content in the following folder: "X" indicates the location of your XP installation, which is generally a drive C.

X: \ Documents and Settings \ User Name \ cookies \ All files (keep index files)

X: \ Documents and Settings \ User Name \ Local Settings \ temp \ All files (user temporary files)

X: \ Documents and Settings \ User Name \ localsettings \ temporaryinternet files \ All files (page files)

X: \ Documents and Settings \ User Name \ Local Settings \ history \ All files (History)

X: \ Documents and Settings \ USERNAME \ recent \ All files (shortcuts to recently viewed files)

All files under X: \ windows \ temp \ (temporary files)

X: \ windows \ servicepackfiles (backup file after SP1 or SP2 upgrade)

X: \ windows \ driver cache \ i386 compressed files (driver backup files)

X: \ windows \ softwaredistribution \ Download all files

3. If you have upgraded the elasticsearch instance, delete the following files:

X: \ windows \ Hidden Files starting with $ u...

4. fragment the disk. Please exit all running programs during the sorting process. After fragment, open "start"-"program"-"attachment"-"system tool"-"System Restore"-"Create a Restore Point" (it is best to pay back the site on the current date ). the name of the origin ).

5. open "my computer", right-click the system disk, and choose "properties"> "Disk Cleanup"> "other options". Then, click "clean" in the System Restore column and select "yes" -OK

6. After various software and hardware are installed properly, it is very rare for XP to update files. Delete the system backup file: At the beginning, Run sequence sfc.exe/purgecache near 3xxm. (The purpose of this command is to immediately clear the "Windows File Protection" File Cache and release the occupied space)

7. Delete the DLL file under \ windows \ system32 \ dllcache (minus 200 -- 300 MB). This is a backup DLL file. You can do this if you have copied the installation file.

8. XP will automatically back up the hardware driver. However, after the hardware driver is correctly installed, it is unlikely to change the hardware. Therefore, you can also consider deleting this backup, the file is located in the \ windows \ driver cache \ i386 directory and named driver. cab, you can simply delete it. Normally, this file is 74 MB.

9. delete unused input methods: For many netizens, not all input methods provided by Windows xpt are suitable for their own use, such as imjp8_1 Japanese input method and imkr6_1 Korean input method. If not, we can delete it. The input method is located in the \ windows \ IME \ folder, all occupying 88m space.

10. After the upgrade is completed, we found that Windows \ has many more directories like $ ntuninstallq311889 $. All these directories should be killed, 1x-3xm.

11. In addition, keeping the content in the \ windows \ Help directory is a kind of harm to me... All killed!

12. Disable System Restoration: if the system restoration function takes a long time, it will occupy a large amount of hard disk space. Therefore, it is necessary to manually set it to reduce the disk usage. Open the "System Properties" dialog box, select "System Restore", and select the "Disable System Restore on All Drives" check box to disable System Restore. You can also set restoration only for the disk or partition where the system is located. Select the partition where the system is located, click "Configure", cancel the "Disable System Restore for this drive" option in the pop-up dialog box, and set the disk space used for system restoration.

13. The sleep function occupies a lot of hard disk space. If it is used less, close it together. The method is to open "Control Panel" and double-click "power options ", in the displayed "power option properties" dialog box, select the "Sleep" tab and deselect the "enable sleep" check box.

14. Uninstall uncommon components: 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) is run after the disk is exited.
Messenger, code table, etc., can free up about 50 MB of space.

15. Clear temporary system files: the temporary system files are generally stored in two locations: the temp folder in the Windows Installation Directory and the X: \ Documents and Settings "username" \ Local Settings \ Temp folder (Y: The partition where the system is located ). Files in both locations can be deleted directly.

16. Clear Temporary Internet Files: regularly delete a large number of Temporary Internet Files generated during Internet access, which saves 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.

17. Clear pre-read files: although the pre-read settings of Windows XP can improve the system speed, after a period of time, the number of files in the pre-read folder will become quite large, as a result, the system search takes longer 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.

18. NTFS drive, file, or folder compression: If your hard disk uses an NTFS file system, the space is tight. You can also enable the NTFS compression function. Right-click the drive to be compressed-"properties"-"general"-"compress the disk to save disk space", and then click "OK ", select the required option in "confirm property change. This saves about 20% of the hard disk space. When compressing a C disk, it is best to compress it in safe mode, which is better.

19. 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. 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. 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.

20. Disable Remote Desktop: "My Computer"-> "properties"-> "remote", "allow users to remotely connect to this computer" in "Remote Desktop.

21. Cancel XP zip support: Windows XP opens ZIP file support by default, which occupies certain system resources. You can choose "Start> Run ", in the "run" dialog box, type "regsvr32/u zipfldr. DLL ", press enter to confirm and cancel XP's support for zip decompression, thus saving system resources.

22. Close the Error Report: When an application fails, the window for sending the error report will pop up. In fact, such an error report is of almost no 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.

23. disable unnecessary 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, at the same time, it 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.

24. regularly clear the System Restore Point: Enable disk cleanup, select other options-> clear the System Restore Point, and click clean.

25. Uninstall unnecessary programs.

26. Other optimizations:

A. Install the application software on another hard disk (do not install it on the system disk, which is also good for reinstalling the system );

B. Move the "My Documents" folder to another partition. Right-click the "My Documents" icon on the desktop and select "properties"-> "move ";

C. Convert all temporary ie folders to other partitions: Open IE browser, select "Tools"-> "Internet Options"-> "general"-> "Settings"-> "Mobile folder ";

D. Convert the virtual memory to another hard disk;

E. Point all the pagefile. sys files to one place: Control Panel → system → performance → advanced → virtual memory → change. Note that "setting" takes effect;

F on the desktop, right-click my computer and choose Properties> Advanced Performance Settings> advanced virtual memory ", to 330-720. And timed cleaning

Virtual Memory setting skills

Generally, Windows XP uses the remaining space of disk C as the virtual memory by default. Therefore, the larger the remaining space of disk C, the better the system will run, the Virtual Memory changes dynamically with your usage, so that disk fragments are easily generated on disk C, which affects the system running speed. Therefore, it is best to set the virtual memory in other partitions, such as disk D. View the virtual memory settings as follows:

Right-click "my computer", left-click "properties", click the "advanced" tab, click the "Settings" button in "performance", and then select the "advanced" tab, click the "change" button below. The pop-up window is the virtual memory setting window. Generally, the default virtual memory is a small to large value range, this is the range of the changed virtual memory size. It is best to give it a fixed value so that it is not easy to generate disk fragments. The specific value depends on your physical memory size, generally, it is 1.5 to 2 times the physical memory. For example, if the memory is 256 MB, set 256*1.5 = 384 Mb, or simply 512 MB. The setting method is as follows:

Assume that the memory is 256 MB, and the virtual memory is placed on disk D. You must first clear the default disk to ensure that disk C is selected, select "No paging file (n)", and then press "set, in this case, the virtual memory next to disk C disappears, and then disk D is selected. Select "Custom size" and add 512 to the "initial size" and "maximum value" boxes below, click the "Settings" button and you will see the "512-512" text next to drive D. This indicates that the settings are complete, and then confirm all the way. In the end, the system will restart and restart, the settings are complete.

Note: Only one virtual memory can be placed in one disk!

27. XP will automatically back up the hardware driver, but after the hardware driver is correctly installed, it is generally unlikely to change the hardware, so you can also consider deleting this backup, the file is located in the \ windows \ driver cache \ i386 directory and named driver. cab, you can simply delete it. Normally, this file is 74 MB.

28. delete unused input methods: For many netizens, not all input methods provided by Windows xpt are suitable for their own use, such as imjp8_1 Japanese input method and imkr6_1 Korean input method. If not, we can delete it. The input method is located in the \ windows \ IME \ folder, all occupying 88m space.

29. Delete the DLL file under \ windows \ system32 \ dllcache (minus 200 -- 300 MB). This is a backup DLL file. You can do this if you have copied the installation file.

30. uninstall uncommon components: 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) is run after the disk is exited.
Messenger, code table, etc., can free up about 50 MB of space

31. clear pre-read files: Windows XP pre-read settings 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.

32. disable Dr. Hua 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. 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. 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 space after deletion.

33. Disable Remote Desktop: "My Computer"-> "properties"-> "remote", remove the "allow users to connect remotely to this computer" check box in "Remote Desktop.

34. close Error Report: When an application fails, an error report window will pop up. 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.

35. turn off unnecessary 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 resource occupation. 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.

Addins folder
This is an additional system folder used to store system attached function files.
Apppatch folder
This is the application patch backup folder, used to store application patch files.
Config folder
This is the system configuration folder used to store some temporary configuration files of the system.
Connection Wizard folder
You can see that this is the connection wizard folder, which is used to store files related to the Internet Connection Wizard.
Security folder
This is a secure system folder used to store important data files of the system.
Srchasst folder
This is the search assistant folder used to store the system search assistant file, similar to the msagent folder.
System Folder
This is a system folder used to store system virtual device files. These files logically create a complete set of virtual devices for the system at startup, especially when your hardware driver is not yet installed.
Driver cache folder
This is the driver cache folder used to store driver files that are known to the system hardware. After the Windows operating system is installed by default, there will be an "i386" folder, which contains a file named "driver. Cab", that is, the driver library file of known hardware that comes with the Windows operating system.

Many articles on the Internet say that this driver library file can be deleted to save space, but after deletion, there will be a lot of inconvenient use cases, such as using a USB device also needs to install a driver. Therefore, we recommend that you do not delete this file.
Fonts folder
This is a font folder used to store the font files that will be used by the system. The newly installed fonts are also stored in this folder.
Among them, there are many English Font types, while simplified Chinese font files only include four types:, and, that is, gb2312 in computer coding. You can delete some of the uncommon English fonts.
INF folder
This folder is used to store the INF file. INF is a plain text file with a specific format. The most common application is to provide driver services for hardware devices. We recommend that you do not delete these files.
Installer folder
It is used to store MSI files or temporary files required for program installation. The MSI file is the installation package for Windows. Right-click the file and choose "Install" or "Uninstall" from the context menu. Some programs must use MSI files when uninstalling them. Therefore, we do not recommend that you delete files in this folder.

Java folder
It is used to store components running in Java and their program files. It is best not to delete files in this folder.
Media folder
This is a media folder used to store the default audio files (in WAV format) of the system, such as the sound during system logon. If you like a silent system, you can delete the audio files.

A few useless places in the Windows directory

The following are hard to solve or cannot be solved with software, which usually needs to be cleaned up manually:

1. X: \ windows \ Internet logs

Even for general applications, the files in this directory can be hundreds of MB a year later, if not 2 GB. Fortunately, there is nothing special about it. Just delete it all. If it cannot be deleted, unlocker will keep up with it. (I often do this. It's okay)

2. x: \ windows \ Fonts

Among them, 90% of the English fonts are not used once in most people's lives. There are several kinds of styles to keep. Let's just over the others. (Develop good habits without frequent visits)

3. X: \ windows \ Installer

This is an angry place.

A backup Installation File is added to the installer directory for future configuration, patch installation, and other operations. When a user runs a patch, the Windows Installer releases the MSP file to the installer directory and then guides the user to install the patch. If you click Cancel during boot or the installation fails due to insufficient patch conditions, Windows Installer will exit the installation process, however, the MSP files released to the installer directory are retained. If you run the same patch again
The installer will generate a new MSP file in the installer directory (the file name is different from the previous one), instead of using the last released MSP file. In this way, the first generated MSP file will be permanently stored on the disk and become a useless file. Especially after the office patch is installed, not only will the backup of the installer be left in the installer folder, but it will also go to the installer \ $ patchcache

When we have installed some programs, this is part of the reason that the disk capacity is used up to several times the program size. "Easy to install and maintain in the future" --------- this is like a well-respected Sb talking on the podium, the reason why it is wrong is that this "complete" method of retaining the installation file is actually only convenient for programmers, and users are not taken into consideration. For people who have installed vs2003 or 2005 patch, the rogue performance of Windows Installer is a battle with rising in China.

Let's talk about it first.

Files under a simple installer are much more complex and are not recommended to be deleted (unless they are not uninstalled or upgraded). You can use wicleanup to clear unnecessary files.

4. Temporary java files

Since SP2 is no longer integrated with Microsoft's JVM, about 99% of people have installed Sun's JRE. If it doesn't matter after the installation by default, the default size of Java temporary files is 1 GB (JRE 6 )!

This type of file is not in windows, but we suggest you: Control Panel --- Java --- General --- Temporary Internet Settings and then change the directory, change the size or simply disable "save on my computer"

5. X: \ windows \ driver Cache

You can delete all drivers that come with windows. You can download the latest drivers related to you online and save them to the system disk.

The above actions are available at any time, and there is no system crash (You are welcome to kill my family if you want to crash). It is easy to clean up the 1g---5g LJ, and the rabbit has no such effect.

At one time, I was very confused: as the only Microsoft to master all the underlying technologies of Windows, it should be the most qualified to develop system cleaning software, although windows does have such a function, but it's obviously just a smudge. Why? Too busy? What is the daily downtime? I was deeply touched by Microsoft's long-standing attitude. Then, I suddenly realized that system redundancy is exactly what Microsoft needs! Think back to Windows 3.1 in ancient times, that is, 10 floppy disks, but now Vista is 2 GB! It can be seen that a simple logic: the user's device pressure will strengthen the sales and R & D of hardware vendors, so as to provide Microsoft with a higher level of hardware platform. Without such support, what does Gates have for breakfast tomorrow? As the leader in the global software industry, Microsoft looks like a Sb many times, but it is always a drool genius!

Disk C cleanup method: delete the following files.
1, C: \ Documents ents and Settings \ User Name \ Local Settings \ temp \ All files (user temporary files) can be deleted;
2, c: \ Documents and setting \ User Name \ cookies \ All files (retained index) can be deleted;
3, C: \ Documents and Settings \ User Name \ Local Settings \ Temporary Internet Files \ All files (page files) can be deleted;

4, C: \ Documents and Settings \ User Name \ Local Settings \ histoy \ All files (History) can be deleted;
5, c: \ Documents ents and Settings \ User Name \ recent \ All files (shortcuts for recently viewed files) can be deleted;
6. All files (temporary files) under c: \ windows \ temp \ can be deleted;
7, c: \ windows \ servicepackfiles \ (upgrade SP1 and SP2
After the backup file) can be deleted;
8, c: \ windows \ softwaredistribution \ Download \ files can be deleted;
9. c: \ windows \ system32 \ dllcache \ DLL file. This is a backup DLL file. You can delete it if you have copied the installation file;
10, c: \ windows \ driver cache \ i386 \ (hardware backup file) can be deleted.
11. If you have upgraded windows updade, you can delete hidden files starting with "C: \ WINDOWS \" $ U ".
After the above files are deleted, the space on the drive C is greatly increased, and the host will be faster. In addition, you must fragment the drive C, start-Program-accessories-System Tools-
Disk fragmentation; after finishing, clear the disk: Start-Program-accessories-System Tools-Clear the disk; after finishing, create a system restore point: start-Program-accessories-System Tools-system restoration (Restore origin creation ). Disable system restoration. In the future, if your system has a problem, we can use the system to restore to the status before the just-created Restore Point.

12. Uninstall unnecessary components (such as MSN and Outlook Explorer) and disable the "Error Report" method that is useless to us: my computer-properties-advanced-click "Error Report". In the displayed "Error Report" dialog box, select "Disable ". Press "OK ".

After the above processing, the disk C will be much larger. In addition, when downloading any files in the future, do not put them on drive C. You can put them on drive D or drive E. This will be much easier to clean up !!

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.