Ouvrir dans l'explorateur

Gérer la validation de la signature du pilote d’impression

Manage Print Driver signature validation

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Imprimantes EN : Computer Configuration › Policies › Administrative Templates › Printers
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT EN : At least Windows Server 2012, Windows 8 or Windows RT
Fichier ADMX
Printing.admx
Nom interne
Printing/ConfigureDriverValidationLevel

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie contrôle le mécanisme de validation de signature du pilote d’impression. Cette stratégie contrôle le type de signature numérique requis pour qu’un pilote d’impression soit considéré comme valide et installé sur le système.

Dans le cadre de cette validation, la signature du catalogue/incorporé est vérifiée et tous les fichiers du pilote doivent faire partie du catalogue ou avoir leur propre signature incorporée qui peut être utilisée pour la validation.

Vous pouvez activer ce paramètre pour modifier la méthode de validation de signature par défaut. Pour utiliser ce paramètre, sélectionnez l’une des options ci-dessous dans la zone « Sélectionner le mécanisme de signature du pilote pour cet ordinateur ».

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, la méthode par défaut est « Autoriser tous les pilotes signés de manière valide ».

-- « Exiger des pilotes signés dans la boîte de réception » spécifie que seuls les pilotes expédiés dans le cadre d’une image Windows sont autorisés sur cet ordinateur.

-- « Autoriser les pilotes signés dans le Magasin de confiance et PrintDrivers » spécifie uniquement les pilotes expédiés dans le cadre d’une image Windows ou les pilotes signés par des certificats installés dans le magasin de certificats « PrintDrivers » sont autorisés sur cet ordinateur.

-- « Autoriser la boîte de réception, le magasin approuvé PrintDrivers et les pilotes signés WHQL » spécifie que les seuls pilotes autorisés sur cet ordinateur sont ceux fournis dans le cadre d’une image Windows, signés par des certificats installés dans le magasin de certificats « PrintDrivers » ou signés par le Laboratoire de qualité matérielle Windows (WHQL).

-- « Autoriser la boîte de réception, le magasin approuvé PrintDrivers, WHQL et les pilotes signés du Magasin des éditeurs approuvés » spécifie que les seuls pilotes autorisés sur cet ordinateur sont ceux qui sont : expédiés dans le cadre d’une image Windows, signés par des certificats installés dans le magasin de certificats « PrintDrivers », signés par le Laboratoire de qualité matérielle Windows (WHQL) ou signés par des certificats installés dans le magasin de certificats « Éditeurs approuvés ».

-- « Autoriser tous les pilotes signés de manière valide » spécifie que tout pilote d’impression ayant une signature incorporée valide ou pouvant être validé par rapport au catalogue de pilotes d’impression peut être installé sur cet ordinateur.

Le magasin de certificats « PrintDrivers » doit être créé par un administrateur sous l’emplacement du magasin de l’ordinateur local.

Le magasin de certificats « Éditeurs approuvés » peut contenir des certificats provenant de sources qui ne sont pas liées aux pilotes d’impression.

This policy setting controls the print driver signature validation mechanism. This policy controls the type of digital signature that is required for a print driver to be considered valid and installed on the system.

As part of this validation the catalog/embedded signature is verified and all files in the driver must be a part of the catalog or have their own embedded signature that can be used for validation.

You can enable this setting to change the default signature validation method. To use this setting, select one of the options below from the "Select the driver signature mechanism for this computer" box.

If you disable or do not configure this policy setting, the default method is "Allow all validly signed drivers".

-- "Require inbox signed drivers" specifies only drivers that are shipped as part of a Windows image are allowed on this computer.

-- "Allow inbox and PrintDrivers Trusted Store signed drivers" specifies only drivers that are shipped as part of a Windows image or drivers that are signed by certificates installed in the 'PrintDrivers' certificate store are allowed on this computer.

-- "Allow inbox, PrintDrivers Trusted Store, and WHQL signed drivers" specifies the only drivers allowed on this computer are those that are: shipped as part of a Windows image, signed by certificates installed in the 'PrintDrivers' certificate store, or signed by the Windows Hardware Quality Lab (WHQL).

-- "Allow inbox, PrintDrivers Trusted Store, WHQL, and Trusted Publishers Store signed drivers" specifies the only drivers allowed on this computer are those that are: shipped as part of a Windows image, signed by certificates installed in the 'PrintDrivers' certificate store, signed by the Windows Hardware Quality Lab (WHQL), or signed by certificates installed in the 'Trusted Publishers' certificate store.

-- "Allow all validly signed drivers" specfies that any print driver that has a valid embedded signature or can be validated against the print driver catalog can be installed on this computer.

The 'PrintDrivers' certificate store needs to be created by an administrator under the local machine store location.

The 'Trusted Publishers' certificate store can contain certificates from sources that are not related to print drivers.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\Driver
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : Printing/ConfigureDriverValidationLevel
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Driver'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Sélectionnez le mécanisme de signature du pilote pour cet ordinateur
# Options possibles :
#   Require inbox signed drivers = 0
#   Allow inbox and Print Drivers Trusted Store signed drivers = 1
#   Allow inbox, Print Drivers Trusted Store, and WHQL signed drivers = 2
#   Allow inbox, Print Drivers Trusted Store, WHQL, and Trusted Publisher Store signed drivers = 3
#   Allow all validly signed drivers = 4
Set-ItemProperty -Path $k -Name 'ValidationLevel' -Value 4 -Type DWord

Désactiver

# Désactiver : Printing/ConfigureDriverValidationLevel
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : Printing/ConfigureDriverValidationLevel
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\Driver'
Remove-ItemProperty -Path $k -Name 'ValidationLevel' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Sélectionnez le mécanisme de signature du pilote pour cet ordinateur :Select the driver signature mechanism for this computer:DriverValidationLevel_EnumListe déroulanteenumValidationLevelREG_DWORD
Choix par défaut (interface) : n° 4
LibelléValeur
Require inbox signed driversREG_DWORD = 0
Allow inbox and Print Drivers Trusted Store signed driversREG_DWORD = 1
Allow inbox, Print Drivers Trusted Store, and WHQL signed driversREG_DWORD = 2
Allow inbox, Print Drivers Trusted Store, WHQL, and Trusted Publisher Store signed driversREG_DWORD = 3
Allow all validly signed driversREG_DWORD = 4

Disponibilité

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016