Aygıtlar: Kullanıcıların yazıcı sürücüsü yüklemelerini engelle: kayıt defteri değeri AddPrinterDriversBilgisayarHKLM\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers

Kategori
Güvenlik Ayarları › Yerel İlkeler › Güvenlik seçenekleri
Kapsam
Bilgisayar Yapılandırması
Kaynak
Windows 11 (sürüm 26H2 · 26300.9457)

Kayıt defteri

AddPrinterDrivers

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\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers]

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

:: Etkin
reg add "HKLM\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers" /v "AddPrinterDrivers" /t REG_DWORD /d 1 /f
:: Devre Dışı
reg add "HKLM\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers" /v "AddPrinterDrivers" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Etkin
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers' -Name 'AddPrinterDrivers' -PropertyType DWord -Value 1 -Force | Out-Null
# Devre Dışı
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers' -Name 'AddPrinterDrivers' -PropertyType DWord -Value 0 -Force | Out-Null