Select the source of Group IDs: registry value DOGroupIdSourceComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization

Policy ID
GroupIdSource
Scope
Computer Configuration
Supported on
At least Windows Server 2016, Windows 10
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Delivery Optimization

Registry

DOGroupIdSource

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Source of Group IDs:
Options
ItemStored value
Not Set (0)0
AD Site (1)1
Authenticated domain SID (2)2
DHCP Option ID (3)3
DNS Suffix (4)4
AAD Tenant ID (5)5
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization]

; Options (use only one)
; Not Set (0)
"DOGroupIdSource"=dword:00000000
; AD Site (1)
"DOGroupIdSource"=dword:00000001
; Authenticated domain SID (2)
"DOGroupIdSource"=dword:00000002
; DHCP Option ID (3)
"DOGroupIdSource"=dword:00000003
; DNS Suffix (4)
"DOGroupIdSource"=dword:00000004
; AAD Tenant ID (5)
"DOGroupIdSource"=dword:00000005
CMD
:: Options (use only one)

:: Not Set (0)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 0 /f
:: AD Site (1)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 1 /f
:: Authenticated domain SID (2)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 2 /f
:: DHCP Option ID (3)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 3 /f
:: DNS Suffix (4)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 4 /f
:: AAD Tenant ID (5)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 5 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Force | Out-Null

# Options (use only one)
# Not Set (0)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 0 -Force | Out-Null
# AD Site (1)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 1 -Force | Out-Null
# Authenticated domain SID (2)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 2 -Force | Out-Null
# DHCP Option ID (3)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 3 -Force | Out-Null
# DNS Suffix (4)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 4 -Force | Out-Null
# AAD Tenant ID (5)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 5 -Force | Out-Null