What file is WinSxS under Windows C?

Source: Internet
Author: User
Tags parent directory safe mode winsxs folder

what file is WinSxS?

Many fans say the C:windowswinsxs folder has a lot of system files, taking up up to 5G of space. I believe many netizens want to delete this file and then can make more space!

So winsxs this file can be deleted? Let's get to know what kind of folder WinSxS this is, because a lot of people do not know this folder, so still do not know whether to delete it? Let's have a look at it together!

The files inside the WinSxS are all system-necessary files, so you can't delete, there are a lot of files in the System32 folder with the duplication, of course, you do not have to worry about the problem of disk space, because the duplicate files are occupied a file space, to ensure that in a document missing, There's another one on the top. In addition, the rest of the file is WinSxS unique files, but also the system must, and will only take up a little space.

So the small part suggests that you do not delete this file Oh!

If you really want to delete, then start to learn how to optimize the WinSxS, to your C disk to do a big weight (novice do not operate OH)

(1). I don't know if you've noticed. 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, As the system continues to use more time, the volume of the WinSxS folder will become larger, I am now more than 4G,

(2). This is really a "fat" Ah! Think about it! For the system disk space is not very rich friends, this quick "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 approach, WinSxS this piece of "fat" into other hard disk partitions, Make the system run faster by freeing up more unused space for the system disk. Below, I take windows 7 as an example, to introduce you to the specific procedures.

(3). Tips:

The role of the WinSxS folder

WinSxS is a very important folder in Vista/windows7 's Windows directory, which has a number of important components, the version is also very complex, in order to ensure the normal operation of Windows, the file inside is 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".

(4). Specific procedures

The first step: Create a link. Download "Pendmoves and MoveFile" from Http://technet.microsoft.com/zh-cn/bb897556.aspx first!

Then unzip the downloaded ZIP format compressed package named "Pendmoves" to the "X:windowssystem32" directory (X is the system disk, the same below);

Right-click the menu "Start-All Programs-attachments-command Prompt" to run as an administrator, open the Command Prompt window, and then execute the following two commands at the cursor at the end window (press ENTER for each command)

CD c:windows

MKLINK/D Winsxs.link winsxs.moved

Tips:

Because you are running as an administrator and the default path is x:windowssystem32 when you open it, you need to relocate to the Windows folder and use the CD. Return to the parent directory can also

The meaning of dos command "mklink/d winsxs.link winsxs.moved" is to create a directory link to winsxs.moved named Winsxs.link.

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.

All you need to know is that you have to set permissions before executing the command, or you will be prompted error:5!

Step three: Rename and copy files. After you complete the two DOS commands in the first step, follow the following two commands at the cursor at the command Prompt window:

MoveFile X:windowswinsxs x:windowswinsxs.moved

MoveFile X:windowswinsxs.link X:windowswinsxs

Tips:

The meanings of these two DOS commands are: rename the "WinSxS" folder under the "X:windows" directory to "winsxs.moved" and rename "Winsxs.link" under the "x:windows" 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: Windowswinsxs ") can be.

After the reboot, the file name is changed:

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 point:

Cd..

RmDir WinSxS

MKLINK/D WinSxS D:windowswinsxs

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:windowswinsxs" directory.

When you finish creating a new link to the "D:windowswinsxs" directory named "WinSxS", restart the system, and then delete the folder named "Winsxs.moved" in the "X:windows" directory.

Fat meat "The WinSxS folder is thrown into a partition other than the system disk, 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.

(5). WinSxS folder How to recover if it is deleted

If you accidentally remove the WinSxS, you can restore this way, take a system disk and then enter the Sfc/scannow in the beginning of the run bar can be repaired!

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

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.