Monitor and control the Microsoft Windows Update Agent (WUA)

Proactively monitor and control the Microsoft Windows Update Agent (WUA) through Domotz.

The Windows Update Agent (WUA) is a Windows service responsible for managing Windows Updates on Windows systems. It is responsible for downloading and installing updates and reporting the status of updates to the user. It can also be used to configure Windows Update settings.

You can proactively monitor and control the status of each available update for your Windows systems with Domotz. Moreover, you can also check if there are pending reboots for your updates and issue a reboot command directly from Domotz.

Start Your Free Trial
Integration Domotz + Microsoft Windows Update Agent

checkiconCheck the number and types of updates pending for servers and workstations

checkiconVerify that no critical updates are waiting to be applied

checkiconView pending security updates and install them immediately if required

checkiconVerify no pending reboots are preventing an update and issue reboot commands directly

How Microsoft Windows Update Agent (WUA) Monitoring Works

Microsoft Windows Update Agent WUA

You can monitor Microsoft WUA using our custom integration driver scripts. The first script uses the SSH-based PowerShell commands (in particular CreateupdateSearcher) to retrieve information about the available updates and their severity and category.

The second script uses the SSH-based WMI commands through PowerShell and checks if there are pending reboots for the updates to take effect. Through this script, the user can also issue a reboot command.

The scripts have been validated and tested on Windows 10 and Windows Server 2019 and the usage of PowerShell 5.1.19041.2364.

  • windows_update.js - this script uses PowerShell commands to retrieve the list of updates available at the Microsoft Windows system level
  • windows_pending_reboot_sensor.js - this script uses WMI commands to check if there are pending reboots to allow the updates to be effective. Moreover, it exposes a custom button to issue a reboot command to the Windows system

You can find the Microsoft Windows Update Agent scripts in our examples library. Just customize the drivers to fit your needs.


Easily Monitor the list of updates to be applied to your Windows systems

Microsoft WUA List and Count

You can list all the types of updates missing from a Windows System. Updates have been broken down per Category (Security vs. Generic updates) and Severity.

For instance, you can set an alert on the number of missing security updates so that you can be notified as soon as a new Security update is required.

You can then use Domotz to apply the updates to your Windows systems directly.


Issue a Reboot command for your Windows System

Microsoft WUA Pending Reboot

You can check if there are pending updates to be applied to your Windows System that require a reboot. Checking for pending updates that require a reboot ensures that the system benefits from those updates as soon as possible.

If you notice that a vital update requires a system reboot to take effect, you can issue a Reboot command directly from Domotz.

You can also connect your Domotz WebHook or Public API data to a system like Make.com that will issue a Reboot command in response to an event (e.g., an update you’ve installed requires a reboot).

For more info, please visit processing webhook events with make.com and execute custom driver actions.


How to enable the Microsoft Windows Update Agent (WUA) scripts

Microsoft WUA Create New Driver Microsoft WUA example driver code

To enable the custom integration for Microsoft Windows Update Agent monitoring, open the WebApp and follow these few steps:

  1. From the left menu, click on "Integration" then on the tab "Custom Integration"
  2. By clicking on “Create a new driver” will open a window where you need to choose the “Driver name” and the “Driver description”
    For example: “Windows Update Agent Check” as a Driver name and a brief description of the purpose for this integration (e.g., “Shows the number of system updates available listed by their severity or category, provides a button to install them on demand”). You can use the “Windows Pending Reboot Sensor” as a Driver name for the script, which checks for updates that require a reboot.
  3. Copy the content of the following scripts from the example in the Driver code area (the empty space for the code):
    • windows_update.js
    • windows_pending_reboot_sensor.js
  4. Apply the Custom Integration to your Microsoft Windows Systems.
  5. Note that the scripts use SSH-based PowerShell and WMI commands to access the Microsoft Windows Systems. Therefore credentials to access the SSH of the Systems are required for the execution of this script.

Domotz is developing similar scripts which support WinRM instead of SSH.

The example driver code can be found at the links below:

  • windows_update.js - this script uses PowerShell commands to retrieve the list of updates available at the Microsoft Windows system level
  • windows_pending_reboot_sensor.js - this script uses WMI commands to check if there are pending reboots to allow the updates to be effective. Moreover, it exposes a custom button to issue a reboot command to the Windows system

Want to learn more about how to set up the Microsoft Windows Update Agent integration with Domotz?

Ready to get started with Domotz?

  • Powerful
  • Automated
  • Simple
  • Affordable
Start Your Free Trial Contact Sales