Give winsxs folder to lose weight in Windows 7 system

  
        WinSxS is an important directory under the Windows directory, and the files inside are not deleteable. There are many important components under WinSxS, and the version is very complicated. In order to ensure the normal operation of Windows, please make sure that these files are not enough. For this reason, as the system's usage time continues to increase, the size of the winsxs folder will become larger, and it will gradually become a piece of "clam meat"! For the system disk space is not very wealthy friends, this is fast "It will inevitably slow down the system." If for this reason only, re-partition the hard disk to make the system disk space bigger, and then reinstall the system, this is really too much trouble! In fact, we can take an easier way to winsxs this A piece of "clam meat" is thrown into the other hard disk partitions, making more unused space for the system disk and allowing the system to run faster. Here, the author as an example to Windows7, to tell you about the specific steps

Tips: the role of

winsxs winsxs folder is the Windows directory under Vista /Windows7 is a very important document Folder, there are many important components in this folder, the version is also very complicated, in order to ensure the normal operation of Windows, the files inside can not be deleted, these folders support mscorwks.dll, without them nmscorwks can not be loaded. If you force the deletion, you may only be able to enter Windows in safe mode, and Windows will "hang".

first step: establish the link. First download "PendMoves and MoveFile" from the official, and then extract the downloaded ZIP format compression package named "PendMoves" to the "X:WindowsSystem32" directory (X is the system disk, the same below); then click the menu "Start - Run", then go to Cmd in the pop-up "Run" dialog box and press the "Ctrl+Shift+Enter" shortcut to run Cmd as administrator and open the "Command Prompt" window; the cursor at the last window is executed in turn. the following two commands (each command input must press the enter key a, the same below)

cdWindows

mklink /Xwinsxs.linkwinsxs.moved

Step: Get full control over the winsxs folder. Double-click the "Computer" icon on the desktop, and then navigate to the "X:Windows" directory; then right-click the "winsxs" folder in the directory and select "Properties" to open the "Security" option of the "winsxs Properties" dialog box. Card and click the "Advanced" button on the tab, then switch to the "Owners" tab in the new pop-up "Winsxs Advanced Security Settings" dialog and click the "Edit" button for the tab; In the pop-up dialog box, select the "Administrators" option and check the "Replace sub-containers and object owners" checkbox, and finally click the "OK" button.

The third step: rename and copy files. After you perform the first operation of the two DOS command, and then execute the "Command Prompt" window, the cursor followed the following two commands:?

movefile X: Windowswinsxs X:? Windowswinsxs.movedmovefile X? : Windowswinsxs.link X:? Windowswinsxs

meaning of these two DOS commands are: the "X: Windows" "winsxs" directory of the file folder rename "winsxs.moved", the "X : Windows winsxs.link "directory". "after rename winsxs

complete folder and file renaming work, then restart the system, then" X: winsxs "directory" Windows Copy all the contents of the .moved folder to the "Windows, winsxs" directory of a hard disk partition outside the system disk (such as "D: Windowswinsxs").

Step four: associate and delete "winsxs.moved" folder. Once again as an administrator to run Cmd, and then executed at the cursor turn the following three commands:

cd Windows

rmdirwinsxs

mklink /XwinsxsD:? Windowswinsxs
< BR> The meaning of the last two DOS commands is: delete the link named "winsxs" in the "X:Windows" directory, and then create a new link with the same name, pointing to the "D:Windowswinsxs" directory.

completion point: After you create a job "D windowswinsxs" new link directory called "winsxs", and then reboot the system again, and finally entitled: "winsxs.moved" under the "X Windows" directory The folder can be deleted.

the "fat" winsxs folder thrown into the other partition other than the system disk, thus freeing up more unused disk space for the system, Windows7 can run faster this course for granted things. A friend who needs this may wish to give it a try. If you accidentally delete winsxs, you can restore it by taking a system disk and typing sfc/scannow in the Start Run field to fix it.
Copyright © Windows knowledge All Rights Reserved