Open in the explorer

Printer browsing

Parcours des imprimantes

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 2000 FR: Au minimum Windows 2000
ADMX file
Printing.admx
Internal name
Printing/PrinterServerThread

Explanation

Announces the presence of shared printers to print browse master servers for the domain.

On domains with Active Directory, shared printer resources are available in Active Directory and are not announced.

If you enable this setting, the print spooler announces shared printers to the print browse master servers.

If you disable this setting, shared printers are not announced to print browse master servers, even if Active Directory is not available.

If you do not configure this setting, shared printers are announced to browse master servers only when Active Directory is not available.

Note: A client license is used each time a client computer announces a printer to a print browse master on the domain.

French text from Windows 11 26H2

Annonce la présence d’imprimantes partagées aux serveurs maîtres de parcours d’impression pour le domaine.

Sur les domaines disposant d’Active Directory, les ressources d’imprimantes partagées sont disponibles dans Active Directory et ne sont pas annoncées.

Si vous activez ce paramètre, le spouleur d’impression annonce les imprimantes partagées aux serveurs maîtres de parcours d’impression.

Si vous désactivez ce paramètre, les imprimantes partagées ne sont pas annoncées aux serveurs maîtres de parcours d’impression, même si Active Directory n’est pas disponible.

Si vous ne configurez pas ce paramètre, les imprimantes partagées sont annoncées aux serveurs maîtres de parcours d’impression uniquement lorsqu’Active Directory n’est pas disponible.

Remarque : une licence client est utilisée chaque fois qu’un ordinateur client annonce une imprimante au maître de parcours d’impression du domaine.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers
Value name
ServerThread
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/PrinterServerThread
$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 'ServerThread' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

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

Availability