Only use Package Point and print
Utiliser Pointer et imprimer les packages uniquement
Explanation
This policy restricts clients computers to use package point and print only.
If this setting is enabled, users will only be able to point and print to printers that use package-aware drivers. When using package point and print, client computers will check the driver signature of all drivers that are downloaded from print servers.
If this setting is disabled, or not configured, users will not be restricted to package-aware point and print only.
Cette stratégie limite les ordinateurs client à l’utilisation de Pointer et imprimer les packages uniquement.
Si ce paramètre est activé, les utilisateurs peuvent uniquement pointer et imprimer sur les imprimantes qui utilisent des pilotes de packages. Lorsqu’ils utilisent Pointer et imprimer les packages, les ordinateurs client vérifient la signature de tous les pilotes téléchargés à partir des serveurs d’impression.
Si ce paramètre est désactivé ou s’il n’est pas configuré, les utilisateurs ne sont pas limités à l’utilisation de Pointer et imprimer les packages uniquement.
Use cases
Limits Point and Print to package-aware (packaged, signed) drivers, which are safer than older non-packaged ones. Combined with the approved servers list, it is defence in depth against malicious driver installation from a compromised print server.
First verify that your printers have packaged drivers, otherwise printing through the server will fail.
Microsoft source: KB5005652: Manage new Point and Print default driver installation behavior (CVE-2021-34481)
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint- Value name
PackagePointAndPrintOnly
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: Printing/PackagePointAndPrintOnly_Win7
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PackagePointAndPrintOnly' -Value 1 -Type DWordDisable
# Disable: Printing/PackagePointAndPrintOnly_Win7
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PackagePointAndPrintOnly' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Printing/PackagePointAndPrintOnly_Win7
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint'
Remove-ItemProperty -Path $k -Name 'PackagePointAndPrintOnly' -ErrorAction SilentlyContinue