檢查公佈狀態 的登錄值 VerifyPublishedState電腦HKLM\Software\Policies\Microsoft\Windows NT\Printers
- 原則 ID
- VerifyPublishedState
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows 2000
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- 印表機
登錄
VerifyPublishedState
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 公佈狀態檢查間隔:
| 項目 | 儲存的值 |
|---|---|
| 30 分鐘 | 30 |
| 1 小時 | 60 |
| 4 小時 | 240 |
| 8 小時 | 480 |
| 12 小時 | 720 |
| 1 天 | 1440 |
| 永不 | 4294967295 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers] ; 選項 (只使用其中一個) ; 30 分鐘 "VerifyPublishedState"=dword:0000001e ; 1 小時 "VerifyPublishedState"=dword:0000003c ; 4 小時 "VerifyPublishedState"=dword:000000f0 ; 8 小時 "VerifyPublishedState"=dword:000001e0 ; 12 小時 "VerifyPublishedState"=dword:000002d0 ; 1 天 "VerifyPublishedState"=dword:000005a0 ; 永不 "VerifyPublishedState"=dword:ffffffff
CMD
:: 選項 (只使用其中一個) :: 30 分鐘 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "VerifyPublishedState" /t REG_DWORD /d 30 /f :: 1 小時 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "VerifyPublishedState" /t REG_DWORD /d 60 /f :: 4 小時 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "VerifyPublishedState" /t REG_DWORD /d 240 /f :: 8 小時 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "VerifyPublishedState" /t REG_DWORD /d 480 /f :: 12 小時 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "VerifyPublishedState" /t REG_DWORD /d 720 /f :: 1 天 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "VerifyPublishedState" /t REG_DWORD /d 1440 /f :: 永不 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "VerifyPublishedState" /t REG_DWORD /d 4294967295 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null # 選項 (只使用其中一個) # 30 分鐘 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'VerifyPublishedState' -PropertyType DWord -Value 30 -Force | Out-Null # 1 小時 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'VerifyPublishedState' -PropertyType DWord -Value 60 -Force | Out-Null # 4 小時 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'VerifyPublishedState' -PropertyType DWord -Value 240 -Force | Out-Null # 8 小時 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'VerifyPublishedState' -PropertyType DWord -Value 480 -Force | Out-Null # 12 小時 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'VerifyPublishedState' -PropertyType DWord -Value 720 -Force | Out-Null # 1 天 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'VerifyPublishedState' -PropertyType DWord -Value 1440 -Force | Out-Null # 永不 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'VerifyPublishedState' -PropertyType DWord -Value 4294967295 -Force | Out-Null