Optionale Updates aktivieren: Registrierungswert SetAllowOptionalContent und 1 weitereComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate

Richtlinien-ID
AllowOptionalContent
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Server 2025, Windows 10 Version 21H2 oder Windows 11, Version 22H2
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Windows Update › Vom Windows Update angebotene Updates verwalten

Registrierung

SetAllowOptionalContent

REG_DWORDComputer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; Aktiviert
"SetAllowOptionalContent"=dword:00000001
; Deaktiviert
"SetAllowOptionalContent"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetAllowOptionalContent" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetAllowOptionalContent" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetAllowOptionalContent' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetAllowOptionalContent' -PropertyType DWord -Value 0 -Force | Out-Null

AllowOptionalContent

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Wählen Sie aus, wie Benutzer optionale Updates erhalten:
Optionen
EintragGespeicherter Wert
Automatisches Empfangen optionaler Updates (einschließlich CFRs)1
Automatisches Empfangen optionaler Updates2
Benutzer können auswählen, welche optionalen Updates sie erhalten möchten3
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; Automatisches Empfangen optionaler Updates (einschließlich CFRs)
"AllowOptionalContent"=dword:00000001
; Automatisches Empfangen optionaler Updates
"AllowOptionalContent"=dword:00000002
; Benutzer können auswählen, welche optionalen Updates sie erhalten möchten
"AllowOptionalContent"=dword:00000003
CMD
:: Optionen (nur eine verwenden)

:: Automatisches Empfangen optionaler Updates (einschließlich CFRs)
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AllowOptionalContent" /t REG_DWORD /d 1 /f
:: Automatisches Empfangen optionaler Updates
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AllowOptionalContent" /t REG_DWORD /d 2 /f
:: Benutzer können auswählen, welche optionalen Updates sie erhalten möchten
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AllowOptionalContent" /t REG_DWORD /d 3 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Optionen (nur eine verwenden)
# Automatisches Empfangen optionaler Updates (einschließlich CFRs)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AllowOptionalContent' -PropertyType DWord -Value 1 -Force | Out-Null
# Automatisches Empfangen optionaler Updates
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AllowOptionalContent' -PropertyType DWord -Value 2 -Force | Out-Null
# Benutzer können auswählen, welche optionalen Updates sie erhalten möchten
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AllowOptionalContent' -PropertyType DWord -Value 3 -Force | Out-Null