Open in the explorer

Override print driver execution compatibility setting reported by print driver

Remplacer le paramètre de compatibilité d’exécution du pilote d’impression signalé par le pilote d’impression

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Printers FR: Configuration ordinateur › Stratégies › Modèles d'administration › Imprimantes
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
Printing.admx
Internal name
Printing/PrintDriverIsolationOverrideCompat

Explanation

This policy setting determines whether the print spooler will override the Driver Isolation compatibility reported by the print driver. This enables executing print drivers in an isolated process, even if the driver does not report compatibility.

If you enable this policy setting, the print spooler isolates all print drivers that do not explicitly opt out of Driver Isolation.

If you disable or do not configure this policy setting, the print spooler uses the Driver Isolation compatibility flag value reported by the print driver.

Notes:
-Other system or driver policy settings may alter the process in which a print driver is executed.
-This policy setting applies only to print drivers loaded by the print spooler. Print drivers loaded by applications are not affected.
-This policy setting takes effect without restarting the print spooler service.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine si le spouleur d’impression va remplacer la compatibilité Isolement du pilote signalée par le pilote d’impression. Cela permet d’exécuter les pilotes d’impression dans un processus isolé, même si le pilote ne signale pas la compatibilité.

Si vous désactivez ce paramètre de stratégie, le spouleur d’impression isole tous les pilotes d’impression qui ne désactivent pas de manière explicite l’indicateur de compatibilité Isolement du pilote.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le spouleur d’impression utilise la valeur de l’indicateur de compatibilité Isolement du pilote signalée par le pilote d’impression.

Remarques :
- D’autres paramètres de stratégie du pilote ou du système peuvent altérer le processus dans lequel un pilote d’impression est exécuté.
- Ce paramètre de stratégie s’applique uniquement aux pilotes d’impression chargés par le spouleur d’impression. Les pilotes d’impression chargés par les applications ne sont pas affectés.
- Ce paramètre de stratégie prend effet sans qu’il soit nécessaire de redémarrer le service du spouleur d’impression.

Registry

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

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Printing/PrintDriverIsolationOverrideCompat
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
Remove-ItemProperty -Path $k -Name 'PrintDriverIsolationOverrideCompat' -ErrorAction SilentlyContinue

Availability