Ouvrir dans l'explorateur

Configurer l’impression protégée Windows

Configure Windows protected print

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 moins Windows 11 version 24H2 EN : At least Windows 11 Version 24H2
Fichier ADMX
Printing.admx
Nom interne
Printing/ConfigureWindowsProtectedPrint

Explication

Texte français issu de Windows 11 26H2

Détermine si l’impression protégée par Windows est activée sur cet ordinateur.

Par défaut, l’impression protégée par Windows n’est pas activée et il n’existe aucune restriction sur les pilotes d’impression pouvant être installés ou la fonctionnalité d’impression.

Si vous activez ce paramètre, l’ordinateur fonctionne en mode d’impression protégé par Windows, ce qui autorise uniquement l’impression sur des imprimantes qui prennent en charge un sous-ensemble de pilotes d’impression Windows de boîte de réception.

Si vous désactivez ce paramètre ou si vous ne le configurez pas, il n’existe aucune restriction sur les pilotes d’impression qui peuvent être installés ou la fonctionnalité d’impression.

Pour plus d’informations, consultez https://learn.microsoft.com/en-us/windows-hardware/drivers/print/windows-protected-print-mode

Determines whether Windows protected print is enabled on this computer.

By default, Windows protected print is not enabled and there are not any restrictions on the print drivers that can be installed or print functionality.

If you enable this setting, the computer will operate in Windows protected print mode which only allows printing to printers that support a subset of inbox Windows print drivers.

If you disable this setting or do not configure it, there are not any restrictions on the print drivers that can be installed or print functionality.

For more information, please see https://learn.microsoft.com/en-us/windows-hardware/drivers/print/windows-protected-print-mode

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\WPP
Nom de la valeur
WindowsProtectedPrintGroupPolicyState
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

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/ConfigureWindowsProtectedPrint
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\WPP'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WindowsProtectedPrintGroupPolicyState' -Value 1 -Type DWord

Désactiver

# Désactiver : Printing/ConfigureWindowsProtectedPrint
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\WPP'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WindowsProtectedPrintGroupPolicyState' -Value 0 -Type DWord

Revenir à « Non configuré »

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

Disponibilité

Windows 11

✓ 26H2✓ 25H2✓ 24H2— 23H2— 22H2— 21H2

Windows 10

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

Windows Server

✓ 2025— 2022— 2016