A few tricks to make Windows 7 run faster

  
        

I don't know if you noticed it. In the Windows directory of the Vista and Windows 7 system disks, there is a folder called winsxs. For the entire Windows directory, this folder takes up more than half of its volume. 3GB) Not only that, as the system usage time continues to increase, the size of the winsxs folder will become larger, and I have more 4G now, this is really a piece of meat! Think about it! For those who are not very wealthy in the system disk space, this fast "smashing meat" will inevitably slow down the system. If it's just for this reason, it's too much trouble to repartition the hard drive to make the system disk space bigger and then reinstall the system! In fact, we can take a simpler way to throw winsxs into the other hard disk partitions, free up more unused space for the system disk and make the system run faster. Below, the author uses Windows 7 as an example to introduce you to the specific steps.

Tips:
The role of the winsxs folder

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

Step 1: Establish a link. First download "PendMoves and MoveFile" from http://technet.microsoft.com/en-us/bb897556.ASPx, and then extract the downloaded ZIP format compression package named "PendMoves" to "X:\\Windows\\System32" Under the directory (X is the system disk, the same below); then click the menu "Start - Run", then in the pop-up "Run" dialog box, enter and exit Cmd and press the "Ctrl + Shift + Enter" shortcut to the administrator Run Cmd as the identity, open the "command prompt" window; at the cursor of the last window, execute the following two commands in sequence (press the Enter key for each command input),

cd \\Windows
mklink /X winsxs.link winsxs.moved

Tips:
The meaning of the DOS command "mklink /X winsxs.link winsxs.moved" is to create a winsxs.moved named winsxs.moved the link to.

Step 2: 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" dialog box for "winsxs Properties". Tab and click the "Advanced" button on the tab, then switch to the "Owners" tab in the newly popped "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-container and object owner" checkbox, and finally click the "OK" button.

Step 3: Rename and copy files. After performing the two DOS commands in the first step, execute the following two commands in sequence at the cursor at the Command Prompt window:

movefile? X:\\Windows\\winsxs? X:\\Windows \\winsxs.moved
movefile? X:\\Windows\\winsxs.link? X:\\Windows\\winsxs
Tips:

The meaning of these two DOS commands is: "X:\\ Rename the "winsxs" folder in the "Windows" directory to "winsxs.moved" and rename "winsxs.link" in the "X:\\Windows" directory to winsxs.

After completing the renaming of folders and files, restart the system, and then copy all the contents of the "winsxs.moved" folder under the "X:\\Windows" directory to a system disk. You can use the "Windows, winsxs" directory of the hard disk partition (such as "D:\\Windows\\winsxs").

Step 4: Establish associations 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 meaning of the 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:\\Windows\\winsxs" directory. .

After completing the creation of a new link named "winsxs" in the "D:\\windows\\winsxs" directory, then restart the system and finally the "X:\\Windows" directory named "" Winsxs.moved "The folder can be deleted.

Throwing the "small meat" winsxs folder to other partitions outside the system disk, thus freeing up more unused space for the system disk. Windows 7 can run faster. This is of course a matter of course. . A friend who needs this may wish to give it a try.
??????
If you accidentally deleted winsxs, you can restore this

Get a system disk and then enter sfc /scannow in the start run bar to fix it

Copyright © Windows knowledge All Rights Reserved