1. CMD as admin
  2. Takeown /f %windir%\winsxs\temp\PendingRenames /a
  3. icacls %windir%\winsxs\temp\PendingRenames /grant “NT AUTHORITY\SYSTEM:(RX)”
  4. icacls %windir%\winsxs\temp\PendingRenames /grant “NT Service\trustedinstaller:(F)”
  5. icacls %windir%\winsxs\temp\PendingRenames /grant BUILTIN\Users:(RX)
  6. Takeown /f %windir%\winsxs\filemaps\* /a
  7. icacls %windir%\winsxs\filemaps\*.* /grant “NT AUTHORITY\SYSTEM:(RX)”
  8. icacls %windir%\winsxs\filemaps\*.* /grant “NT Service\trustedinstaller:(F)
  9. icacls %windir%\winsxs\filemaps\*.* /grant BUILTIN\Users:(RX)
  10. net stop cryptsvc
  11. net start cryptsvc