Skip to content
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr

Create SCCM Automatic Deployment Rule | ADR | ConfigMgr

Written By Anoop C Nair
Last Updated June 22, 2024
Posted In SCCM
SHARE

ConfigMgr ADRs are Automatic Deployment Rules created to deploy Software Updates (monthly patches) automatically. Let’s learn to create the SCCM Automatic Deployment Rule (ADR) to simplify monthly patching for Configuration Manager Admins.

The assumption here is that you already have a manual patching process in place for your organization. Now, the requirement is to take the monthly patching process to the next level by using ADR.

Make sure you complete the following steps before creating an Automatic Deployment Rule (a.k.a ADR). Ensure you have hotfixes/patches available under \Software Library\Overview\Software Updates\All Software Updates.

Step #1 – Create Automatic Deployment Rule

  • Launch ConfigMgr Console.
  • Navigate to \Software Library\Overview\Software Updates\Automatic Deployment Rules
  • Right-click on the Automatic Deployment Rules node and Select Create Automatic Deployment Rule.
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr

General Settings Page

Let’s understand the general settings of Automatic Deployment Rule. The following settings are the best options for some scenarios. I would recommend you to try testing different combination for several months before deciding on one particular option.

Patch My PC

One example is Create a New Software Update Group. Creating new SUG is best option in my experience for many scenarios. But some of you might have a different opinion & experience. Please feel to share in the comments if you like.

  • Enter the Name for ConfigMgr ADR rule
    • HTMD ADR for Windows 10 Monthly Security Patches.
  • Enter the Description – So that your colleagues can understand what is this ADR
    • “Sample Text – Pilot – Monthly security Patches for HTMD Team. Please create another ADR for different departs. Don’t change the ADR without notifying the following teams.”
  • Select the Device collection you want to deploy the monthly security patches.
    • I normally select pilot collection with fewer devices and then production deployment will be a different one.
  • Now, you need to tell the ADR that what it should do when?
    • Each Time the rule runs and finds new updates
    • I select Create a new Software Update Group.
  • Make sure you select the checkmark to Enable the Deployment after this rule is run for pilot deploy.
    • For production, if you want you can uncheck this option to be safer.
  • Click on the Next button to continue.
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr

Deployment Settings

  • Choose How many state details you want the client to report back for deployment created by this ADR.
    • Details Level – I selected the default one.
      • Only Error Messages
  • Some Software updates include license agreements. This option is to approve any license agreements automatically.
    • I select the default option
      • Automatically deploy all software updates found by this ADR, and approve any license agreement
  • Click on the Next button to continue.
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr

Select Software Updates using ADR Criteria

The brain of ADR – Let’s select the criteria of which you want to deploy using SCCM ADR.

  • The software updates that meet the specified criteria are added to the associated software update group
    • Properties filters – You can select from the following list:
      • Article ID
      • Bulletin ID
      • Content Size (KB)
      • Custom Severity
      • Date Released or Reviewed
      • Description
      • Is Deployed
      • Language
      • Product
      • Required
      • Severity
      • Superseded
      • Title
      • Update Classification
      • UUP Preference
      • Vendor
    • Select the value for the filters you want for each filter
      • (Refer to the screenshot to get more details about the filters which I used for pilot deployment SCCM ADR rule).
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr
Create SCCM Automatic Deployment Rule | ADR | ConfigMgr

Platform Details

• Architecture: "x64"
• Date Released or Revised: Last 1 month
• Is Deployed: No
• Product: "Windows 10, version 1903 and later"
• Superseded: No
• Update Classification: "Security Updates"

Preview Software Updates

  • Click on the Preview button to check and confirm whether you are using the filters correctly and to avoid accidental deployment errors.
  • Click on the CLOSE button.
  • Click on the next button to continue.
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM

ADR Evaluation Schedule Settings

Now, let’s setup a monthly second Tuesday schedule for ConfigMgr Automatic Deployment Rule (ADR).

  • Select Run the Rule on a Schedule.
  • Click on the Customize button to schedule.

Custom Schedule Second Tuesday for ADR

  • Select the Custom Schedule for the ADR evaluation schedule.
    • Select Time – Select the time you want to start custom schedule
    • Reoccurrence pattern
    • Configure the recurrence schedule
      • Monthly The Second Tuesday
      • Click OK
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM
  • Occurs the Second Tuesday of every 1 months effective 6/26/2020 3:51 PM
  • Click the Next button to continue

Deployment Schedule for SCCM ADR

  • Specify if the schedule for this deployment is evaluated based upon UTC or local client time.
    • I select default option Time Based onClient Local Time
  • Software available time.
    • As Soon As Possible
  • Installation Deadline.
    • Specific Time – 7 Days
  • Click the NEXT button.

NOTE! – You can enable the feature to Delay enforcement of this deployment according to user preferences up to the grace period defined in client settings.

Create ConfigMgr Automatic Deployment Rule | ADR | SCCM
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM

User Experience – ADR Template

  • I always keep the user experience as default unless you have a specific business requirement.

Setup Alerts for Automatic Deployment Rule (ADR)

  • Set the alerts using the following option.
    • Generate an alert when this Rule fails
  • Click the Next button.

Package Creation Process

  • Select the option – Create a new Deployment Package
  • Enter the Package name – Windows 10 Security Patches
  • Enter the package source location – \\CMMEMCM\Sources\Patches\Security Patch
  • Make sure you enable the option called – Enable binary differential replication.
  • Click the next button

NOTE! – Select NO Deployment Option if you want to use Microsoft cloud instead of on-prem DPs for patching.

Create ConfigMgr Automatic Deployment Rule | ADR | SCCM
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM

Distribute the Package

  • Select the Distribution Point you want to distribute the package.
  • Click Add and Select the available distribution point.
  • Click ok.
  • Click the Next button to continue.

Download Options

  • Select the option to Download the updates from Microsoft cloud.
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM

Language Selection

  • This is the option to select Language Selection.
    • Windows Update Language = English.
    • Office 365 Client Update = English (United States).

Client Download Settings

  • Select Download settings for the client.
    • Deployment Options
      • Do not install software updates
    • Deployment options
      • Download and Install software updates from all distribution points in site default boundary group
    • Click on the Next button
  • Click Next, Next, and Close.
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM

Results

Let’s check the results ADR results here.

SCCM ADR Log File

  • Check the log file called ruleengine.log on site server.
 Query to run is: SELECT CI.CI_ID FROM dbo.fn_ListUpdateCIs(1033) CI                         JOIN (SELECT B.CI_ID, SUM(CF.FileSize)/1024 AS ContentSize FROM v_UpdateInfo B                         JOIN vCIAllContents AC ON AC.CI_ID = B.CI_ID                         JOIN vSMS_CIContentFiles AS CF on CF.Content_ID = AC.Content_ID                         GROUP BY B.CI_ID) AS CS ON CI.CI_ID = CS.CI_ID                         WHERE IsExpired = 0~  and (DateRevised>=N'2020-05-27 19:38:39')~  and (IsDeployed=0)~  and (IsSuperseded=0)~  and (DisplayName not like N'%Itanium%' and DisplayName not like N'%IA64%' and DisplayName not like N'%x86%' and DisplayName not like N'%32-Bit%' and DisplayName not like N'%ARM64%')~  and (CI.CI_ID in (select CI_ID from v_CICategories_All where CategoryInstance_UniqueID in (N'Product:b3c75dc1-155f-4be4-b015-3f1a91758e52')))~  and (CI.CI_ID in (select CI_ID from v_CICategories_All where CategoryInstance_UniqueID in (N'UpdateClassification:0fa1201d-4330-4fa8-8ae9-b877473b6441')))
 Rule resulted in a total of 9 updates
Download Rule Action XML is: <ContentActionXML xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema"><PackageID>MEM00020</PackageID><ContentLocales><Locale>Locale:9</Locale><Locale>Locale:0</Locale></ContentLocales><O365ContentLocales><Locale>Locale:1033</Locale><Locale>Locale:0</Locale></O365ContentLocales><ContentSources><Source Name="Internet" Order="1"/><Source Name="WSUS" Order="2"/><Source Name="UNC" Order="3" Location=""/></ContentSources></ContentActionXML>
Criteria Filter Result XML is: <EvaluationResultXML xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema"><CI_IDs><CI_ID>16783343</CI_ID><CI_ID>16783371</CI_ID><CI_ID>16783389</CI_ID><CI_ID>16783401</CI_ID><CI_ID>16783417</CI_ID><CI_ID>16783419</CI_ID><CI_ID>16783433</CI_ID><CI_ID>16783451</CI_ID><CI_ID>16783457</CI_ID></CI_IDs> </EvaluationResultXML>
9 update(s) need to be downloaded in package "MEM00020" (\\CMMEMCM\Sources\Patches\Security Patch)
Downloading contents (count = 1) for UpdateID 16783343
List of update content(s) which match the content rule criteria = {16780582}
Successfully downloaded the update content with ID 16780611 from internet.
Updated Success Information for Rule: 1
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM
Create ConfigMgr Automatic Deployment Rule | ADR | SCCM

Software Update Group by ADR

  • Software Update Group got created using ADR.
Create SCCM Automatic Deployment Rule | ADR | Configmgr
Create SCCM Automatic Deployment Rule | ADR | Configmgr

Deployment Package Created by ADR

  • The deployment package got created using the SCCM ADR!
Create SCCM Automatic Deployment Rule | ADR | Configmgr
Create SCCM Automatic Deployment Rule | ADR | Configmgr

Resources

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 8 comments

  1. I was always taught that the checkbox in User Experience “if any update in the deployment requires a restart run updates deployment cycle after restart” should always be enabled so that SCCM knows the patch is installed. Is that not the case for this checkbox?

  2. Thanks for this post, great help.

    If I deploy this ADR to a bunch of test machines. Once I’m happy there is no issues with windows updates. What is the best way to push these “tested” updates to all other machines?

      1. Is there a way I can configure for clients to get updates from Internet instead of DP which ADR used to distribute on schedule time ?

  3. Hi, thank you very much for this overview. I have it configured pretty much the same in our SCCM, but lately wondered why the options for product stop at “Windows 10, version 1903 and later”. Can you tell why that is? Did system recognition simply not change after 1903 for 1909, 2004, and 20H4?

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read