Skip to main content

Autofix - Out of Date Cumulative Update

Purpose

The objective of this solution is to install and report the most recent Cumulative Update (CU) on computers where a CU has not been installed within the last 75 days.

It will utilize the Reboot Prompter solution to handle prompting and rebooting for workstations while allowing servers to manage their reboot process.

The solution will only work for the following operating systems:

  • Microsoft Windows 10
  • Microsoft Windows 11
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022

It will not work for any out-of-support feature builds of Windows 10 and 11 machines.

Associated Content

Solution

ContentTypeFunction
Latest Cumulative Update AuditSolutionPerforms an audit of the computers where a CU has not been installed within the last 75 days.
Reboot PrompterSolutionHandles prompting and rebooting for workstations

Custom Field

ContentTypeLevelFunction
Out_of_Date_CU_AutofixDropdownCompanySelect "Enable" from the drop-down to allow installation of the latest available Cumulative Update on the machines where a CU has not been installed in the last 75 days. Selecting "Servers" as well will enable Autofix for the servers too.
Out_of_Date_CU_AutofixDropdownSiteSelect the Out of Date Cumulative Update Autofix setting for the site. Available options are Disable, Disable for Servers, Enable for Servers, and Enable. This custom field provides an option to manage the Autofix for the site or to override the option set in the company-level custom field.
Out_of_Date_CU_AutofixDropdownEndpointUse the dropdown menu to enable or disable the autofix on the endpoint. This setting will be forcefully applied to the machine regardless of the options selected at the Company or the Site level custom field.
Out_of_Date_CU_Autofix_ResultTextEndpointStores the output of the Out of Date Cumulative Update (Autofix) task.
Out_of_Date_CU_Autofix_DateTextEndpointStores the install date of the latest CU performed by the Out of Date Cumulative Update (Autofix) task.

Device Group

ContentTypeFunction
Out of Date CU _ Autofix RequiredDynamicDetects the computers where the Latest Cumulative Update custom field contains "failed," indicating that the machine has not installed a Cumulative Update in the past 75 days.
Out of Date CU _ Reboot PendingDynamicDetects the computers where a Cumulative Update was installed by the Out of Date Cumulative Update (Autofix) task but a reboot is pending.
Out of Date CU _ Install FailureDynamicDetects the computers where the Latest Cumulative Update installation failed to complete after reboot.

Task

ContentTypeFunction
Out of Date Cumulative Update (Autofix)Script EditorInstalls the latest available Cumulative Update on the machines where a CU has not been installed in the last 75 days.
Out of Date Cumulative Update (Post Reboot Verification)Script EditorThis task validates whether the Cumulative Update installed by the Out of Date Cumulative Update (Autofix) task succeeded or not post-reboot.

Miscellaneous

ContentTypeFunction
Windows OS Support Date custom table works for CW Automate.

Implementation

  1. Import and implement the following solutions:

  2. Create the following custom fields:

  3. Create the following device groups:

  4. Create and deploy the following tasks: