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

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.

 

Question Info


Last updated April 22, 2019 Views 166,237 Applies to:
Answer
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.
Thanks and Regards,
Shekhar Sharma

120 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.