Competent cleaning of the "WINSXS" folder in Windows 7

Anonim

Clearing WinSXS folder in Windows 7

One of the most massive folders in Windows 7, which occupies a significant space on the C drive, is the "WINSXS" system directory. In addition, he has a trend towards constant growth. Therefore, many users have a temptation to clean this directory to make room on Winchester. Let's figure out what data is stored in "WINSXS" and can it brush this folder without negative consequences for the system.

Updates are installed in the Windows Update Center window in the Control Panel in Windows 7

Next, we consider various ways to clean the "WINSXS" directory using the CleanMGR utility.

Lesson: Installing Windows Updates 7 manually

Method 1: "Command Line"

The procedure you need can be performed using the "command line" through which the CleanMGR utility is launched.

  1. Click "Start". Click "All Programs".
  2. Transition to all programs using the Start button in Windows 7

  3. Come to the "Standard" folder.
  4. Go to the Standard Catalog using the Start button in Windows 7

  5. In the list, find the "Command Line". Click on the name of the right mouse button (PKM). Choose the option "Run on the administrator".
  6. Running the command line on behalf of the administrator through the context menu from the standard directory using the Start button in Windows 7

  7. Activation "Command Line" is performed. Drive the following command:

    Cleanmgr.

    Press ENTER.

  8. Launch the CleanMGR utility by entering the command in the command line interface in Windows 7

  9. A window opens where it is proposed to select a disk in which cleaning will be performed. By default, the C section must stand it and leave if your operating system has a standard location. If it, for any reason, is installed on another disk, then select it. Click "OK".
  10. Select a disk for cleaning in the Windows 7 dialog box

  11. After that, the utility assesss the amount of space that it can be cleaned when the appropriate operation is carried out. It may take a certain time, so take patience.
  12. Estimation of the scope of a place that can be released on a disk with a disk cleaning program in Windows 7

  13. A list of the system objects that are subject to cleaning will open. Among them, be sure to find the position "Clearing Windows Updates" (or "Backup files of the update package") and put the mark near it. This position is responsible for cleaning the WINSXS folder. Opposite the remaining items, place the flags at their discretion. You can remove all other marks if you do not want to clean anything else, or note those components where you also want to remove the garbage. After that click "OK".

    Running disk cleaning in the Cleaning Window in Windows 7

    Attention! In the "Clearing Disk" window, the "Clearing Windows Updates" item may be missing. This means that in the WinSXS catalog there are no elements that could be removed without negative consequences for the system.

  14. A dialog box opens where the question is asked if you want to clean the selected components. Create by clicking "Delete Files".
  15. Confirmation of the removal of the file cleaning utility in the Windows 7 dialog box

  16. Next, the CleanMGR utility will clean the WINSXS folder from unnecessary files and then automatically closes.

Removal File Removal Procedure Disk Cleaning in Windows 7

Lesson: Activation of the "Command Line" in Windows 7

Method 2: Windows graphical interface

Not every user is convenient to run utilities through the "Command Line". Most users prefer to do this using the OS graphical interface. It is quite fulfilled in relation to the CleanMGR tool. This method, of course, is more understandable for a simple user, but as you will see, will take more time.

  1. Click "Start" and go on the inscription "Computer".
  2. Switching on the inscription computer through the Start menu in Windows 7

  3. In the opened "Explorer" window in the list of hard drives, find the name of that partition where the current Windows OS is installed. In the overwhelming majority of cases, this is a C drive. Click on the PCM. Choose "Properties".
  4. Switch to the properties of the C disk properties in Windows Explorer using the context menu in Windows 7

  5. In the appeared window, press "Cleaning the disk".
  6. Go to Cleaning a C Cleaning from the General tab of the disk properties in Windows 7

  7. Exactly the same procedure for evaluating the cleaned space, which we have seen when using the previous method will be launched.
  8. The procedure for estimating the volume of the place that can be released on a disk with a program for cleaning the disk in Windows 7

  9. In the window that opens, do not pay attention to the list of items to be cleaned, and press "Clear System Files".
  10. Go to the system file cleaning window from the disk cleaning window in Windows 7

  11. A re-evaluation of the exempted place on the drive will be performed, but already taking into account the system elements.
  12. The procedure for estimating the volume of the place that can be released on a C disk from system files to a disk cleaning in Windows 7

  13. After that, exactly the same window "Cleaning the disc", which we observed in the method 1. Next, you need to produce all the actions that have been described in it starting from paragraph 7.

Disk Cleaning Window in Windows 7

Method 3: Automatic cleaning "WINSXS"

In Windows 8, it is possible to configure the WinSXS folder cleaning schedule through the job scheduler. In Windows 7, such an opportunity, unfortunately, is missing. Nevertheless, you can still schedule periodic cleaning through the same "command line", although without a flexible schedule setting.

  1. Activate the "Command Line" with administrative rights by the same method that was described in the method of this manual. Enter the following expression:

    :: WinSXS Catalog Cleaning Options

    REG Add "HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ Currentversion \ Explorer \ VOLUMECACHES \ UPDATE CLEANUP" / V stateflags0088 / t reg_dword / d 2 / f

    :: Time Cleaning Parameters

    REG Add "HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ Currentversion \ Explorer \ Volumecaches \ Temporary Files" / V StateflagS0088 / T Reg_DWORD / D 2 / F

    :: Generation of the planned task "CleanUpwinsxs"

    Schtasks / Create / TN CleanUpwinsxs / RL HIGHEST / SC MONTHLY / TR "CLEANMGR / SAGERUN: 88"

    Click ENTER.

  2. Created a monthly cleaning task WINSXS folder using the CleanMGR utility by entering a command line interface in Windows 7

  3. Now you have scheduled the procedure for the monthly cleaning of the "WINSXS" folder using the CleanMGR utility. The task will be performed automatically 1 time per month of the 1st, without direct user participation.

As you can see, in Windows 7, you can clear the "WINSXS" folder both through the "Command Line" and through the OS graphical interface. You can also by entering commands to schedule periodic launch of this procedure. But in all cases listed above, the operation will be performed using the CleanMGR utility, a special update to which in the case of its absence on the PC, you need to install through the standard Windows Update algorithm. It is very important to remember any user: to clean the "WINSXS" folder manually by deleting files or using third-party programs is strictly prohibited.

Read more