Activate Internet printing
Activer l’impression Internet
Explanation
Internet printing lets you display printers on Web pages so that printers can be viewed, managed, and used across the Internet or an intranet.
If you enable this policy setting, Internet printing is activated on this server.
If you disable this policy setting or do not configure it, Internet printing is not activated.
Internet printing is an extension of Internet Information Services (IIS). To use Internet printing, IIS must be installed, and printing support and this setting must be enabled.
Note: This setting affects the server side of Internet printing only. It does not prevent the print client on the computer from printing across the Internet.
Also, see the "Custom support URL in the Printers folder's left pane" setting in this folder and the "Browse a common Web site to find printers" setting in User Configuration\Administrative Templates\Control Panel\Printers.
L’impression Internet vous permet d’afficher des imprimantes sur des pages Web pour pouvoir afficher, gérer et utiliser les imprimantes sur Internet ou un intranet.
Si vous activez ce paramètre de stratégie, l’impression Internet est activée sur ce serveur.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, l’impression Internet n’est pas activée.
L’impression Internet est une extension d’Internet Information Services (IIS). Pour pouvoir l’utiliser, les services IIS doivent être installés et la prise en charge de l’impression ainsi que ce paramètre doivent être activés.
Remarque : ce paramètre n’affecte que le côté serveur de l’impression Internet. Il n’empêche pas le client d’impression sur l’ordinateur d’imprimer via Internet.
Consultez également le paramètre « URL de support personnalisé du volet gauche du dossier Imprimantes » dans ce dossier et le paramètre « Parcourir un site Web commun pour rechercher les imprimantes » dans Configuration utilisateur\Modèles d’administration\Panneau de configuration\Imprimantes.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers- Value name
DisableWebPrinting
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
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/AllowWebPrinting
$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 'DisableWebPrinting' -Value 0 -Type DWordDisable
# Disable: Printing/AllowWebPrinting
$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 'DisableWebPrinting' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Printing/AllowWebPrinting
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
Remove-ItemProperty -Path $k -Name 'DisableWebPrinting' -ErrorAction SilentlyContinue