Installation von Geräten mit diesen Geräte-IDs zulassen: Registrierungswert AllowDeviceIDs (Restrictions)ComputerHKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions

Richtlinien-ID
DeviceInstall_IDs_Allow
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Vista
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
System › Geräteinstallation › Einschränkungen bei der Geräteinstallation

Registrierung

AllowDeviceIDs

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\DeviceInstall\Restrictions]

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

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

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

(Listenwerte)

REG_SZComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Installation von Geräten mit diesen Geräte-IDs zulassen:
Werttyp
REG_SZ
Präfix des Wertnamens
-
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDeviceIDs]

; Pro Listeneintrag einen Wert hinzufügen und die Nummer erhöhen
"1"="<Wert eingeben>"
"2"="<Wert eingeben>"
CMD
:: Pro Listeneintrag einen Wert hinzufügen und die Nummer erhöhen

reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDeviceIDs" /v "1" /t REG_SZ /d "<Wert eingeben>" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDeviceIDs" /v "2" /t REG_SZ /d "<Wert eingeben>" /f
PowerShell
# Pro Listeneintrag einen Wert hinzufügen und die Nummer erhöhen

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDeviceIDs' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDeviceIDs' -Name '1' -PropertyType String -Value '<Wert eingeben>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDeviceIDs' -Name '2' -PropertyType String -Value '<Wert eingeben>' -Force | Out-Null