Troubleshooting a Patch Management policy that did not run

A Datto RMM Patch Management policy did not run as expected. This article helps you rule out common causes and gather the information Datto RMM Support needs to investigate.

Problem statement

A Patch Management policy does not run on one or more devices at the scheduled time, or does not run when you run it manually. Common causes include a device that is not targeted by the policy, a schedule that does not match your expectations, or a device that is offline during the patch window. If none of these causes applies, the issue might affect a single device, a group of devices, or all devices, and Datto RMM Support needs logs and policy details to find the root cause.

Resolution

Before you reach out to Kaseya Support, complete as many of the following steps as possible:

  1. Verify that the policy targets the device. Depending on the policy setup, the policy might not target the device. Rule this out before you continue troubleshooting. Refer to Targets.
  2. Review the policy schedule, and determine whether the policy should have run when you expected. Refer to Schedule.
  3. Verify that the device was online during the last patch window. A device that is offline during the patch window is not patched.
  4. Wait for the next policy run, or manually run the policy, and observe the result. This step helps Datto RMM Support determine whether the behavior still occurs and whether it is limited to a specific run type, such as an automatic run or a manual run. To manually run a Patch Management policy against a device, refer to Patch Now. If the issue is still not resolved, continue below.
  5. Determine the scope of the issue. Is the issue limited to a single device, a group of devices, or something more widespread?
  6. Determine the scope of the affected policies. Is the issue limited to a single policy, a group of policies, or something more widespread?
  7. Document the unique identifier (UID) of each affected device. Device UIDs identify individual devices, which is important because devices can share the same hostname. The device UID can be found on the Device summary page
  8. Document the affected Patch Management policy.
  9. Gather the Datto RMM Service log files. These logs contain the information Datto RMM Support needs for review. Refer to Download Agent Logs.
  10. Gather the Windows Event Logs in .evtx format. Datto RMM Support uses these logs to isolate potential errors. For help, see How to Save Event Logs in the Microsoft documentation.
  11. Gather the Windows Update logs. This file contains all logging information from Windows Update. The log is stored at C:\Windows\WindowsUpdate.log. On Windows 10, you might need to build the log by running the following PowerShell command:

    Get-WindowsUpdateLog

  12. Gather the Patch Management policy folder, which is located at C:\ProgramData\CentraStage\Policy.
  13. If applicable, copy any error messages exactly as they appear.
  14. Note the date and time that the issue occurred.

Include device UIDs and policy names or IDs in your Kaseya Helpdesk request instead of hostnames alone. Hostnames can be duplicated across devices, and UIDs and policy identifiers help Datto RMM Support find the correct records faster.