Check published state
Vérifier l’état de publication
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.
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 DWordDisable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Published State Check Interval:Intervalle de vérification de l’état de publication :VerifyPublishedStateTitle | Drop-down listenum | VerifyPublishedState | REG_DWORD | Default choice (UI): #6
|