patch failed after server reboot

Dinesh Negi 66 Reputation points
2021-09-14T17:26:12.03+00:00

Hello All,

Sometime I have seen below error after completing 96% completed. but as soon as server reboot. It roll back the patches and patches failed on add remove program.

windows server couldn't complete updates

1) Anything I can enable before reboot the server and check what caused the issue? My understanding is particular older patch or driver create these type of issues.

2) Any verbose I can enable so that it will capture in logs what was happened after reboot the server? why patches failed.

3) Anything I can check on procmon level?

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,556 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,430 questions
Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,114 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Limitless Technology 39,461 Reputation points
    2021-09-15T13:11:29.033+00:00

    Hello @Anonymous

    you can enable Windows Update verbose login by changing the registry parameters:

    path: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace
    Add a new DWORD key named Flags with a value of 7
    Add a new DWORD key named Level with a value of 4
    Then apply the change by running:

    NET STOP wuauserv
    NET START wuauserv

    After this compile the ETW traces to txt log using the powershell cmdlet: Get-WindowsUpdateLog

    After the update fails again, try to read the latest records at the bottom of the log to spot some 0x errors or other messages around the errors.

    Hope this helps, and please share here your findings so we can help you further,
    Best regards,

    1 person found this answer helpful.
    0 comments No comments

  2. Dinesh Negi 66 Reputation points
    2021-09-15T03:59:03.233+00:00

    Hi,

    cbs.log doesn't clear all the information neither its mention what is happening during post boot.

    1) Any thing I can enable the logging?
    2) When you say cbs.log ? are you referring anything particular?


  3. Dinesh Negi 66 Reputation points
    2021-09-15T10:33:56.563+00:00

    Yes, i know about these logs.

    What logging i can enable? so that post reboot information will be locked.

    0 comments No comments

  4. Dinesh Negi 66 Reputation points
    2021-09-15T14:19:21.637+00:00

    Thanks for the update.

    My issue when I reboot the server patches are getting roll back.

    error. Couldn't applied the patches.

    0 comments No comments