Open in the explorer

Specify source service for specific classes of Windows Updates

Spécifier le service source pour des classes spécifiques de mises à jour Windows

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Update › Manage updates offered from Windows Server Update Service FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Update › Gérer les mises à jour proposées de Windows Server Update Service
Supported on
At least Windows Server 2022, or Windows 10 Version 2004​ FR: Au minimum Windows Server 2022 ou Windows 10 version 2004
ADMX file
WindowsUpdate.admx
Internal name
WindowsUpdate/UpdateClassPolicySource_Title

Explanation

When this policy is enabled, devices will receive Windows updates for the classes listed from the specified update source: either Windows Update or Windows Server Update Service.

Note: To receive any updates from the Windows Server Update Service you must have properly configured an intranet Microsoft update service location via the “Specify intranet Microsoft update service location” policy.

If this policy is not configured or is disabled, the device will continue to detect updates per your other policy configurations.

Note: If you are using “Do not allow deferral policies to cause scans against Windows Update” currently to ensure devices only scan against your specified server, we recommend configuring this policy instead or in addition to such.

French text from Windows 11 26H2

Lorsque cette stratégie est activée, les appareils reçoivent les mises à jour Windows pour les classes répertoriées à partir de la source de mise à jour spécifiée : Windows Update ou le service de mise à jour Windows Server.

Remarque : pour recevoir des mises à jour à partir du service de mise à jour de Windows Server, vous devez avoir configuré correctement un emplacement intranet du service de mise à jour Microsoft à l’aide de la stratégie « Spécifier l’emplacement intranet du service de mise à jour Microsoft ».

Si cette stratégie n’est pas configurée ou si elle est désactivée, l’appareil continue de détecter les mises à jour par vos autres configurations de stratégie.

Remarque : Si vous utilisez « Ne pas autoriser les stratégies de report pour créer des analyses sur Windows Update » pour vérifier que les appareils n’effectuent une analyse que sur votre serveur spécifié, nous vous recommandons de configurer cette stratégie à la place ou en supplément.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
not defined in the ADMX
StateValue written
Enabled
KeyValueData
Software\Policies\Microsoft\Windows\WindowsUpdate\AUUseUpdateClassPolicySourceREG_DWORD = 1
Disabled
KeyValueData
Software\Policies\Microsoft\Windows\WindowsUpdate\AUUseUpdateClassPolicySourceREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: WindowsUpdate/UpdateClassPolicySource_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseUpdateClassPolicySource' -Value 1 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Feature Updates
# Possible options:
#   Windows Server Update Services = 1
#   Windows Update = 0
Set-ItemProperty -Path $k -Name 'SetPolicyDrivenUpdateSourceForFeatureUpdates' -Value 1 -Type DWord
# Quality Updates
# Possible options:
#   Windows Server Update Services = 1
#   Windows Update = 0
Set-ItemProperty -Path $k -Name 'SetPolicyDrivenUpdateSourceForQualityUpdates' -Value 1 -Type DWord
# Driver Updates
# Possible options:
#   Windows Server Update Services = 1
#   Windows Update = 0
Set-ItemProperty -Path $k -Name 'SetPolicyDrivenUpdateSourceForDriverUpdates' -Value 1 -Type DWord
# Other Updates
# Possible options:
#   Windows Server Update Services = 1
#   Windows Update = 0
Set-ItemProperty -Path $k -Name 'SetPolicyDrivenUpdateSourceForOtherUpdates' -Value 1 -Type DWord

Disable

# Disable: WindowsUpdate/UpdateClassPolicySource_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseUpdateClassPolicySource' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsUpdate/UpdateClassPolicySource_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
Remove-ItemProperty -Path $k -Name 'UseUpdateClassPolicySource' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'SetPolicyDrivenUpdateSourceForFeatureUpdates' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SetPolicyDrivenUpdateSourceForQualityUpdates' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SetPolicyDrivenUpdateSourceForDriverUpdates' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SetPolicyDrivenUpdateSourceForOtherUpdates' -ErrorAction SilentlyContinue

Options (4)

LabelControlRegistry valueREG typeConstraints / details
Feature UpdatesMises à jour des fonctionnalitésCorpWUSetPolicyDrivenUpdateSourceForFeatureUpdatesDrop-down listenumSetPolicyDrivenUpdateSourceForFeatureUpdatesREG_DWORD
Required · Default choice (UI): #0
LabelValue
Windows Server Update ServicesREG_DWORD = 1
Windows UpdateREG_DWORD = 0
Quality UpdatesMises à jour qualitéCorpWUSetPolicyDrivenUpdateSourceForQualityUpdatesDrop-down listenumSetPolicyDrivenUpdateSourceForQualityUpdatesREG_DWORD
Required · Default choice (UI): #0
LabelValue
Windows Server Update ServicesREG_DWORD = 1
Windows UpdateREG_DWORD = 0
Driver UpdatesMises à jour du piloteCorpWUSetPolicyDrivenUpdateSourceForDriverUpdatesDrop-down listenumSetPolicyDrivenUpdateSourceForDriverUpdatesREG_DWORD
Required · Default choice (UI): #0
LabelValue
Windows Server Update ServicesREG_DWORD = 1
Windows UpdateREG_DWORD = 0
Other UpdatesAutres mises à jourCorpWUSetPolicyDrivenUpdateSourceForOtherUpdatesDrop-down listenumSetPolicyDrivenUpdateSourceForOtherUpdatesREG_DWORD
Required · Default choice (UI): #0
LabelValue
Windows Server Update ServicesREG_DWORD = 1
Windows UpdateREG_DWORD = 0

Availability

Windows 10

✓ 22H2✓ 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016