移除 Win7 的 Service pack 備份檔 (並非移除 Service pack)
用 [系統管理者權限] 開啟 cmd.exe 並執行
dism /online /cleanup-image /spsuperseded
這樣就完成了~ 很簡單吧!~
dism /online /cleanup-image /spsuperseded
sc stop msiserver sc stop TrustedInstaller sc config msiserver start= disabled sc config TrustedInstaller start= disabled
icacls "%WINDIR%\WinSxS" /save "%WINDIR%\WinSxS.acl" /t
takeown /f "%WINDIR%\WinSxS" /r
icacls "%WINDIR%\WinSxS" /grant "%USERDOMAIN%\%USERNAME%":(F) /t
compact /s:"%WINDIR%\WinSxS" /c /a /i *
icacls "%WINDIR%\WinSxS" /setowner "NT SERVICE\TrustedInstaller" /t
icacls "%WINDIR%" /restore "%WINDIR%\WinSxS.acl"
sc config msiserver start= demand sc config TrustedInstaller start= demand
Background Intelligent Transfer Service Cryptographic Services Windows Update