Fresh Windows 7 installation, Windows update error: 0xc8000222

Anonymous
2011-02-20T01:01:52+00:00

I am using Lenovo Thinkpad W510, my harddisk was Seagate 320GB and it had some bad sectors so I decided to replace it with a 750GB western digital.

After replacement, I reinstalled OS with Lenovo recovery disk. Then my windows update doesn't work any more.When I click "check for updates", the Windows update window refreshes itself and after that nothing happens. When I use Lenovo update and downloaded some hot fixes for windows 7,my manual update with all the manually downloaded patches returns the same error: 0xc8000222.

I tried to install .Net 4.0, also same, error HRESULT: 0xc8000222. My Computer property shows activated status.

Even it's Lenovo problem, why Windows 7 has such a mistake that doesn't allow an activated user to update? It must be some Windows update bug, please check and help me fix this. Thanks.

The following is my information:

Windows 7 64 bit

Fresh window installation, no any patch installed yet (failed to install)

No anit-virus program

Exact step (I tried several times):

  (1) reinstall windows 7 using recovery disk

  (2) download .Net 4.0 (actually any update fails, but it's easier to find links for .Net 4.0), install it 

  (3) installation failure HRESULT: 0xc8000222

  (4) log file for .Net 4.0:

OS Version = 6.1.7600, Platform 2

OS Description = Windows 7 - x64

CommandLine = C:\98df338324089f1141\Setup.exe /x86 /x64

Using Simultaneous Download and Install mechanism

Operation: Installing

Package Name = Microsoft .NET Framework 4 Setup

Package Version = 4.0.30319

Number of applicable items: 11

User Experience Data Collection Policy: Disabled

Exe (C:\98df338324089f1141\SetupUtility.exe) succeeded.

Exe Log File: dd_SetupUtility.txt

ServiceControl operation succeeded!

ServiceControl operation succeeded!

Exe (C:\98df338324089f1141\Windows6.1-KB958488-v6001-x64.msu) failed with 0xc8000222 - (null).

Final Result: Installation failed with error code: (0xC8000222) (Elapsed time: 0 00:00:06).

================

Edit:

I tried Windows update: fix it using program downloaded from this website: http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Update-troubleshooter

The troubleshoot is not able to know the problem. The detailed failure is: Windows update encounters an error while searching for updates. Error code: -939523550.

=================

Edit:

I've checked my windows Log:

System Error Log:

Windows update  could not be installed because of error 3355443746 "" (Command line: ""C:\Windows\system32\wusa.exe" "C:\Program Files (x86)\Lenovo\System Update\session\os7016ww_64\windows6.1-kb975599-x64.msu"        ")

App Error Log:

wuaueng.dll (608) SUS20ClientDataStore: Unable to read the header of logfile C:\Windows\SoftwareDistribution\DataStore\Logs\edb.log. Error -546.

Can anyone tell me what's the problem? Thanks.

======================

Final Edit:

My problem is solved. Do not read any answers here because my problem isn't involved with any virus or similar.

I solved my problem by the following step, I think lenovo recovery fails some directory if the harddisk size is different (I guess)?

Step 3: Rename the temporary folder of Windows Update.

===============

This behavior may occur if the temporary folder of Windows Update has been corrupted. We

can refer to the following steps to rename this folder. Please be assured the folder will

be created again when we visit the Windows Update site again.

  1. Click Start, Run, type: cmd and press Enter. Please run the following command in the

opened window.

net stop WuAuServ

  1. Click Start, Run, type: %windir% and press Enter.
  2. In the opened folder, rename the folder SoftwareDistribution to SDold.
  3. Click Start, Run, type: cmd and press Enter. Please run the following command in the

opened window.

net start WuAuServ

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2011-03-01T09:59:40+00:00

From VincentZhang

===============

This behavior may occur if the temporary folder of Windows Update has been corrupted. We can refer to the following steps to rename this folder. Please be assured the folder will be created again when we visit the Windows Update site again.

  1. Click Start, Run, type: cmd and press Enter. Please run the following command in the opened window.

net stop WuAuServ

  1. Click Start, Run, type: %windir% and press Enter.
  2. In the opened folder, rename the folder SoftwareDistribution to SDold.
  3. Click Start, Run, type: cmd and press Enter.

Please run the following command in the opened window.

net start WuAuServ

Thanks Vincent for taking the time to post this solution - saved me digging through my notes - and to re-iterate check to see if this works before wiping your disk :) J

Was this answer helpful?

80+ people found this answer helpful.
0 comments No comments

59 additional answers

Sort by: Most helpful
  1. Anonymous
    2012-07-01T12:30:34+00:00

    Well, how can I stop "WuAuServ"? The cmd said "System Error 5:Access Denied".

    When opening command, right click it and select run as administrator. Probably the issue.. at least worked for myself

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2012-06-23T06:37:57+00:00

    Thank u so much Vincent!

    I had the same problem when I cloned my HD to upsize it.

    Was unable to install anything at all, thanks to your solution, the problems are now history!!!

    Thank you, thank you!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-06-16T19:08:08+00:00

    I am using Lenovo Thinkpad W510, my harddisk was Seagate 320GB and it had some bad sectors so I decided to replace it with a 750GB western digital.

    After replacement, I reinstalled OS with Lenovo recovery disk. Then my windows update doesn't work any more.When I click "check for updates", the Windows update window refreshes itself and after that nothing happens. When I use Lenovo update and downloaded some hot fixes for windows 7,my manual update with all the manually downloaded patches returns the same error: 0xc8000222.

    I tried to install .Net 4.0, also same, error HRESULT: 0xc8000222. My Computer property shows activated status.

    Even it's Lenovo problem, why Windows 7 has such a mistake that doesn't allow an activated user to update? It must be some Windows update bug, please check and help me fix this. Thanks.

     

    The following is my information:

    Windows 7 64 bit

    Fresh window installation, no any patch installed yet (failed to install)

    No anit-virus program

    Exact step (I tried several times):

      (1) reinstall windows 7 using recovery disk

      (2) download .Net 4.0 (actually any update fails, but it's easier to find links for .Net 4.0), install it 

      (3) installation failure HRESULT: 0xc8000222

      (4) log file for .Net 4.0:

     

    OS Version = 6.1.7600, Platform 2

    OS Description = Windows 7 - x64

    CommandLine = C:\98df338324089f1141\Setup.exe /x86 /x64

    Using Simultaneous Download and Install mechanism

    Operation: Installing

    Package Name = Microsoft .NET Framework 4 Setup

    Package Version = 4.0.30319

    User Experience Data Collection Policy: Disabled

    Number of applicable items: 11

    Exe (C:\98df338324089f1141\SetupUtility.exe) succeeded.

    Exe Log File: dd_SetupUtility.txt

    ServiceControl operation succeeded!

    ServiceControl operation succeeded!

    Exe (C:\98df338324089f1141\Windows6.1-KB958488-v6001-x64.msu) failed with 0xc8000222 - (null).

    Final Result: Installation failed with error code: (0xC8000222) (Elapsed time: 0 00:00:06).

     

    ================

     

    Edit:

    I tried Windows update: fix it using program downloaded from this website: http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Update-troubleshooter

    The troubleshoot is not able to know the problem. The detailed failure is: Windows update encounters an error while searching for updates. Error code: -939523550.

    =================

    Edit:

    I've checked my windows Log:

    System Error Log:

    Windows update  could not be installed because of error 3355443746 "" (Command line: ""C:\Windows\system32\wusa.exe" "C:\Program Files (x86)\Lenovo\System Update\session\os7016ww_64\windows6.1-kb975599-x64.msu"        ")

    App Error Log:

    wuaueng.dll (608) SUS20ClientDataStore: Unable to read the header of logfile C:\Windows\SoftwareDistribution\DataStore\Logs\edb.log. Error -546.

     

    Can anyone tell me what's the problem? Thanks.

    ======================

     

    Final Edit:

    My problem is solved. Do not read any answers here because my problem isn't involved with any virus or similar.

     

    I solved my problem by the following step, I think lenovo recovery fails some directory if the harddisk size is different (I guess)?

    Step 3: Rename the temporary folder of Windows Update.

    ===============

    This behavior may occur if the temporary folder of Windows Update has been corrupted. We

    can refer to the following steps to rename this folder. Please be assured the folder will

    be created again when we visit the Windows Update site again.

    1. Click Start, Run, type: cmd and press Enter. Please run the following command in the

    opened window.

    net stop WuAuServ

    1. Click Start, Run, type: %windir% and press Enter.
    2. In the opened folder, rename the folder SoftwareDistribution to SDold.
    3. Click Start, Run, type: cmd and press Enter. Please run the following command in the

    opened window.

    net start WuAuServ

    You sir, are a genius. This finally fixed the problem that Microsoft's FixIt and numerous other MSDN pages had failed to fix.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2012-06-13T18:22:46+00:00

    Hi Vincent,

    I am using Dell inspiron N5010 and i also changed my hard drive as you did and there was the same problem

    that you mentioned.Thanks to you i can update my windows now and carry on the good work as except your answer

    i could not find a single solution to my problem on net.

    Saurabh

    Was this answer helpful?

    0 comments No comments