WinSxS is an important directory under the Windows directory, the files inside are not removable. 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 usage time continues to increase, the size of the winsxs folder will become larger, and gradually become a piece of “赘肉””! For the system disk space is not very wealthy friends, this is fast “赘肉” 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 “赘肉” is thrown into other hard disk partitions to make more unused space for the system disk and make the system run faster. Below, I will use Windows 7 as an example to introduce you to the specific steps
Tips: The role of the winsxs folder
winsxs is a very important Windows directory for VISTA/Windows 7. The folder, there are many important components in the 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 forcefully delete it, you may only be able to enter Windows in safe mode, and Windows will also hang up.
Step 1: Create a link. First download the "PendMoves and MoveFile" from the official, and then extract the downloaded ZIP file compression package named "PrdMoves" to the "X:\\Windows\\System32" directory (X is the system disk, the same below); Click the menu “Start & mdash; Run”, then go to Cmd in the pop-up “Run” dialog and press “Ctrl+Shift+Enter"shortcut to run Cmd as administrator and open” Command prompt “ window; the last two cursors in the last window execute the following two commands (press the Enter key for each command input),
cd \\windows
mklink /X winsxs.link winsxs.moved
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 on the ““winsxs” folder in the directory and select “Attributes” to open the ““winsxs attribute&rdquo” ; the "Security" tab of the dialog box and click the "Advanced" button on the tab, then switch to "Owner" in the new pop-up "Winsxs Advanced Security Settings" dialog box. ; tab and click the "Edit" button on 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 executing the two DOS commands in the first step, execute the following two commands at the "Command Prompt" window cursor:
movefile? X:\\Windows\\winsxs? X: \\Windows\\winsxs.moved movefile? X:\\Windows\\winsxs.link? X:\\Windows\\winsxs
The meanings of these two DOS commands are: Will be in the directory of "X:\\Windows” “winsxs” folder renamed to "winsxs.moved", renamed "winsxs.link" in the "X:\\Windows" directory to winsxs.
Complete folders and files After renaming the work, restart the system, and copy all the contents of the “winsxs.moved” folder in the "X:\\Windows" directory to a hard disk partition outside the system disk"Windows, winsxs” Under the directory (such as “D:\\Windows\\winsxs”).
Step 4: Establish associations and delete the folder "winsxs.moved". 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 "ldsxs" in the directory "X:\\Windows", and then create a new link with the same name, pointing to “ D:\\windows\\winsxs” directory.
After completing the creation of a new link to the "D:\\windows\\winsxs" directory named "ldsxs", restart the system and finally the directory under "X:\\Windows" The folder named "winsxs.moved" can be deleted.
Throwing the “赘肉”winsxs folder into a different partition than 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. It's a thing. 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.
I believe that everyone has some understanding of remote control, generally when we need remote cont
1, open the browser, enter the router address (some router address on the back of the router) Exampl
Win7 open the web browser prompts 502 Bad Gateway error of three solutions method, turn off the p
Download recover4all recovery software, open the software, click the search option in the upper left
Win7 system you shut down by keyboard shortcuts
Win7 system installer prompt error code 80070003 how to do?
How to retrieve the Win7 local connection?
What should I do if Win7 opens the Device Manager window?
How to delete the IE browser error certificate
Windows7 has no sound solution
Win7 system computer set NIC bridge to achieve multiplayer CS game method
How to deal with the sound card after Win7 adds a memory stick?
Win7 system can not register the Flash control solution
Win7 system opens the webpage prompt application has been blocked by JAVA security how to do
Win7 upgrade win10 system every day after the regular boot how?
Windows XP system wireless network security
How to close Win7 automatically to Win10? Close the win7 system to win10 system
After the upgrade win10 system appears to play a game lol insufficient memory Solution
Step-by-step illustration of the quick installation of the Windows XP operating system
How to prohibit users from replacing Windows 8 system theme
Windows 8 is much more than Windows 7
Linux installation ARM-LINUX-GCC
In the Win10 Start menu, do you know where to log out?
How to change the Win7 boot screen? How to change Win7 boot screen