Open in the explorer

Check published state

Vérifier l’état de publication

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
Printing2.admx
Internal name
Printing2/VerifyPublishedState

Explanation

Directs the system to periodically verify that the printers published by this computer still appear in Active Directory. This setting also specifies how often the system repeats the verification.

By default, the system only verifies published printers at startup. This setting allows for periodic verification while the computer is operating.

To enable this additional verification, enable this setting, and then select a verification interval.

To disable verification, disable this setting, or enable this setting and select "Never" for the verification interval.

French text from Windows 11 26H2

Demande au système de vérifier périodiquement que les imprimantes publiées par l’ordinateur local sont toujours présentes dans Active Directory. Ce paramètre spécifie également à quelle fréquence le système répète la vérification.

Par défaut, le système vérifie uniquement les imprimantes publiées au démarrage. Ce paramètre autorise une vérification périodique lorsque l’ordinateur fonctionne.

Pour activer cette vérification supplémentaire, activez ce paramètre, puis sélectionnez un intervalle de vérification.

Pour désactiver la vérification, désactivez ce paramètre ou activez ce paramètre et sélectionnez « Jamais » comme intervalle de vérification.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: Printing2/VerifyPublishedState
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Published State Check Interval
# Possible options:
#   30 Minutes = 30
#   1 Hour = 60
#   4 Hours = 240
#   8 Hours = 480
#   12 Hours = 720
#   1 Day = 1440
#   Never = 4294967295
Set-ItemProperty -Path $k -Name 'VerifyPublishedState' -Value 0xFFFFFFFF -Type DWord

Disable

# Disable: Printing2/VerifyPublishedState
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Published State Check Interval:Intervalle de vérification de l’état de publication :VerifyPublishedStateTitleDrop-down listenumVerifyPublishedStateREG_DWORD
Default choice (UI): #6
LabelValue
30 MinutesREG_DWORD = 30
1 HourREG_DWORD = 60
4 HoursREG_DWORD = 240
8 HoursREG_DWORD = 480
12 HoursREG_DWORD = 720
1 DayREG_DWORD = 1440
NeverREG_DWORD = 4294967295

Availability