Gestire convalida firma Driver di stampa: valore del Registro di sistema ValidationLevelComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers\Driver

ID criterio
ConfigureDriverValidationLevel
Ambito
Configurazione computer
Supportato in
Almeno Windows Server 2012, Windows 8 o Windows RT
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Stampanti

Registro

ValidationLevel

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Selezionare il meccanismo di firma del driver per il computer:
Opzioni
VoceValore memorizzato
Richiedere driver firmati della Posta in arrivo0
Consentire i driver firmati della Posta in arrivo e dell’Archivio attendibile dei Driver di stampa1
Consentire i driver firmati della Posta in arrivo, dell’Archivio attendibile dei Driver di stampa, e WHQL2
Consentire driver firmati della Posta in arrivo, dell’Archivio attendibile dei Driver di stampa, WHQL e dell’Archivio autori attendibili3
Consentire tutti i driver firmati in modo valido4
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\Driver]

; Opzioni (usarne solo una)
; Richiedere driver firmati della Posta in arrivo
"ValidationLevel"=dword:00000000
; Consentire i driver firmati della Posta in arrivo e dell’Archivio attendibile dei Driver di stampa
"ValidationLevel"=dword:00000001
; Consentire i driver firmati della Posta in arrivo, dell’Archivio attendibile dei Driver di stampa, e WHQL
"ValidationLevel"=dword:00000002
; Consentire driver firmati della Posta in arrivo, dell’Archivio attendibile dei Driver di stampa, WHQL e dell’Archivio autori attendibili
"ValidationLevel"=dword:00000003
; Consentire tutti i driver firmati in modo valido
"ValidationLevel"=dword:00000004
CMD
:: Opzioni (usarne solo una)

:: Richiedere driver firmati della Posta in arrivo
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\Driver" /v "ValidationLevel" /t REG_DWORD /d 0 /f
:: Consentire i driver firmati della Posta in arrivo e dell’Archivio attendibile dei Driver di stampa
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\Driver" /v "ValidationLevel" /t REG_DWORD /d 1 /f
:: Consentire i driver firmati della Posta in arrivo, dell’Archivio attendibile dei Driver di stampa, e WHQL
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\Driver" /v "ValidationLevel" /t REG_DWORD /d 2 /f
:: Consentire driver firmati della Posta in arrivo, dell’Archivio attendibile dei Driver di stampa, WHQL e dell’Archivio autori attendibili
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\Driver" /v "ValidationLevel" /t REG_DWORD /d 3 /f
:: Consentire tutti i driver firmati in modo valido
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\Driver" /v "ValidationLevel" /t REG_DWORD /d 4 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Driver' -Force | Out-Null

# Opzioni (usarne solo una)
# Richiedere driver firmati della Posta in arrivo
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Driver' -Name 'ValidationLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Consentire i driver firmati della Posta in arrivo e dell’Archivio attendibile dei Driver di stampa
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Driver' -Name 'ValidationLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Consentire i driver firmati della Posta in arrivo, dell’Archivio attendibile dei Driver di stampa, e WHQL
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Driver' -Name 'ValidationLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# Consentire driver firmati della Posta in arrivo, dell’Archivio attendibile dei Driver di stampa, WHQL e dell’Archivio autori attendibili
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Driver' -Name 'ValidationLevel' -PropertyType DWord -Value 3 -Force | Out-Null
# Consentire tutti i driver firmati in modo valido
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Driver' -Name 'ValidationLevel' -PropertyType DWord -Value 4 -Force | Out-Null