In the Windows directory of the Vista and Windows 7 system disks, there is a folder named winsxs. For the entire Windows Directory, this folder takes up half of the size (nearly 3 GB, as the system usage time continues to extend, the size of the winsxs folder will become larger. I have more than 4 GB now. This is really a piece of "fat! For friends who are not very wealthy in the space of system disks, this will inevitably slow down the system operation speed. If this is the only reason, it would be too troublesome to repartition the hard disk to make the space of the System Disk larger, and then reinstall the system! Today, the win7 Resource Station teaches you a simpler way to throw winsxs to other hard disk partitions to free up more unused space for the system disk so that the system can run faster.
The following uses Windows 7 as an example to describe the specific operation steps of Windows 7.
TIPS: function of the winsxs folder
Winsxs is a very important folder under the Windows directory of Vista/Windows 7. There are many important components in this folder, and the version is also very complex. To ensure the normal operation of windows, files in the folder cannot be deleted. These folders support mscorwks. DLL. nmscorwks cannot be loaded without them. If you forcibly delete the file, you may only be able to barely enter windows in safe mode, and windows will be "suspended.
Step 1: create a link. Download "pendmoves and movefile" from the official website, decompress the downloaded zip package named "pendmoves" to the "X: \ windows \ system32" Directory (X is the system disk, click "start-Run" in the menu, Enter cmd in the pop-up "run" dialog box, and press the "Ctrl + Shift + enter" shortcut key to run cmd as an administrator, open the "command prompt" window. Execute the following two commands at the cursor of the last window (press the Enter key for each command entered, the same below)
CD \ WINDOWS
Mklink/X winsxs. Link winsxs. Moved
Step 2: obtain full control permissions on the winsxs folder. Double-click the "computer" icon on the desktop, locate the "X: \ windows" directory, right-click the "winsxs" folder under the directory, and select "properties ", open the "Security" tab in the "winsxs properties" dialog box, and click the "advanced" button on this tab, switch to the "owner" tab in the pop-up "winsxs Advanced Security Settings" dialog box and click the "edit" button on the tab; in the displayed dialog box, select the "Administrators" option, select the "Replace sub-container and object owner" check box, and click "OK.
Step 3: Rename and copy files. After executing the two DOS commands in step 1, execute the following commands in sequence at the cursor position in the "command prompt" window:
Movefile? X: \ windows \ winsxs? X: \ windows \ winsxs. Moved movefile? X: \ windows \ winsxs. Link? X: \ windows \ winsxs
The two doscommands are used to rename the "winsxs" folder under the "X: \ windows" directory to "winsxs. moved. link "to winsxs.
After renaming the folder and file, restart the system, and rename winsxs in the "X: \ windows" directory. copy all the content in the moved folder to the "windows, winsxs" Directory (for example, "d: \ windows \ winsxs") in a hard disk partition other than the system disk.
Step 4: Create 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 following two DOS commands mean to delete the "winsxs" Link under the "X: \ windows" directory, and then create a new link with the same name, pointing to "D: \ windows \ winsxs "directory.
After creating a new link pointing to the "D: \ windows \ winsxs" directory named "winsxs", restart the system, and then set "X: \ Windows "directory named" winsxs. you can delete the moved folder.
Throwing the winsxs folder to a partition other than the system disk to free up space for the system disk. Windows 7 can run faster, which of course is a matter of course. If you need it, try it.
If you accidentally delete winsxs, you can recover it by taking a system disk and entering SFC/scannow in the "start running" column.
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.