Can I delete the file C:\Windows\winsxs\ManifestCache to increase disk space?

Anonymous
2010-09-15T20:24:24+00:00

Original title: problem with hard drive memory reducing rapidlyH

i there

My Laptop Hard Drive has a 60GB memory and since about March this year it has been filling up.In march I had used only 18GB of the Hard Drive now I have used 50GB plus.I have found a file on my hard drive that takes up 30GB and it is C:\Windows\winsxs\ManifestCache.What I would like to know is can this file be deleted or reduced somehow.

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2010-09-16T10:16:49+00:00

Hi,

All the necessary files for specific additions, roles, applications will be contained in the %windir%\Winsxs directory. The %windir%\winsxs folder (also referred to as the component store) is used to store all the installation source files that are needed for Windows to service itself and its optional components, which takes the place of the traditional flat from media.

To achieve saving some space there is a workaround – to manually delete some folders from WINSXS. Take great care what folders you can delete, because you may break the functionality of your Windows installation and render your product unsupported.

a. Click on start and type cmd in the search bar and right click on cmd.exe in the search pane and click Run as administrator.

n. Navigate to folder C:\Windows\Winsxs

c. Run this command:

   Net stop trustedinstaller

NOTE: Wait for this service to stop and ensure it stops successfully. If you are unable to stop the service, you must restart your machine. Do not attempt the next step if you are unable to stop the trustedinstaller service.

d. Then execute these commands:

   Takeown /f %windir%\winsxs\ManifestCache\*

e. You should now have available, some more free disk space.Hope this helps.   Del /q %windir%\winsxs\ManifestCache\*   Icacls %windir%\winsxs\ManifestCache\ /GRANT administrators:F*


Thanks and Regards:

Shekhar S - Microsoft Support. Visit our Microsoft Answers Feedback Forum and let us know what you think.

If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

33 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-08-28T03:14:58+00:00

    Hi Shekhar / Robert,

    My manifest files are in 'Manifest' folder and not 'ManifestCache'. There are currently 24K + files in the manifest folder. Also when I run the above command in ManifestCache folder, I get the Invalid Switch - "GRANT" error.

    I guess their is some problem in my Manifest folder as all my antivirus scan hangs up after coming in this folder... Please suggest.

    Thanks in advance for your help.

    Regards,

    Mayur

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2012-09-22T05:38:48+00:00

    Hi,

    All the necessary files for specific additions, roles, applications will be contained in the %windir%\Winsxs directory. The %windir%\winsxs folder (also referred to as the component store) is used to store all the installation source files that are needed for Windows to service itself and its optional components, which takes the place of the traditional flat from media.

    To achieve saving some space there is a workaround – to manually delete some folders from WINSXS. Take great care what folders you can delete, because you may break the functionality of your Windows installation and render your product unsupported.

    a. Click on start and type cmd in the search bar and right click on cmd.exe in the search pane and click Run as administrator.

    n. Navigate to folder C:\Windows\Winsxs

    c. Run this command:

       Net stop trustedinstaller

    NOTE: Wait for this service to stop and ensure it stops successfully. If you are unable to stop the service, you must restart your machine. Do not attempt the next step if you are unable to stop the trustedinstaller service.

    d. Then execute these commands:

       Takeown /f %windir%\winsxs\ManifestCache\*

    e. You should now have available, some more free disk space.Hope this helps.   Del /q %windir%\winsxs\ManifestCache\*   Icacls %windir%\winsxs\ManifestCache\ /GRANT administrators:F*


    Thanks and Regards:

    Shekhar S - Microsoft Support. Visit our Microsoft Answers Feedback Forum and let us know what you think.

    If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.

    Hi, Had a couple of questions.

    1. Is step "b" labeled "n" for some strange reason?
    2. Does step "e" also include typing in the command: "Del /q %windir%\winsxs\ManifestCache\*   Icacls %windir%\winsxs\ManifestCache\ /GRANT administrators:F" ?*

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2011-10-27T02:51:31+00:00

    help please! my command prompt  shows C:\Users\Username>

    then i  put in   n. and it does nothing but say 'it is not recognized as internal or external command'

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2011-10-26T15:05:59+00:00

    did you execute the following:

    Navigate to folder C:\Windows\Winsxs

    c. Run this command:

       Net stop trustedinstaller

    NOTE: Wait for this service to stop and ensure it stops successfully. If you are unable to stop the service, you must restart your machine. Do not attempt the next step if you are unable to stop the trustedinstaller service.

    If you get no response in the command window you can go to the windows "Services.msc" look for Windows Module Installer Service which is the TrustedInstaller Service" and stop it manually.

    It may already be stopped.

    Then  finish the commands stated by Shekhar:

    execute these commands:

       Takeown /f %windir%\winsxs\ManifestCache\* e. You should now have available, some more free disk space.Hope this helps.   Del /q %windir%\winsxs\ManifestCache\*   Icacls %windir%\winsxs\ManifestCache\ /GRANT administrators:F*


    "

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments