Bu aygıt kimliklerinden herhangi biriyle eşleşen aygıtların yüklenmesini engelle: kayıt defteri değeri DeviceInstall_IDs_Deny (DenyDeviceIDs)BilgisayarHKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs

İlke Kimliği
DeviceInstall_IDs_Deny
Kapsam
Bilgisayar Yapılandırması
Desteklenen işletim sistemleri
En azından Windows Vista
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

DenyDeviceIDs

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
"DenyDeviceIDs"=dword:00000001
; Devre Dışı
"DenyDeviceIDs"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Etkin
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceIDs" /t REG_DWORD /d 1 /f
:: Devre Dışı
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceIDs" /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 'DenyDeviceIDs' -PropertyType DWord -Value 1 -Force | Out-Null
# Devre Dışı
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyDeviceIDs' -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 Aygıt Kimliklerinden herhangi biriyle eşleşen aygıtları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\DenyDeviceIDs]

; 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\DenyDeviceIDs" /v "1" /t REG_SZ /d "<değeri girin>" /f
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs" /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\DenyDeviceIDs' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs' -Name '1' -PropertyType String -Value '<değeri girin>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs' -Name '2' -PropertyType String -Value '<değeri girin>' -Force | Out-Null

DenyDeviceIDsRetroactive

REG_DWORDBilgisayar
İşaretli
1
İşaretsiz
0
Öğe
Ayrıca zaten yüklü olan eşleşen aygıtlara 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
"DenyDeviceIDsRetroactive"=dword:00000001
; İşaretsiz
"DenyDeviceIDsRetroactive"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın)

:: İşaretli
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceIDsRetroactive" /t REG_DWORD /d 1 /f
:: İşaretsiz
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "DenyDeviceIDsRetroactive" /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 'DenyDeviceIDsRetroactive' -PropertyType DWord -Value 1 -Force | Out-Null
# İşaretsiz
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'DenyDeviceIDsRetroactive' -PropertyType DWord -Value 0 -Force | Out-Null