D2I | Anibal.Yeh‎ > ‎D2I | NEWS‎ > ‎

Windows檔案權限

posted May 21, 2013, 7:32 AM by 葉宏
Shekhar S replied on 
September 16, 2010
Support Engineer
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
Comments