cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post

Microsoft Windows Update

Configuring Windows Remote Management (WinRM)

  • If not already done so, install PowerShell 2.0 and WinRM on the APM and target servers. Powershell 2.0 can be found here: http://support.microsoft.com/kb/968930.
  • On the Orion APM server, open a command prompt as an Administrator. To do this, perform the following step:

Go to the Start menu and right-click the cmd.exe and then select Run as Administrator.

  • Enter the following in the command prompt:

winrm quickconfig
winrm set winrm/config/client @{TrustedHosts="*"}

  • On the target server, open a command prompt as an Administrator and enter the following:

winrm quickconfig
winrm set winrm/config/client @{TrustedHosts="IP_ADDRESS"}

where IP address is the IP address of your APM server.


Windows Updates Monitoring

This template allows you to check status of Windows Updates. It monitors how many new (hidden, critical and optional) updates are available, how many updates installed, check is reboot required before/after installing updates and how many passed from last Windows Updates installation.

Prerequisites: WinRM must be installed and properly configured on the target server.

Credentials: Administrator on target server.

Monitored Components

Available hidden updates

This component monitor shows amount of available hidden updates.

Available critical updates

This component monitor shows amount of available critical updates. Should always be zero.

Available optional updates

This component monitor shows amount of available optional updates.

Installed updates

This component monitor shows amount of installed updates.

Days passed from last Windows Update

This component monitor returns how many days have passed from last Windows Updates installation. Also this component returns the name of last installed update.

Machine restart status after installing Windows Updates

This component monitor shows restart status after installing Windows Updates.

Possible values:
0 - No reboot requires.
1 - Updates installed. Reboot required.

Service: Windows Updates

This component monitors Windows Updates service which enables the detection, download, and installation of updates for Windows and other programs. If this service is disabled, users of this computer will not be able to use Windows Update or its automatic updating feature, and programs will not be able to use the Windows Update Agent (WUA) API.

Portions of this document were originally created by and are excerpted from the following sources:
Microsoft Corporation, “MSDN Library,” Copyright © 2012 Microsoft Corporation.  All rights reserved. Available at http://technet.microsoft.com

Labels (1)
Attachments
Comments

Thanks you so much the errors that I got earlier have disappeared from the script  .I also see most of the values except for the pending reboot after windows patch installation

I get a " No reboot required"  value for  Machine restart status after installing Windows Updates when actually I have just installed updates on this server and it shows pending reboot on the main screen

Can you help me verify this works correctly for pending reboot

Thanks

Hanuprassad

Thanks tried again and it worked

Thanks for the new template updated , however this works fine on my 2012 servers and I get error or down status for 2008 and 2003 servers .Do you have any fix that can be applied or am I missing something

Your valuable help would be greatly appreciated as before

Thanks

Hanuprassad

Also this happens only for the restart pending component rest all works fine

Very applicable to the recent events.

Is the template also applicable for 2016 servers ?

Is this template still working and valid?

It seems that template is working except the reboot pending.

How can we solve this? It was working, i'm thinking that a windows update broke this.

Version history
Revision #:
1 of 1
Last update:
‎07-15-2011 12:00 AM
Updated by: