一.無法更新

進入C:\Windows\SoftwareDistribution\DataStore及C:\Windows\SoftwareDistribution\Download裡面的資料全部刪除

進入C:\Windows\winsxs 裡面pending.xml及reboot.xml刪除

重新開機,在Update

二.Windows 7 Sp1更新失敗,出現0x8004100e

在開始菜單的搜索框中輸入“cmd”,在搜索結果中的“cmd.exe”上點擊鼠標右鍵,選擇“以管理員身份運行”,啟動提升后的命令行窗口,然后運行下列命令

winmgmt /verifyrepository

如果運行后結果說WMI存儲庫不一致,那么就可以確定是這里出錯了,按照下列方法修復(下列命令需要在提升后的命令行中運行):

 建議:執行下列操作之前最好首先創建一個還原點,一旦遇到更嚴重錯誤,還可以直接恢復
 1.運行  net stop winmgmt
 2.運行  ren %windir%\System32\Wbem\Repository Repository_backup
 3.運行  net start winmgmt
 4.運行  winmgmt /salvagerepository
 5.運行  cd /d %windir%\system32\wbem
 6.運行  for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
 7.運行  for /f %%s in ('dir /b *.mof *.mfl') do mofcomp %%s
 8.運行  wmiprvse /regserver
 9.運行  winmgmt /regserver
 10.重啟動電腦

arrow
arrow
    全站熱搜

    suchunta 發表在 痞客邦 留言(0) 人氣()