Open in the explorer

Turn off Windows default printer management

Désactiver la gestion des imprimantes par défaut Windows

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Control Panel › Printers FR: Configuration utilisateur › Stratégies › Modèles d'administration › Panneau de configuration › Imprimantes
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
Printing.admx
Internal name
Printing/LegacyDefaultPrinterMode

Explanation

This preference allows you to change default printer management.

If you enable this setting, Windows will not manage the default printer.

If you disable this setting, Windows will manage the default printer.

If you do not configure this setting, default printer management will not change.

French text from Windows 11 26H2

Cette préférence vous permet de modifier la gestion des imprimantes par défaut.

Si vous activez ce paramètre, Windows ne gère pas l’imprimante par défaut.

Si vous désactivez ce paramètre, Windows gère l’imprimante par défaut.

Si vous ne configurez pas ce paramètre, la gestion des imprimantes par défaut ne change pas.

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Value name
LegacyDefaultPrinterMode
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/LegacyDefaultPrinterMode
$k = 'HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'LegacyDefaultPrinterMode' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Printing/LegacyDefaultPrinterMode
$k = 'HKCU:\Software\Microsoft\Windows NT\CurrentVersion\Windows'
Remove-ItemProperty -Path $k -Name 'LegacyDefaultPrinterMode' -ErrorAction SilentlyContinue

Availability