Określ usługę źródłową dla określonych klas aktualizacji systemu Windows: wartość rejestru SetPolicyDrivenUpdateSourceForFeatureUpdates i 3 więcejKomputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate

Identyfikator zasady
UpdateClassPolicySource_Title
Zakres
Konfiguracja komputera
Obsługiwane w systemach
Co najmniej Windows Server 2022, Windows 10 wersja 2004 ​
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
Składniki systemu Windows › Usługa Windows Update › Zarządzanie aktualizacjami oferowanymi w usłudze Windows Server Update Service

Rejestr

UseUpdateClassPolicySource

REG_DWORDKomputer
Wartość włączona
1
Wartość wyłączona
0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU]

; Opcje (użyj tylko jednej)
; Włączone
"UseUpdateClassPolicySource"=dword:00000001
; Wyłączone
"UseUpdateClassPolicySource"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Włączone
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "UseUpdateClassPolicySource" /t REG_DWORD /d 1 /f
:: Wyłączone
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "UseUpdateClassPolicySource" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Włączone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'UseUpdateClassPolicySource' -PropertyType DWord -Value 1 -Force | Out-Null
# Wyłączone
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'UseUpdateClassPolicySource' -PropertyType DWord -Value 0 -Force | Out-Null

SetPolicyDrivenUpdateSourceForFeatureUpdates

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Aktualizacje funkcji
Opcje
PozycjaZapisana wartość
Windows Server Update Services1
Usługa Windows Update0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opcje (użyj tylko jednej)
; Windows Server Update Services
"SetPolicyDrivenUpdateSourceForFeatureUpdates"=dword:00000001
; Usługa Windows Update
"SetPolicyDrivenUpdateSourceForFeatureUpdates"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Windows Server Update Services
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetPolicyDrivenUpdateSourceForFeatureUpdates" /t REG_DWORD /d 1 /f
:: Usługa Windows Update
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetPolicyDrivenUpdateSourceForFeatureUpdates" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Windows Server Update Services
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetPolicyDrivenUpdateSourceForFeatureUpdates' -PropertyType DWord -Value 1 -Force | Out-Null
# Usługa Windows Update
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetPolicyDrivenUpdateSourceForFeatureUpdates' -PropertyType DWord -Value 0 -Force | Out-Null

SetPolicyDrivenUpdateSourceForQualityUpdates

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Aktualizacje dotyczące jakości
Opcje
PozycjaZapisana wartość
Windows Server Update Services1
Usługa Windows Update0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opcje (użyj tylko jednej)
; Windows Server Update Services
"SetPolicyDrivenUpdateSourceForQualityUpdates"=dword:00000001
; Usługa Windows Update
"SetPolicyDrivenUpdateSourceForQualityUpdates"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Windows Server Update Services
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetPolicyDrivenUpdateSourceForQualityUpdates" /t REG_DWORD /d 1 /f
:: Usługa Windows Update
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetPolicyDrivenUpdateSourceForQualityUpdates" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Windows Server Update Services
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetPolicyDrivenUpdateSourceForQualityUpdates' -PropertyType DWord -Value 1 -Force | Out-Null
# Usługa Windows Update
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetPolicyDrivenUpdateSourceForQualityUpdates' -PropertyType DWord -Value 0 -Force | Out-Null

SetPolicyDrivenUpdateSourceForDriverUpdates

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Aktualizacje sterowników
Opcje
PozycjaZapisana wartość
Windows Server Update Services1
Usługa Windows Update0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opcje (użyj tylko jednej)
; Windows Server Update Services
"SetPolicyDrivenUpdateSourceForDriverUpdates"=dword:00000001
; Usługa Windows Update
"SetPolicyDrivenUpdateSourceForDriverUpdates"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Windows Server Update Services
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetPolicyDrivenUpdateSourceForDriverUpdates" /t REG_DWORD /d 1 /f
:: Usługa Windows Update
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetPolicyDrivenUpdateSourceForDriverUpdates" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Windows Server Update Services
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetPolicyDrivenUpdateSourceForDriverUpdates' -PropertyType DWord -Value 1 -Force | Out-Null
# Usługa Windows Update
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetPolicyDrivenUpdateSourceForDriverUpdates' -PropertyType DWord -Value 0 -Force | Out-Null

SetPolicyDrivenUpdateSourceForOtherUpdates

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Inne aktualizacje
Opcje
PozycjaZapisana wartość
Windows Server Update Services1
Usługa Windows Update0
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opcje (użyj tylko jednej)
; Windows Server Update Services
"SetPolicyDrivenUpdateSourceForOtherUpdates"=dword:00000001
; Usługa Windows Update
"SetPolicyDrivenUpdateSourceForOtherUpdates"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Windows Server Update Services
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetPolicyDrivenUpdateSourceForOtherUpdates" /t REG_DWORD /d 1 /f
:: Usługa Windows Update
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetPolicyDrivenUpdateSourceForOtherUpdates" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Windows Server Update Services
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetPolicyDrivenUpdateSourceForOtherUpdates' -PropertyType DWord -Value 1 -Force | Out-Null
# Usługa Windows Update
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetPolicyDrivenUpdateSourceForOtherUpdates' -PropertyType DWord -Value 0 -Force | Out-Null