Open in the explorer

Turn off printing over HTTP

Désactiver l’impression via HTTP

Type
User
GPO path
User Configuration › Policies › Administrative Templates › System › Internet Communication Management › Internet Communication settings FR: Configuration utilisateur › Stratégies › Modèles d'administration › Système › Gestion de la communication Internet › Paramètres de communication Internet
Supported on
At least Windows XP Professional with SP2 FR: Au minimum Windows XP Professionnel avec SP2
ADMX file
ICM.admx
Internal name
ICM/DisableHTTPPrinting_1

Explanation

This policy setting specifies whether to allow printing over HTTP from this client.

Printing over HTTP allows a client to print to printers on the intranet as well as the Internet.

Note: This policy setting affects the client side of Internet printing only. It does not prevent this computer from acting as an Internet Printing server and making its shared printers available via HTTP.

If you enable this policy setting, it prevents this client from printing to Internet printers over HTTP.

If you disable or do not configure this policy setting, users can choose to print to Internet printers over HTTP.

Also, see the "Web-based printing" policy setting in Computer Configuration/Administrative Templates/Printers.

French text from Windows 11 26H2

Ce paramètre de stratégie indique si l’impression via HTTP est autorisée à partir de ce client.

L’impression via HTTP permet à un client d’imprimer sur des imprimantes situées sur le réseau intranet ou sur Internet.

Remarque : ce paramètre de stratégie n’affecte que le côté client de l’impression Internet. Il n’empêche pas cet ordinateur d’agir en tant que serveur d’impression Internet et de partager ses imprimantes via HTTP.

Si vous activez ce paramètre de stratégie, ce client ne peut pas imprimer sur des imprimantes Internet via HTTP.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent choisir d’imprimer sur des imprimantes Internet via HTTP.

Consultez également le paramètre de stratégie « Impression via le Web » dans Configuration ordinateur/Modèles d’administration/Imprimantes.

Registry

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

Disable

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

Revert to "Not configured"

# Revert to "Not configured": ICM/DisableHTTPPrinting_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows NT\Printers'
Remove-ItemProperty -Path $k -Name 'DisableHTTPPrinting' -ErrorAction SilentlyContinue

Availability