Patching applications released by Microsoft on Windows Server
Use the information in this topic to help you prepare to patch applications on Windows Server using Patch Manager, a capability of AWS Systems Manager.
Microsoft application patching
Patching support for applications on Windows Server managed nodes is limited to applications released by Microsoft.
Note
In some cases, Microsoft releases patches for
applications that don't specify an updated date and time. In these cases, an updated
date and time of 01/01/1970
is supplied by default.
Patch baselines to patch applications released by Microsoft
For Windows Server, three predefined patch baselines are provided. The patch baselines
AWS-DefaultPatchBaseline
and AWS-WindowsPredefinedPatchBaseline-OS
support only operating
system updates on the Windows operating system itself. AWS-DefaultPatchBaseline
is used as the default patch
baseline for Windows Server managed nodes unless you specify a different patch baseline. The configuration settings in these two patch
baselines are the same. The newer of the two, AWS-WindowsPredefinedPatchBaseline-OS
, was created to
distinguish it from the third predefined patch baseline for Windows Server. That patch baseline,
AWS-WindowsPredefinedPatchBaseline-OS-Applications
, can be used to apply patches to both the Windows Server operating
system and supported applications released by Microsoft.
You can also create a custom patch baseline to update applications released by Microsoft on Windows Server machines.
Support for patching applications released by Microsoft on on-premises servers, edge devices, VMs, and other non-EC2 nodes
To patch applications released by Microsoft on virtual machines (VMs) and other non-EC2 managed nodes, you must turn on the advanced-instances tier. There is a charge to use the advanced-instances tier. However, there is no additional charge to patch applications released by Microsoft on Amazon Elastic Compute Cloud (Amazon EC2) instances. For more information, see Configuring instance tiers.
Windows update option for "other Microsoft products"
In order for Patch Manager to be able to patch applications released by Microsoft on your Windows Server managed nodes, the Windows Update option Give me updates for other Microsoft products when I update Windows must be activated on the managed node.
For information about allowing this option on a single managed node, see Update Office with Microsoft Update
For a fleet of managed nodes running Windows Server 2016 and later, you can use a Group
Policy Object (GPO) to turn on the setting. In the Group Policy Management Editor,
go to Computer Configuration, Administrative
Templates, Windows Components, Windows
Updates, and choose Install updates for other Microsoft
products. We also recommend configuring the GPO with additional
parameters that prevent unplanned automatic updates and reboots outside of Patch Manager.
For more information, see Configuring Automatic Updates in a Non-Active Directory Environment
For a fleet of managed nodes running Windows Server 2012 or 2012 R2 , you can turn on
the option by using a script, as described in Enabling and Disabling Microsoft Update in Windows 7 via Script
-
Save the script from the blog post in a file.
-
Upload the file to an Amazon Simple Storage Service (Amazon S3) bucket or other accessible location.
-
Use Run Command, a capability of AWS Systems Manager, to run the script on your managed nodes using the Systems Manager document (SSM document)
AWS-RunPowerShellScript
with a command similar to the following.Invoke-WebRequest ` -Uri "https://s3.
aws-api-domain
/amzn-s3-demo-bucket/script.vbs" ` -Outfile "C:\script.vbs" cscript c:\script.vbs
Minimum parameter requirements
To include applications released by Microsoft in your custom patch baseline, you must, at a minimum, specify the product that you want to patch. The following AWS Command Line Interface (AWS CLI) command demonstrates the minimal requirements to patch a product, such as Microsoft Office 2016.
If you specify the Microsoft application product family, each product you specify must be a supported member of the selected product family. For example, to patch the product "Active Directory Rights Management Services Client 2.0," you must specify its product family as "Active Directory" and not, for example, "Office" or "SQL Server." The following AWS CLI command demonstrates a matched pairing of product family and product.
Note
If you receive an error message about a mismatched product and family pairing, see Issue: mismatched product family/product pairs for help resolving the issue.