Open in the explorer

Execute print drivers in isolated processes

Exécuter les pilotes d’impression dans des processus isolés

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/PrintDriverIsolationExecutionPolicy

Explanation

This policy setting determines whether the print spooler will execute print drivers in an isolated or separate process. When print drivers are loaded in an isolated process (or isolated processes), a print driver failure will not cause the print spooler service to fail.

If you enable or do not configure this policy setting, the print spooler will execute print drivers in an isolated process by default.

If you disable this policy setting, the print spooler will execute print drivers in the print spooler process.

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 exécuter les pilotes d’impression dans un processus isolé ou distinct. Lorsque les pilotes d’impression sont chargés dans un processus isolé (ou dans des processus isolés), une défaillance du pilote d’impression n’entraîne pas l’échec du service du spouleur d’impression.

Si vous activez ce paramètre de stratégie ou si vous ne le configurez pas, le spouleur d’impression exécute les pilotes d’impression dans un processus isolé par défaut.

Si vous désactivez ce paramètre de stratégie, le spouleur d’impression exécute les pilotes d’impression dans le processus du spouleur 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
PrintDriverIsolationExecutionPolicy
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/PrintDriverIsolationExecutionPolicy
$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 'PrintDriverIsolationExecutionPolicy' -Value 1 -Type DWord

Disable

# Disable: Printing/PrintDriverIsolationExecutionPolicy
$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 'PrintDriverIsolationExecutionPolicy' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability