Skip to main content

Patch Config Audit

Purpose

The purpose of this solution is to showcase the patch configuration of a Windows computer. It exhibits the configuration information altered by the WUA Settings Validation script.

Upgrade Notice: 29-Oct-2024

The solution has been updated to indicate whether Windows upgrades or feature updates are restricted from the registry key for Windows 10 and 11.

Reference: https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsUpdate::TargetReleaseVersion

Execute the Get Patch Config script against any online Windows computer with the Set_Environment parameter set to 1. This will add the newly introduced column upgradeRestricted to the pvl_patch_config table, which is necessary for the solution.

Image

Associated Content

Auditing

ContentTypeFunction
Get Patch ConfigScriptGathers Data
pvl_patch_configCustom TableStores Data
Patch Config AuditDataviewDisplays Data
Execute Script - Get Patch ConfigInternal MonitorDetects Windows Machines
△ Custom - Execute Script - Get Patch ConfigAlert TemplateExecutes the Script

Automation

ContentTypeFunction
Patch Manager - WUA Settings ValidationScriptValidate and set the appropriate values for the patching registries.
Internal Monitor - Patch Config MismatchInternal MonitorDetect computers with mismatched configurations.
△ Custom - Patch Config MismatchAlert TemplateExecutes Patch Manager - WUA Settings Validation script.

Implementation

1.

Import the following auditing content using the ProSync Plugin:

2.

Import the following automation content using the ProSync Plugin:

3.

Reload the system cache:
Image

4.

Execute the Get Patch Config script against any online Windows computer with the Set_Environment parameter set to 1. This will create the pvl_patch_config table, which is necessary for the solution.
Image

5.

Configure the auditing solution as outlined below:

  • Navigate to Automation → Monitors within the CWA Control Center and set up the following:

Only if Requested

6.

Configure the automation as outlined below:

  • Navigate to Automation → Monitors within the CWA Control Center and set up the following:

FAQ

Q: Can this solution be used in environments without configuring the WUA Settings Validation script?
A: The auditing section of the solution is independent of the WUA Settings Validation script.