選取群組識別碼的來源 的登錄值 DOGroupIdSource電腦HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization

原則 ID
GroupIdSource
適用範圍
電腦設定
支援的作業系統
至少需要 Windows Server 2016、Windows 10
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › 傳遞最佳化

登錄

DOGroupIdSource

REG_DWORD電腦
啟用時的值
取決於選項值
元素
群組識別碼的來源:
選項
項目儲存的值
未設定 (0)0
AD 站台 (1)1
已驗證的網域 SID (2)2
DHCP 選項識別碼 (3)3
DNS 尾碼 (4)4
AAD 租用戶識別碼 (5)5
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 未設定 (0)
"DOGroupIdSource"=dword:00000000
; AD 站台 (1)
"DOGroupIdSource"=dword:00000001
; 已驗證的網域 SID (2)
"DOGroupIdSource"=dword:00000002
; DHCP 選項識別碼 (3)
"DOGroupIdSource"=dword:00000003
; DNS 尾碼 (4)
"DOGroupIdSource"=dword:00000004
; AAD 租用戶識別碼 (5)
"DOGroupIdSource"=dword:00000005
CMD
:: 選項 (只使用其中一個)

:: 未設定 (0)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 0 /f
:: AD 站台 (1)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 1 /f
:: 已驗證的網域 SID (2)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 2 /f
:: DHCP 選項識別碼 (3)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 3 /f
:: DNS 尾碼 (4)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 4 /f
:: AAD 租用戶識別碼 (5)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOGroupIdSource" /t REG_DWORD /d 5 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Force | Out-Null

# 選項 (只使用其中一個)
# 未設定 (0)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 0 -Force | Out-Null
# AD 站台 (1)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 1 -Force | Out-Null
# 已驗證的網域 SID (2)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 2 -Force | Out-Null
# DHCP 選項識別碼 (3)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 3 -Force | Out-Null
# DNS 尾碼 (4)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 4 -Force | Out-Null
# AAD 租用戶識別碼 (5)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOGroupIdSource' -PropertyType DWord -Value 5 -Force | Out-Null