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
Content | Type | Function |
---|---|---|
Latest Cumulative Update Audit | Solution | Performs an audit of the computers where a CU has not been installed within the last 75 days. |
Reboot Prompter | Solution | Handles prompting and rebooting for workstations |
Custom Field
Content | Type | Level | Function |
---|---|---|---|
Out_of_Date_CU_Autofix | Dropdown | Company | Select "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_Autofix | Dropdown | Site | Select 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_Autofix | Dropdown | Endpoint | Use 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_Result | Text | Endpoint | Stores the output of the Out of Date Cumulative Update (Autofix) task. |
Out_of_Date_CU_Autofix_Date | Text | Endpoint | Stores the install date of the latest CU performed by the Out of Date Cumulative Update (Autofix) task. |
Device Group
Content | Type | Function |
---|---|---|
Out of Date CU _ Autofix Required | Dynamic | Detects 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 Pending | Dynamic | Detects 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 Failure | Dynamic | Detects the computers where the Latest Cumulative Update installation failed to complete after reboot. |
Task
Content | Type | Function |
---|---|---|
Out of Date Cumulative Update (Autofix) | Script Editor | Installs 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 Editor | This task validates whether the Cumulative Update installed by the Out of Date Cumulative Update (Autofix) task succeeded or not post-reboot. |
Miscellaneous
Content | Type | Function |
---|---|---|
Windows OS Support Date custom table works for CW Automate. |
Implementation
-
Import and implement the following solutions:
-
Create the following custom fields:
- Company - Out_of_Date_CU_Autofix
- Site - Out_of_Date_CU_Autofix
- Endpoint - Out_of_Date_CU_Autofix
- Endpoint - Out_of_Date_CU_Autofix_Result
- Endpoint - Out_of_Date_CU_Autofix_Date
-
Create the following device groups:
-
Create and deploy the following tasks: