For friends whose system disk space is not very rich, it will inevitably slow down the running speed of the system. If it is only for this reason, it will be too much trouble to repartition the hard disk to make the system disk space larger and then reinstall the system! In fact, we can take a simpler method, throw winsxs into other hard disk partitions, and make more unused space for the system disk to make the system run faster. Let's take Windows7 as an example to introduce you to the specific operation steps, and so does Vista.
The role of winsxs folder
Winsxs is a very important folder in the Windows directory of VISTA/Windows 7. There are many important components in this folder, and the version is also very complicated. In order to ensure the normal operation of Windows, the files in it cannot be deleted. These folders support mscorwks.dll, and nmscorwks cannot be loaded without them. If you forcibly delete it, you may only be able to barely enter Windows in safe mode, and Windows will "hang up".
Step one: establish contact. Download "PendMoves and MoveFile" from the official, and then extract the downloaded ZIP compressed package named "PendMoves" into the directory "X: \ Windows \ System32" (X is the system disk, the same below); Click "Start-Run" in the menu, then enter exit Cmd in the pop-up "Run" dialog box and press the shortcut key "Ctrl+Shift+Enter" to run Cmd as an administrator to open the "Command Prompt" window; At the cursor of the last window, execute the following two commands in turn (press Enter for each command, the same below).
cd \windows
mklink/X winsxs . link winsxs . moved
Step 2: Get full control of the winsxs folder. Double-click the "Computer" icon on the desktop and navigate to the "X: \ Windows" directory in turn; Then right-click the "winsxs" folder in this directory, select Properties, open the "Security" tab of the "winsxs Properties" dialog box, click the "Advanced" button of this tab, and then switch to the "Owner" tab in the newly popped "winsxs Advanced Security Settings" dialog box, and click the "Edit" button of this tab; In the pop-up dialog box, select the "Administrator" option, check the "Replace the owner of sub-containers and objects" check box, and finally click the "OK" button.
Step 3: Rename and copy the file. After executing the two DOS commands in the first step, execute the following two commands in turn at the cursor of the command prompt window:
movefile X:\ Windows \ winsxs X:\ Windows \ winsxs . moved movefile X:\ Windows \ winsxs . link X:\ Windows \ winsxs
The meanings of these two DOS commands are: rename the "winsxs" folder in the "X: \ Windows" directory to "winsxs.moved" and rename "winsxs.link" in the "X: \ Windows" directory to winsxs.
After 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 the hard disk partition other than the system disk (for example, "D: \ Windows \ winsxs").
Step 4: Establish association and delete the "winsxs.moved" folder. Run Cmd as an administrator again, and then execute the following three commands in turn at the cursor:
cd \windows
rmdir winsxs
mklink/X winsxs D:\ windows \ winsxs
The last two DOS commands mean: 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 creating a new link named "winsxs" pointing to the "D: \ Windows \ winsxs" directory, then restart the system, and finally delete the folder named "winsxs.moved" under the "X: \ Windows" directory.
Throw the "fat" winsxs folder into other partitions other than the system disk, thus freeing up more unused space for the system disk, and Windows 7 can naturally run faster. Friends in need may wish to have a try.
If you accidentally delete winsxs, you can restore it like this: take a Windows7 system installation disk and repair the system with one click in Windows7 optimization master and Vista optimization master.
But it is not recommended for novice friends to operate this folder directly. If you want to lose weight on the system disk, you can still use the Rubik's Cube produced by soft media, Vista optimizer or the system slimming function in Windows7 optimizer.