2011年5月8日 星期日

安裝Windows 7 SP1後出現嚴重錯誤 C0000034....

今天心血來潮地安裝Windows update所建議的更新,Windows 7 SP1結果是惡夢的開始。
下載安裝沒立即重新啟動,而是就關機後給他自行安裝一共有24個要安裝的東東,從17:00給他安裝一直到22:00卡在已安裝18程式/還剩下24個程式的畫面。於是,就給他強制重新開機啦!開機後就出現...

嚴重錯誤 C0000034套用更新操作283/101210(_0000000000000000.cdf-ms)


解決方法:修改C:\Windows\winsxs\pending.xml 取消SP1更新的套用
一直卡在這無法進入到桌面,上網找到一篇有用的資訊如下:
資料來源:Windows 7 Ultimate SP1 installation fails with error code c0000034

01. Reboot your computer while it's starting up.

02. When your computer starts up again, choose the option "Launch Startup Repair" 

03. When the Startup repair starts, click cancel.

04. After you click cancel it will show a box. Click "Don't Send" 

05. Click the link "View advanced options for recovery and support"

06. In the new window click Command Prompt at the bottom.

07. In Command Prompt type this and press enter: %windir%\system32\notepad.exe

08. Notepad will open. In notepad go to File-->Open.

09. Change the type of files notepad views from .txt to All Files (see pic)

10. Now in Notepad, go to C:\Windows\winsxs\ (or whichever drive Windows is installed on)

11. In that folder, find pending.xml and make a copy of it

12. Now open the original pending.xml (it will load really slow because the file is huge)

13. Press CNTRL+F and search for the following exactly: 0000000000000000.cdf-ms

14. Delete the following text (yours will be a little different):
<Checkpoint/>
<DeleteFile path="\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms"/>
<MoveFile source="\SystemRoot\WinSxS\Temp\PendingRenames\e56db1db48d4cb0199440000b01de419._0000000000000000.cdf-ms" destination="\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms"/>


Your PC might not have all 3 sections of code (<Checkpoint>, <DeleteFile>, <MoveFile>). Just make sure you delete section "Checkpoint" and whatever other sections have "000000000000000.cdf-ms". They will be right next to eachother.

15. Save the file, close notepad, close command prompt, restart your computer.


Once your computer starts up, do a normal startup (it may stall for 5-10 minutes at the "starting windows" screen, but leave it going) and the Service Pack will install some more stuff and restart a few times and then everything should be working! For some people, it reverts everything and cancels the service pack installation. For other people, the service pack installation completes. Either result is fine.

沒有留言:

張貼留言