Bu cihaz örneği kimliklerinden herhangi biriyle eşleşen cihazların yüklenmesini engelle:: kayıt defteri değeri DenyInstanceIDs ve 1 tane daha (Restrictions)BilgisayarHKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions

İlke Kimliği
DeviceInstall_Instance_IDs_Deny
Kapsam
Bilgisayar Yapılandırması
Desteklenen işletim sistemleri
En az Windows Server 2016, Windows 10 Sürüm 1909
Kaynak
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
Kategori
Sistem › Aygıt Yükleme › Aygıt Yükleme Kısıtlamaları

Kayıt defteri

DenyInstanceIDs

REG_DWORDBilgisayar
Etkin değeri
1
Devre dışı değeri
0
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

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

; Seçenekler (yalnızca birini kullanın)
; Etkin
"DenyInstanceIDs"=dword:00000001
; Devre Dışı
"DenyInstanceIDs"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Etkin
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyInstanceIDs" /t REG_DWORD /d 1 /f
:: Devre Dışı
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyInstanceIDs" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Etkin
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyInstanceIDs' -PropertyType DWord -Value 1 -Force | Out-Null
# Devre Dışı
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyInstanceIDs' -PropertyType DWord -Value 0 -Force | Out-Null

(liste değerleri)

REG_SZBilgisayar
Etkin değeri
Seçenek değerine bağlıdır
Öğe
Bu cihaz örneği kimliklerinden herhangi biriyle eşleşen cihazların yüklenmesini engelle:
Değer türü
REG_SZ
Değer adı öneki
-
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

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

; Her liste girdisi için bir değer ekleyin, numarayı artırarak
"1"="<değeri girin>"
"2"="<değeri girin>"
CMD
:: Her liste girdisi için bir değer ekleyin, numarayı artırarak

reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyInstanceIDs" /v "1" /t REG_SZ /d "<değeri girin>" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyInstanceIDs" /v "2" /t REG_SZ /d "<değeri girin>" /f
PowerShell
# Her liste girdisi için bir değer ekleyin, numarayı artırarak

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 '<değeri girin>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyInstanceIDs' -Name '2' -PropertyType String -Value '<değeri girin>' -Force | Out-Null

DenyInstanceIDsRetroactive

REG_DWORDBilgisayar
İşaretli
1
İşaretsiz
0
Öğe
Ayrıca zaten yüklü olan eşleşen cihazlara da uygulayın.
Değer türü
REG_DWORD
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

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

; Seçenekler (yalnızca birini kullanın)
; İşaretli
"DenyInstanceIDsRetroactive"=dword:00000001
; İşaretsiz
"DenyInstanceIDsRetroactive"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın)

:: İşaretli
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyInstanceIDsRetroactive" /t REG_DWORD /d 1 /f
:: İşaretsiz
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyInstanceIDsRetroactive" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# İşaretli
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyInstanceIDsRetroactive' -PropertyType DWord -Value 1 -Force | Out-Null
# İşaretsiz
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyInstanceIDsRetroactive' -PropertyType DWord -Value 0 -Force | Out-Null