When using AWS Systems Manager for patching on-site Windows machines, what should Windows Update via Group Policy be set to?

0

We have recently switched from using Microsoft WSUS to using AWS Systems Manager and the SSM agent for patching our cloud and our on-site resources. We have been experiencing servers updating themselves and rebooting outside the defined maintenance periods. Documentation is vague or non-existent on how local Windows Update services and/or tasks should be configured using Group Policy. What is the definitive answer?

asked 2 months ago45 views
2 Answers
3

Please considering below:

  1. Disable Automatic Updates via Group Policy:
  • Open the Group Policy Management Console (GPMC).

  • Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Update.

  • Set the policy "Configure Automatic Updates" to Disabled. This prevents Windows Update from automatically downloading and installing updates, which could interfere with SSM's patching schedule.

  1. Ensure Windows Update Service is Running:
  • The Windows Update service must be enabled and running for SSM to apply patches. However, it should not be configured to automatically install updates outside of SSM's control.
  1. Disable Scheduled Tasks for Windows Update:
  • Check for any scheduled tasks related to Windows Update (e.g., in Task Scheduler under Microsoft > Windows > UpdateOrchestrator).

  • Disable tasks like "Reboot" or "Scheduled Start" to prevent unexpected reboots.

  1. Use SSM Maintenance Windows:
  • Define maintenance windows in AWS Systems Manager to control when patches are applied and reboots occur. This ensures updates happen only during the specified timeframes.
  1. Review Patch Baselines:

Ensure your SSM patch baselines are configured correctly to include only the updates you want to apply. This helps avoid unnecessary updates that could cause unexpected behavior.

EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed a month ago
0

You should consider one more Group Policy setting in 1st section.

  1. Disable Automatic Updates via Group Policy:
  • Open the Group Policy Management Console (GPMC).
  • Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Update.
  • Set the policy "Configure Automatic Updates" to Disabled. This prevents Windows Update from automatically downloading and installing updates, which could interfere with SSM's patching schedule.
  • Use Computer Configuration\Administrative Templates\Windows Components\Windows update\Do not connect to any Windows Update Internet locations to enable this policy.
AWS
SUPPORT ENGINEER
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions