Bu aygıt kurulum sınıflarıyla eşleşen sürücüleri kullanan aygıtların yüklenmesine izin ver: kayıt defteri değeri DeviceInstall_Classes_Allow (AllowDeviceClasses)BilgisayarHKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions\AllowDeviceClasses

İlke Kimliği
DeviceInstall_Classes_Allow
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

AllowDeviceClasses

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

:: Etkin
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "AllowDeviceClasses" /t REG_DWORD /d 1 /f
:: Devre Dışı
reg add "HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions" /v "AllowDeviceClasses" /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 'AllowDeviceClasses' -PropertyType DWord -Value 1 -Force | Out-Null
# Devre Dışı
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions' -Name 'AllowDeviceClasses' -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 sınıflarının sürücülerini kullanan aygıtların yüklenmesine izin ver:
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\AllowDeviceClasses]

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