PKInit Freshness 延伸模組的 KDC 支援 的登錄值 PKINITFreshness電腦HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters
- 原則 ID
- PKINITFreshness
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows Server 2016、Windows 10
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- 系統 › KDC
登錄
PKINITFreshness
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- PKInit Freshness 延伸模組選項:
| 項目 | 儲存的值 |
|---|---|
| 已停用 | 0 |
| 支援 | 1 |
| 必要 | 2 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters] ; 選項 (只使用其中一個) ; 已停用 "PKINITFreshness"=dword:00000000 ; 支援 "PKINITFreshness"=dword:00000001 ; 必要 "PKINITFreshness"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 已停用 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITFreshness" /t REG_DWORD /d 0 /f :: 支援 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITFreshness" /t REG_DWORD /d 1 /f :: 必要 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITFreshness" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null # 選項 (只使用其中一個) # 已停用 New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITFreshness' -PropertyType DWord -Value 0 -Force | Out-Null # 支援 New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITFreshness' -PropertyType DWord -Value 1 -Force | Out-Null # 必要 New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITFreshness' -PropertyType DWord -Value 2 -Force | Out-Null