Section 1 - One Time Setup of Required Components
This section is a one-time setup in your environment that allows the simplified workflow in the next section to occur monthly. The rulesets in this section will initially include no patches, which will allow for the creation of associated deployments without deploying any patches until starting the workflow in the following section.
Configure Computer Groups
In order to deploy patches to workstations in three stages: two test stages and one production stage; we first must define computer groups for targeting. The first test group(Ring 1) should be relatively small, generally less than a few hundred endpoints. The second test group(Ring 2) should be larger; from thousands of endpoints to 10% of the entire enterprise are common for the second group. Lastly, the third group(Ring 3) is the remainder of the workstations in production throughout the entire enterprise.
The testing phases are critical for identifying issues in patches before deploying enterprise-wide, so consider which systems would be best to include in the various groups and attempt to identify a good representation of the differing operating systems and system roles in the test groups. It is common to use custom tags to define the Computer Groups for the first two test groups, although it is not required.
Define Custom Tags for Groups
In our example we will use custom tags to define our computer groups. For more information on how to apply custom tags, refer to the article How to Group Computers Based on Your Organization's Needs Using Custom Tags (6/2020 update).
-
Deploy Custom Tags for Ring 1 Patch Testing
-
Customer defined targeting for which endpoints to tag.
-
Deploy Action= Custom Tagging - Add Tags
-
Tag Name= Patch-Ring1Testing
-
-
Deploy Custom Tags for Ring 2 Patch Testing
-
Customer defined targeting for which endpoints to tag.
-
Deploy Action= Custom Tagging - Add Tags
-
Tag Name= Patch-Ring2Testing
-
Note: Ring 3, the remaining computers in production, will include all production systems except for systems that have been specifically excluded from patching. Any system that should be excluded from being patched should be tagged as Patch-Exclude.
Create Computer Groups Using Custom Tags
-
Create Computer Group for Ring 1 Patch Testing
-
Name: Patch - Ring 1 Testing
-
Enable Filter: Disable
-
Filter: Custom Tags equals Patch-Ring1Testing
-
-
Create Computer Group for Ring 2 Patch Testing
-
Name: Patch - Ring 2 Testing
-
Enable Filter: Disable
-
Filter: Custom Tags equals Patch-Ring2Testing
-
-
Create Computer Group for Patching production workstations
-
Name: Patch - Ring 3 Production Workstations
-
Enable Filter: Disable
-
Filter: (Windows OS Type equals Windows Workstation) and (Custom Tag Exists[Patch-Exclude,1] contains false
-
Create Block Lists
Block Lists are used to create a list of patches that should not be deployed in the environment. Block Lists can contain individual patches or patches based on rules.
It is common to use a rule-based block list for either Security Only or Rollup Update patches. Only one of these update types is required and the other should be block listed.
Rollup Update Patches contain all patches required to bring the system up to date from an OS or .NET perspective. This includes some reliability updates in addition to security updates.
Security Only Patches contain security updates only from the month they are released.
For example, if a system is twelve months behind on patches, it would be necessary to install one Rollup Update OR twelve Security Only updates. Because of this, the Rollup updates are much larger in file size than the Security Only updates, but more Security Only updates are necessary to meet Patch compliance requirements. In the Global Block List-Windows example below, choose to create the rule for either Rollup Updates or Security Only Updates but not both.
We will be creating three Block Lists that each have different purposes. They are:
-
The Global Block List-Windows will be used for any patches that should be excluded from applying to all endpoints.
-
The Server Block List-Windows will be used for any patches that should be excluded from applying to any Windows Servers.
-
The Prevent all patches from installing -Windows is a failsafe block list that can be used for preventing all patches from deploying.
Create Global Block List - Windows Block List
-
In the Patch workbench, select Block Lists
-
Select Create Block List and use the following settings
-
Name = Global Block List - Windows
-
Platform = Windows
-
Content Set = Patch Content Set
-
If deploying Rollup Updates and NOT Security Only, then block list Security Only patches. Skip to #2e if deploying Security Only updates.
-
Click Add rule
-
Rule Name= Security Only
-
Select Attribute = Title
-
Select Operator = Contains
-
Value= Security Only
-
Select Apply
-
-
-
If deploying Security Only Updates and NOT Rollups, then block list Rollup patches (NOTE: two rules are added to the block list in this case). Skip this step and go to #2d above if deploying Rollup updates.
-
Click Add Rule
-
Rule Name= OS Rollups
-
Select Attribute = Title
-
Select Operator = Contains
-
Value= Security Monthly Quality Rollup
-
Select Apply
-
-
Click Add Rule
-
Rule Name= .NET Rollups
-
Select Attribute = Title
-
Select Operator = Contains
-
Value= Security and Quality Rollup for .NET Framework
-
Select Apply
-
-
-
Select Show preview to continue
-
Verify the displayed patches meet the expected ruleset
-
Select Create Block List
-
Create Prevent all patches from installing - Windows Block List
-
In the Patch workbench, select Block Lists
-
Select Create Block List and use the following settings
-
Name= Prevent all patches from installing - Windows
-
Platform = Windows
-
Click Add Rule
-
Rule Name= All Patches
-
Select Attribute= Release Date
-
Select Operator= Release Date on or After
-
Value= 1/1/1900
-
Select Apply
-
Select Show preview to continue
-
Verify the displayed patches meet the expected ruleset
-
Select Create Block List
-
-
Create Server Block List - Windows Block List
-
In the Patch workbench, select Block Lists
-
Select Create Block List and use the following settings
-
Name = Server Block List - Windows
-
Platform = Windows
-
Click Add Rule
-
Rule Name= Exchange
-
Select Attribute = Title
-
Select Operator = Contains
-
Value= Exchange
-
Select Apply
-
-
Click Add Rule
-
Rule Name= SQL
-
Select Attribute = Title
-
Select Operator = Contains
-
Value= SQL
-
Select Apply
-
-
Click Add Rule
-
Rule Name= SharePoint
-
Select Attribute= Title
-
Select Operator= Contains
-
Value= SharePoint
-
Select Apply
-
-
Select Show preview to continue
-
Verify the displayed patches meet the expected ruleset
-
Select Create Block List
-
Deploy Block Lists
-
Return to the Block Lists section
-
Select Global Block List - Windows
-
In the Targeting section, choose Select Computer Groups
-
Select the All Windows Systems computer group
-
Select Save
-
After targeting the Computer Group, review the Enforcements section to ensure that endpoints are enforcing the block list. This normally completes within about 10 minutes, but you don't need to wait before continuing.
-
Return to the Block Lists section and select the Server Block List - Windows
-
In the Targeting section, choose Select Computer Groups
-
Select the All Windows Servers computer group
-
Select Save
-
After targeting the Computer Group, review the Enforcements section to ensure that endpoints are enforcing the block list. This normally completes within about 10 minutes, but you don't need to wait before continuing.
Prevent all patches from installing - Windows Block List
It is not recommended to add Computer Groups to the Prevent all patches from installing - Windows Block List at this time. That Block List is designed to be a failsafe in case a situation arises where patches must immediately be halted from application.
For example, if a critical mistake is made during a Patch Deployment, add a computer group to this Block List to stop any computers that have not already started a Patch Deployment from starting.
Once an endpoint has started installing patches, this block list will not stop the already executing deployment from continuing.
Create Patch Lists
Create three different Patch Lists that correspond to the three Computer Groups created earlier: Patch - Ring 1 Testing, Patch - Ring 2 Testing, and Patch - Ring 3 Production Workstations.
Create the Patch - Ring 1 Testing Patch List
-
In the Patch workbench, select Patch Lists
-
Select Create Patch List and use the following settings
-
Name= Patch - Ring 1 Testing
-
Platform = Windows
-
Content Set = Patch Content Set
-
Include superseded patches= Selected
-
Click Add rule
-
Rule Name= Patch Tuesday 2nd Tuesday
-
Select Attribute= Release Date
-
Select Operator= Release Date on or Before
-
Value= 1/1/1900
-
Select Apply
-
-
-
Select Show preview to continue
-
Verify that NO PATCHES DISPLAY in the Preview at this time.
-
Select Create Patch List
Create the Patch - Ring 2 Testing Patch List
-
Return to the Patch Lists section
-
Select Create Patch List and use the following settings
-
Name= Patch - Ring 2 Testing
-
Platform = Windows
-
Content Set = Patch Content Set
-
Include superseded patches= Selected
-
Click Add rule
-
Rule Name= Patch Tuesday 2nd Tuesday
-
Select Attribute = Release Date
-
Select Operator= Release Date on or Before
-
Value= 1/1/1900
-
Select Apply
-
-
-
Select Show preview to continue
-
Verify that NO PATCHES DISPLAY in the Preview at this time.
-
Select Create Patch List
Create the Patch - Ring 3 Production Workstations Patch List
-
Return to the Patch Lists section and Select Create Patch List
-
Select Create Patch List and use the following settings
-
Name = Patch - Ring 3 Production Workstations
-
Platform = Windows
-
Content Set = Patch Content Set
-
Include superseded patches= Selected
-
Click Add rule
-
Rule Name= Patch Tuesday 2nd Tuesday
-
Select Attribute= Release Date
-
Select Operator= Release Date on or Before
-
Value= 1/1/1900
-
Select Apply
-
-
-
Select Show preview to continue
-
Verify that NO PATCHES DISPLAY in the Preview at this time.
-
Select Create Patch List
Create and Deploy Maintenance Windows
Maintenance Windows are used to specify when endpoints are allowed to patch and reboot. If an endpoint does not have a Maintenance Window assigned, it is allowed to patch any time that there is an active Deployment.
We will utilize a special Blocking Maintenance Window to ensure that systems only patch during a configured and Active Maintenance Window. We will also configure a Sample Maintenance Window with generic settings which can be customized for your environment.
The purpose of the Blocking Maintenance Window is twofold. First, it ensures that patches are not installed on servers without a specific and active Maintenance Window deployed to them. This is a protection against unintended patch deployment.
Second, a Patch Administrator is required to configure and deploy an active Maintenance Window to servers in order to specify the time frame allowed for patching a given group of servers.
These Maintenance Windows can be as open or restrictive as business needs require.
It is generally advisable for workstations to either not utilize Maintenance Windows or have a very broad Maintenance Window to ensure that patches are applied. End User Notifications can be utilized to allow workstations to be patched at any time while also allowing the end user to have control over when the system reboots.
Configure a Blocking Maintenance Window
-
In the Patch workbench, select Maintenance Windows
-
Select Create Window and use the following settings
-
Name = Blocking Maintenance Window - Windows
-
Platform = Windows
-
Content Set = Patch Content Set
-
Recurrence= Do not repeat
-
Window Time= Use endpoint local time
-
Repeats = Does Not Repeat
-
Effective Date and Start Time= 1/1/1900 12:00 AM
-
Finish Date and Time= 1/1/1900 12:00 AM
-
-
Select Create Window
-
Scroll to the bottom and choose Select Computer Groups
-
Select the All Windows Servers computer group
-
Select Save.
-
After targeting the Computer Group, review the Enforcements section to ensure that endpoints are enforcing the block list. This normally completes within about 10 minutes, but you don't need to wait before continuing.
Configure a Daily Testing Maintenance Window
The Sample Daily Maintenance Window configuration in the example below is designed for testing purposes and allows patching on Windows Servers daily between 10:00pm and 6:00am. You need to determine the appropriate Maintenance Window configurations for your environment.
-
In the Patch workbench, select Maintenance Windows
-
Select Create Window and use the following settings
-
Name = Sample Daily Maintenance Window - Windows
-
Platform = Windows
-
Content Set = Patch Content Set
-
Recurrence= Daily
-
Frequency= Every Day
-
Window Time= Use endpoint local time
-
Effective Date and Start Time= Current Date 10:00 PM
-
Duration= 8 hours 0 minutes
-
-
Select Create Window
-
Scroll to the bottom and choose Select Computer Groups
-
Select the All Windows Servers computer group
-
Select Save
-
After targeting the Computer Group, review the Enforcements section to ensure that endpoints are enforcing the block list. This normally completes within about 10 minutes, but you don't need to wait before continuing.
Create Deployment Templates
In this section you will configure a Patch deployment template and the accompanying notification messages displayed to the user prior to patching.
This example provides some commonly used settings for requiring a restart following patch application. Many customers will restart immediately or significantly reduce the Deadline for Restart for their test groups.
Enterprise Test Patching Template
-
In the Patch workbench, select Deployment Templates
-
Select Create Deployment Template
-
Select Create Install Template and use the following settings
-
Name= Patch Testing Deployment Template
-
Platform = Windows
-
Content Set = Patch Content Set
-
Deployment Frequency= Ongoing Deployment
-
Use endpoint local time= Enabled
-
Download Immediately= Enabled
-
Distribute Over Time= Enabled - 2 Hours
-
Note: Specifying a Distribute over time is used to reduce concurrent load on virtual hosts when patching virtual machines. This is generally not used when patching physical machines or for small scale testing. Configure this accordingly for your environment.
-
-
Override Maintenance Windows= Disabled
-
Override Block Lists = Disabled
-
Restart= Yes
-
Notify User After Installing= Enabled
-
Duration of Notification Period= 8 hours
-
Final Countdown to Deadline= 15 minutes
-
Allow User to postpone= Enabled
-
1 hour
-
2 hours
-
4 hours
-
-
Title= Reboot Required
-
Title Icon= Select Upload Icon and then choose an appropriate image.
-
Body= <Suggested Text>
Note: Specifying a Distribute over time is used to reduce concurrent load on virtual hosts when patching virtual machines. This is generally not used when patching physical machines or for small scale testing. Configure this accordingly for your environment.
-
Body Image= Select Upload Icon and select Customer logo.
-
Select Save
-
Create Deployments
Create the Patch - Ring 1 Testing Deployment
-
In the Patch workbench, select Deployments from the menu
-
Select Create Deployment and then select Create Install Deployment. Use the following settings
-
Name= Patch - Ring 1 Testing - Windows
-
Platform = Windows
-
Content Set = Patch Content Set
-
Click Add Patch List
-
Patch List= Patch - Ring 1 Testing
-
Version = Latest
-
-
In the Targeting section, choose Select Computer Groups
-
Select the Patch - Ring 1 Testing computer group
-
Select Save
-
Deployment Template= Choose Use existing template, and then select the Patch Testing Deployment Template template.
-
Validate the rest of the settings that were configured from the template.
-
Select Show preview to continue
-
Verify that there are no patches displayed in the Preview
-
-
Select Deploy
-
Create the Patch - Ring 2 Testing Deployment
-
Return to the Deployments section
-
Select Create Deployment and then select Create Install Deployment. Use the following settings
-
Name= Patch - Ring 2 Testing - Windows
-
Platform = Windows
-
Content Set = Patch Content Set
-
Click Add Patch List
-
Patch List= Patch - Ring 2 Testing
-
Version = Latest
-
-
In the Targeting section, choose Select Computer Groups
-
Select the Patch - Ring 2 Testing computer group
-
Select Save
-
Deployment Template= Choose Use existing template, and then select the
Patch Testing Deployment Template template.
-
Validate the rest of the settings that were configured from the template.
-
Select Show preview to continue
-
Verify that there are no patches displayed in the Preview
-
Select Deploy
-
-
Create the Patch - Ring 3 Production Workstations Deployment
-
Go back to the Deployments section
-
Select Create Deployment and then select Create Install Deployment. Use the following settings
-
Name = Patch - Ring 3 Production Workstations - Windows
-
Platform = Windows
-
Content Set = Patch Content Set
-
Click Add Patch List
-
Patch List = Patch - Ring 3 Production Workstations
-
Version = Latest
-
-
In the Targeting section, choose Select Computer Groups
-
Select the Patch - Ring 3 Production Workstations computer group
-
Select Save
-
Deployment Template= Choose Use existing template, and then select the
Patch Testing Deployment Template template.
-
Validate the rest of the settings that were configured from the template.
-
Select Show preview to continue
-
Verify that there are no patches displayed in the Preview
-
-
Select Deploy
-