Share via

January/February security patches fail configuring at 98% with 0x80070057, error in amd64_Microsoft_Windows_Printing_Spooler-Core

Anonymous
2018-02-23T01:48:31+00:00

I reset Windows Update in every way imaginable.  I ran every imaginable utility/cleaner (https://github.com/bmrf/tron, etc.), every imaginable troubleshooter (SURT, sfc /scannow, https://github.com/jdickson289/Print-Reset-Tool in full mode, etc.)... What do I do now?  CBS.log shows this:

2018-02-22 16:30:26, Info                  CSI    00000083 Begin executing advanced installer phase 38 (0x00000026) index 64 (0x0000000000000040) (sequence 103)

    Old component: [ml:328{164},l:326{163}]"Microsoft-Windows-Printing-Spooler-Core, Culture=neutral, Version=6.1.7601.17777, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS"

    New component: [ml:328{164},l:326{163}]"Microsoft-Windows-Printing-Spooler-Core, Culture=neutral, Version=6.1.7601.24000, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS"

    Install mode: install

    Installer ID: {3bb9fd2b-351e-4b9c-b1fc-ed0758805998}

    Installer name: [6]"Events"

2018-02-22 16:30:27, Info                  CBS    Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Percent progress: 75.

2018-02-22 16:30:27, Error                 CSI    00000001 (F) Logged @2018/2/23:00:30:26.973 : [ml:292{146},l:290{145}]"events installer: online=1, install=1, component=amd64_Microsoft-Windows-Printing-Spooler-Core_31bf3856ad364e35_6.1.7601.24000_neutral_release__."

[gle=0x80004005]

2018-02-22 16:30:27, Error                 CSI    00000002 (F) Logged @2018/2/23:00:30:27.143 : [ml:144{72},l:142{71}]"WmiCmiPlugin (-1): InstrumentationManifestAssert failed. HR=0x80070057."

[gle=0x80004005]

2018-02-22 16:30:27, Error                 CSI    00000003 (F) Logged @2018/2/23:00:30:27.143 : [ml:166{83},l:164{82}]"WmiCmiPlugin eventloghandler.cpp(192): ProcessEventsInstall failed. HR=0x80070057."

[gle=0x80004005]

2018-02-22 16:30:27, Error                 CSI    00000004 (F) Logged @2018/2/23:00:30:27.143 : [ml:170{85},l:168{84}]"WmiCmiPlugin eventloghandler.cpp(212): EventLogHandlerInstall failed. HR=0x80070057."

[gle=0x80004005]

2018-02-22 16:30:27, Error                 CSI    00000005@2018/2/23:00:30:27.143 (F) CMIADAPTER: Inner Error Message from AI HRESULT = E_INVALIDARG

 [

[29]"The parameter is incorrect.

"

]

[gle=0x80004005]

2018-02-22 16:30:27, Error                 CSI    00000006@2018/2/23:00:30:27.144 (F) CMIADAPTER: AI failed. HRESULT = E_INVALIDARG

Element:

[134129]"<bunch of xml>"

[gle=0x80004005]

2018-02-22 16:30:27, Error                 CSI    00000084@2018/2/23:00:30:27.158 (F) d:\w7rtm\base\wcp\cmiadapter\installers.cpp(352): Error E_INVALIDARG originated in function Windows::WCP::CmiAdapter::CMIWrapperBasicInstaller::ResolveAndInvokeInstaller expression: hr

[gle=0x80004005]

2018-02-22 16:30:27, Error                 CSI    00000007@2018/2/23:00:30:27.475 (F) CMIADAPTER: Exiting with HRESULT code = E_INVALIDARG.

[gle=0x80004005]

2018-02-22 16:30:27, Error                 CSI    00000085@2018/2/23:00:30:27.475 (F) d:\w7rtm\base\wcp\cmiadapter\installers.cpp(123): Error E_INVALIDARG originated in function Windows::WCP::CmiAdapter::CMIWrapperBasicInstaller::Install expression: hr

[gle=0x80004005]

2018-02-22 16:30:27, Info                  CSI    00000086@2018/2/23:00:30:27.520 CSI Advanced installer perf trace:

CSIPERF:AIDONE;{3bb9fd2b-351e-4b9c-b1fc-ed0758805998};Microsoft-Windows-Printing-Spooler-Core, Version = 6.1.7601.24000, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral;1049776

2018-02-22 16:30:27, Info                  CSI    00000087 Performing 1 operations; 1 are not lock/unlock and follow:

  LockComponentPath (10): flags: 0 comp: {l:16 b:aaf4a8803dacd3013100000010045c04} pathid: {l:16 b:aaf4a8803dacd3013200000010045c04} path: [l:234{117}]"\SystemRoot\WinSxS\x86_microsoft.windows.s..ation.badcomponents_31bf3856ad364e35_6.1.7600.16385_none_3868158f24725705" pid: 410 starttime: 131638193002792420 (0x01d3ac3d34ce45e4)

2018-02-22 16:30:27, Error      [0x01802b] CSI    00000088 (F) Failed execution of queue item Installer: Events ({3bb9fd2b-351e-4b9c-b1fc-ed0758805998}) with HRESULT E_INVALIDARG.  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable (2)[gle=0x80004005]

2018-02-22 16:30:27, Info                  CSI    00000089 Creating NT transaction (seq 1), objectname [6]"(null)"

2018-02-22 16:30:27, Info                  CSI    0000008a Created NT transaction (seq 1) result 0x00000000, handle @0x280

2018-02-22 16:30:28, Info                  CSI    0000008b@2018/2/23:00:30:28.266 CSI perf trace:

CSIPERF:TXCOMMIT;896550

2018-02-22 16:30:28, Info                  CSI    0000008c End executing advanced installer (sequence 103)

    Completion status: HRESULT_FROM_WIN32(ERROR_ADVANCED_INSTALLER_FAILED) 

Full relevant excerpt: https://pastebin.com/ZV7McTvb

Full CBS.log: https://cloud.brainstormz.tk:10298/index.php/s/zgxB3ERNq7MNuch

Halp?!?

Moved from: Windows / Windows 7 / Performance & system failures

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
2018-03-27T23:27:01+00:00

I finally got it fixed.  For anyone else who is having a similarly mysterious issue, check Event Log.  Not for hints as to why it's failing, but for hints that event log is *causing* the issue.  That's right, event log *caused* the issue!

The thing to look for is any log folders in "Applications and Services\Microsoft\Windows" that have slashes in their name.  This indicates that the registration for the provider for that event log is missing in the registry.  In my case this was what I needed:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{747ef6fd-e535-4d16-b510-42c90f6873a1}]
@="Microsoft-Windows-PrintService"
"ResourceFileName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\
  00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\
  5c,00,6e,00,74,00,70,00,72,00,69,00,6e,00,74,00,2e,00,64,00,6c,00,6c,00,00,\
  00
"MessageFileName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
  6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,6e,00,74,00,70,00,72,00,69,00,6e,00,74,00,2e,00,64,00,6c,00,6c,00,00,00
"Enabled"=dword:00000001

(Note that the hex sections show up as text when viewed in regedit.)

In my case I just re-entered the data using regedit while looking at the data on a working system.

No idea how it got deleted in the first place, but re-adding seemed to do the trick.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-05-15T13:43:05+00:00

    This was a huge, huge help.  We were getting an error 80070057 - Windows failed to install the following update with error 0x80070057.  We also found Component Microsoft-Windows-Printing-Spooler-Core in the log, but not every time.  We also got the reverting changes.  We were trying to install KB4093118.  I had one additional step I had to perform and my reg file was slightly different (see below).  The additional step for me was to delete the print operational folder with the slash in it from HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\eventlog.  If I didn't do this, the log in eventvwr was still showing the slash in it on the operational log which caused the patch failure.


    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers{747ef6fd-e535-4d16-b510-42c90f6873a1}]

    @="Microsoft-Windows-PrintService"

    "ResourceFileName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\

      00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\

      5c,00,6e,00,74,00,70,00,72,00,69,00,6e,00,74,00,2e,00,64,00,6c,00,6c,00,00,\

      00

    "MessageFileName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\

      6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\

      00,6e,00,74,00,70,00,72,00,69,00,6e,00,74,00,2e,00,64,00,6c,00,6c,00,00,00

    "Enabled"=dword:00000001

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers{747ef6fd-e535-4d16-b510-42c90f6873a1}\ChannelReferences]

    "Count"=dword:00000003

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers{747ef6fd-e535-4d16-b510-42c90f6873a1}\ChannelReferences\0]

    @="Microsoft-Windows-PrintService/Admin"

    "Id"=dword:00000010

    "Flags"=dword:00000000

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers{747ef6fd-e535-4d16-b510-42c90f6873a1}\ChannelReferences\1]

    @="Microsoft-Windows-PrintService/Operational"

    "Id"=dword:00000011

    "Flags"=dword:00000000

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers{747ef6fd-e535-4d16-b510-42c90f6873a1}\ChannelReferences\2]

    @="Microsoft-Windows-PrintService/Debug"

    "Id"=dword:00000012

    "Flags"=dword:00000000

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2018-02-23T23:12:40+00:00

    Those replies do not effect youre printer operation..To fix,open add/remove,scroll to printer/fax,

    expand the tree,chk all boxes,exit,restart pc..PrintSpooler settings can also be found by typing

    services.msc  in run/cmd,double click on a service,edit..A manual start will let windows OS use the

    service(s),but printspooler gets set to auto...

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-02-23T23:01:27+00:00

    I have already tried all of the listed steps (also I'm on Win7 not Win10).  Right now I am trying to replace the manifest file for this component (the version from this update of in winsxs even though the update didn't install, and the big chunk on XML in CBS.log seems to match the manifest file, so this might be the culprit), I'll so how it goes.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-02-23T22:55:29+00:00

    Hello QwertyChouskie,

    There are many reasons why you might receive an error message when updating on Windows 7.

    To better assist you with your concern, I'd like to know the following:

    • What is the make and model of your device?
    • Confirm the most recent KB update that your computer is trying to install. To check, refer to the steps below:
    1. Click on Start, select Control Panel.
    2. Go to System and Security, then click on Windows Update.
    3. Select View update history.
    • Please confirm if you're using any 3rd-party antivirus software. If yes, we recommend to try disabling it and proceed on installing the update.

    Meanwhile, you may consider to perform the steps below:

    Try to manually reset the Windows Update Components and Run Windows Update process again.

    Resetting Windows Update Components will fix those corrupted Components and will help the Update installation quickly. To reset Windows Update Components, follow these steps:  

    1. Run Command Prompt as Administrator
    2. Stop BITS, Cryptographic, MSI Installer and Windows Update Services. To do this, type the following commands:  
      1. Net stop wuauserv
      2. Net stop cryptSvc
      3. Net stop bits
      4. Net stop msiserver
    3. Rename SoftwareDistribution and Catroot2 folder. To do this, type the following commands:  
      1. Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
      2. Ren C:\Windows\System32\catroot2 Catroot2.old
    4. Restart BITS, Cryptographic, MSI Installer and Windows Update Services. To do this, type the following commands:  
      1. Net start wuauserv
      2. Net start cryptSvc
      3. Net start bits
      4. Net start msiserver
      5. Restart your computer and try to install Windows Update.

    We look forward to your response.

    Regards.

    Was this answer helpful?

    0 comments No comments