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 Copyright 2012 Microsoft Corporation.  All rights reserved. Available at http://technet.microsoft.com

Parents
  • I downloaded the latest version, have set the WinRM settings on my main Orion server (and two additional pollers) as well as set WinRM on my remote machine. Powershell 2 is installed on the Orion servers and the servers we want to monitor.

    A couple questions:

    1) What do we do on the remote machine if we have multiple pollers?

    2) Can anyone tell me what else I need to look at as the current error I'm still getting is:

    PowerShell script error. Connecting to remote server failed with the following error message : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS or the destination is in the TrustedHosts list, and explicit credentials are provided. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. For more information on how to set TrustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.

Comment
  • I downloaded the latest version, have set the WinRM settings on my main Orion server (and two additional pollers) as well as set WinRM on my remote machine. Powershell 2 is installed on the Orion servers and the servers we want to monitor.

    A couple questions:

    1) What do we do on the remote machine if we have multiple pollers?

    2) Can anyone tell me what else I need to look at as the current error I'm still getting is:

    PowerShell script error. Connecting to remote server failed with the following error message : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS or the destination is in the TrustedHosts list, and explicit credentials are provided. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. For more information on how to set TrustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.

Children
No Data