With the new servicing model being applied to pre-Windows 10 operating systems, it’s a good idea to change the default “maximum run time” of the monthly cumulative updates.
For example, I’ve:
Here’s a way to achieve this easily with PowerShell.
The -Name parameter of the Get-CMSoftwareUpdate accepts wildcards although its documentation says the opposite.
The -Fast is explained in the following warning message:
WARNING: ‘Get-CMSoftwareUpdate’ supports -Fast for retrieving objects without loading lazy properties. Loading lazy properties can cause significant performance penalties. If it is not necessary to utilize the lazy properties in the returned object(s), -Fast should be used. This warning can be disabled by setting $CMPSSuppressFastNotUsedCheck = $true.
# 1. View what updates will be targeted: Get-CMSoftwareUpdate -Fast -Name "*Security Monthly Quality Rollup for Windows*" | Select Max*,*DisplayName #NB: MaxExecutionTime is in seconds in this case # 2. Set the maximum run time to 120 minutes Get-CMSoftwareUpdate -Fast -Name "*Security Monthly Quality Rollup for Windows*" | Set-CMSoftwareUpdate -MaximumExecutionMins 120 -Verbose