Indows7 speed up, WinSxS folder optimization

Source: Internet
Author: User
Tags safe mode winsxs folder
In the Windows directory of Vista and WINDOWS7 system disks, there is a folder called WinSxS, which occupies more than half of its volume (nearly 3GB) for the entire Windows directory, and as the system continues to use longer, The volume of the WinSxS folder will become larger, I now have more than 4G, this is a piece of "fat" Ah!


for the system disk space is not very rich friends, this fast "fat" will inevitably slow down the system's operating speed. If it's just for this reason, repartition the hard disk to make the system disk more space, and then reload the system, which is too much trouble! In fact, we can take a simpler way, WinSxS this piece of "fat" to other hard disk partitions, to make the system disk more unused space to allow the system to run faster. Below, I take windows 7 as an example, to introduce you to the specific procedures

The role of the
Tips:winsxs folder


WinSxS is a very important folder in the Windows directory of Vista/windows 7, which contains a number of important components, and the version is also very complex, in order to ensure the normal operation of Windows, the files inside are not deleted, These folders support Mscorwks.dll and cannot be loaded without them nmscorwks. If forcibly deleted, may only in Safe mode can reluctantly enter Windows,windows also "hang".


First step: Create a link. First download "Pendmoves and MoveFile" from the official, then extract the downloaded zip-format compressed package named "Pendmoves" into the "X:/windows/system32" directory (X is the system disk, below), and then click "Start-Run" on the menu. Then in the pop-up "Run" dialog box in and out of CMD and press the "Ctrl+shift+enter" shortcut keys, as an administrator to run cmd, open the Command Prompt window, the last window at the cursor to execute the following two commands (each input command to press ENTER, the same below)


cd/windows


mklink/x Winsxs.link winsxs.moved


Step two: Get full control of the WinSxS folder. Double-click the computer icon for the desktop, navigate to the X:/windows directory, right-click the WinSxS folder in the directory, select Properties, open the Security tab of the WinSxS Properties dialog box, click the Advanced button on the tab, and then in the new pop-up WinSxS The Advanced Security Settings dialog box, switch to the Owner tab and click the Edit button on the tab; Select the "Administrators" option in the pop-up dialog box and check the "replace the owner of child containers and objects" checkbox, and then click OK.


The third step: renaming and Copying files. After you complete the two DOS commands in the first step, follow the following two commands in the Command Prompt window cursor:


MoveFile? X:/windows/winsxs? X:/windows/winsxs.moved


MoveFile? X:/windows/winsxs.link? X:/windows/winsxs


The meaning of these two DOS commands is to rename the "WinSxS" folder under the "X:/windows" directory to "winsxs.moved" and rename "/windows" under the "X: Winsxs.link" directory to WinSxS.

After you finish renaming the folders and files, restart the system, and then copy all the contents under the "winsxs.moved" folder in the "X:/windows" directory to the Windows, WinSxS directory of a hard disk partition outside the system disk (such as "d:/"
). Windows/winsxs ") can be.


Step Fourth: Establish an association and delete the "winsxs.moved" folder. Run cmd again as an administrator, and then execute the following three commands at the cursor:


CD? /windows


rmdir WinSxS


mklink/x WinSxS D:/windows/winsxs


The last two DOS commands mean deleting a link named "WinSxS" in the "X:/windows" directory, and then creating a new link with the same name, pointing to the "D:/windows/winsxs" directory. (material)


complete the creation of a new link to the "D:/windows/winsxs" directory named "WinSxS," Restart the system, and then delete the folder named "Winsxs.moved" in the "X:/windows" directory.


the "Fat" WinSxS folder to other partitions outside the system disk, thereby freeing up more unused space for the system disk, and Windows 7 can run faster This is certainly a matter of course. A friend who needs it may as well try it.


If you accidentally delete the WinSxS, you can restore this: get a system disk and then enter Sfc/scannow in the start run to fix it.


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.