VMware Cloud Community
TheVMinator
Expert
Expert

Update Manager failed to install patches

I'm getting an error when attempting to run

get-template | remediate-inventory -Baseline (Get-Baseline -name "Critical VM Patches") -Confirm:$false

against a Windows 2003 template.

It is saying

"There are errors during the remediation operation.  Failed to install the following patches: [MS07-027, MS07-033,  MS07-057, MS07-069, MS08-045, MS08-058, MS08-078"

The full error message is attached

Any input appreciated - thanks

Reply
0 Kudos
4 Replies
LucD
Leadership
Leadership

Sorry I have to repeat myself but these are problems that occured during the application of the patches inside the OS of the guest/template.

The only course of action I see is the following:

  • convert the template to a VM
  • start up the VM
  • logon
  • check the eventlogs and the windowsupdate.log

Perhaps that will allow you to see why those patches failed.

Could be something as simple as a 'reboot required' or 'patch superseded'.

Sometimes you can see the reason for the failure(s) also in the Tasks & Event log for that VM.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

TheVMinator
Expert
Expert

The task and event log for the vm just says that certain patches were not installed but doesn't say why.  Windows Update works if I go inside the operating system and start it manually.  Updates don't get applied when VMware Update Manager attempts to update that same OS.  What is different about the way that Update Manager calls the OS to initiate updates? Windowsupdate.log does show errors.

Reply
0 Kudos
LucD
Leadership
Leadership

The windowsupdate.log doesn't show anything why it might fail for these specific patches.

Did you also check the Windows event logs inside the guest OS ?

The Application or System eventlog might contain clues.

Update Manager uses Shavlik to patch the Windows guests.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

TheVMinator
Expert
Expert

Thanks - will check and see what I can find.

Reply
0 Kudos