Installation von Geräten zulassen, die mit einer der folgenden Geräteinstanz-IDs übereinstimmen: Registrierungswert AllowInstanceIDs (Restrictions)ComputerHKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions
- Richtlinien-ID
- DeviceInstall_Instance_IDs_Allow
- Bereich
- Computerkonfiguration
- Unterstützt unter
- Mindestens Windows Server 2016, Windows 10, Version 1909
- Quelle
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
- Kategorie
- System › Geräteinstallation › Einschränkungen bei der Geräteinstallation
Registrierung
AllowInstanceIDs
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions Aktueller Schlüssel
- 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 "AllowInstanceIDs"=dword:00000001 ; Deaktiviert "AllowInstanceIDs"=dword:00000000
CMD
:: Optionen (nur eine verwenden) :: Aktiviert reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "AllowInstanceIDs" /t REG_DWORD /d 1 /f :: Deaktiviert reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "AllowInstanceIDs" /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 'AllowInstanceIDs' -PropertyType DWord -Value 1 -Force | Out-Null # Deaktiviert New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'AllowInstanceIDs' -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 zulassen, die mit einer der folgenden Geräteinstanz-IDs übereinstimmen:
- 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\AllowInstanceIDs] ; 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\AllowInstanceIDs" /v "1" /t REG_SZ /d "<Wert eingeben>" /f reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowInstanceIDs" /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\AllowInstanceIDs' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowInstanceIDs' -Name '1' -PropertyType String -Value '<Wert eingeben>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowInstanceIDs' -Name '2' -PropertyType String -Value '<Wert eingeben>' -Force | Out-Null