Error message when you try to install service packs or Windows updates on a Windows Server 2008-based or Windows Vista-based computer: "ERROR_INVALID_PARAMETER(0x80070057)"


You cannot install any Windows updates or service packs, and you receive the following error message on a computer that is running Windows Server 2008 or Windows Vista:
Installation was not successful. The parameter is incorrect


The issue occurs because one or more of the following registry entries exist on the computer:
  • HKEY_LOCAL_MACHINE\COMPONENTS\NextQueueEntryIndex=hex(b):40,00,00,00,00,00,00,00
  • HKEY_LOCAL_MACHINE\COMPONENTS\AdvancedInstallersNeedResolving


Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

To have us fix this problem for you, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.

Fix it for me

To fix this problem automatically, click the Fix it button or link. In the File Download dialog box, click Run and then follow the steps in the Fix it Wizard.

  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
  • If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.

Then, go to the "Did this fix the problem?" section.

Let me fix it myself

To resolve this issue, remove the registry entries that are mentioned in the "Cause" section.

Did this fix the problem?

  • Check whether the problem is fixed. If the problem is fixed, you are finished with this section. If the problem is not fixed, you can contact support.
  • We would appreciate your feedback. To provide feedback or to report any issues with this solution, please leave a comment on the "Fix it for me" blog or send us an email message.

More Information

When this issue occurs, a cbs.log file that resembles the following log file is generated :
2010-08-17 13:38:15, Info CSI 0000000f@2010/8/17:12:38:15.832 CSI Transaction @0x2349518 destroyed

2010-08-17 13:38:15, Info CBS WER: Generating failure report for package: Package_for_KB955430~31bf3856ad364e35~x86~~, status: 0x80070057, failure source: Resolve, start state: 0, target state: 7

2010-08-17 13:38:19, Info CBS SPI: Error callback - 0x80070057

2010-08-17 13:38:19, Info CBS Exec: Processing complete. Session: 30096904:4294350444, Package: Package_for_KB955430~31bf3856ad364e35~x86~~, hr: 0x80070057

2010-08-17 13:38:19, Info CBS Restored system sleep block state: 0x80000000

2010-08-17 13:38:19, Info CBS Session: 30096904:4294350444 finalized. Reboot required: no

2010-08-17 13:38:19, Error CBS SPI: (CSPICbsClient::ChangeState:462)Failed changing package state to 7 hr=0x80070057

Article ID: 2469239 - Last Review: Jun 30, 2011 - Revision: 1