Installation von Geräten verhindern, die mit einer der folgenden Geräteinstanz-IDs übereinstimmen: Registrierungswert DenyInstanceIDs und 1 weitere (Restrictions)ComputerHKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions
- Richtlinien-ID
- DeviceInstall_Instance_IDs_Deny
- 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
DenyInstanceIDs
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 "DenyInstanceIDs"=dword:00000001 ; Deaktiviert "DenyInstanceIDs"=dword:00000000
CMD
:: Optionen (nur eine verwenden) :: Aktiviert reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyInstanceIDs" /t REG_DWORD /d 1 /f :: Deaktiviert reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyInstanceIDs" /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 'DenyInstanceIDs' -PropertyType DWord -Value 1 -Force | Out-Null # Deaktiviert New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyInstanceIDs' -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 verhindern, 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\DenyInstanceIDs] ; 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\DenyInstanceIDs" /v "1" /t REG_SZ /d "<Wert eingeben>" /f reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyInstanceIDs" /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\DenyInstanceIDs' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyInstanceIDs' -Name '1' -PropertyType String -Value '<Wert eingeben>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyInstanceIDs' -Name '2' -PropertyType String -Value '<Wert eingeben>' -Force | Out-Null
DenyInstanceIDsRetroactive
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions Aktueller Schlüssel
- Angekreuzt
- 1
- Nicht angekreuzt
- 0
- Element
- Auch auf übereinstimmende Geräte anwenden, die bereits installiert sind
- Werttyp
- REG_DWORD
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) ; Angekreuzt "DenyInstanceIDsRetroactive"=dword:00000001 ; Nicht angekreuzt "DenyInstanceIDsRetroactive"=dword:00000000
CMD
:: Optionen (nur eine verwenden) :: Angekreuzt reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyInstanceIDsRetroactive" /t REG_DWORD /d 1 /f :: Nicht angekreuzt reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyInstanceIDsRetroactive" /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) # Angekreuzt New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyInstanceIDsRetroactive' -PropertyType DWord -Value 1 -Force | Out-Null # Nicht angekreuzt New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyInstanceIDsRetroactive' -PropertyType DWord -Value 0 -Force | Out-Null