Obsługa centrum dystrybucji kluczy dla rozszerzenia aktualności PKInit: wartość rejestru PKINITFreshnessKomputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters

Identyfikator zasady
PKINITFreshness
Zakres
Konfiguracja komputera
Obsługiwane w systemach
Co najmniej Windows Server 2016, Windows 10
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
System › KDC

Rejestr

PKINITFreshness

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Opcje rozszerzenia aktualności PKInit:
Opcje
PozycjaZapisana wartość
Wyłączone0
Obsługiwane1
Wymagane2
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters]

; Opcje (użyj tylko jednej)
; Wyłączone
"PKINITFreshness"=dword:00000000
; Obsługiwane
"PKINITFreshness"=dword:00000001
; Wymagane
"PKINITFreshness"=dword:00000002
CMD
:: Opcje (użyj tylko jednej)

:: Wyłączone
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITFreshness" /t REG_DWORD /d 0 /f
:: Obsługiwane
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITFreshness" /t REG_DWORD /d 1 /f
:: Wymagane
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters" /v "PKINITFreshness" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Wyłączone
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITFreshness' -PropertyType DWord -Value 0 -Force | Out-Null
# Obsługiwane
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITFreshness' -PropertyType DWord -Value 1 -Force | Out-Null
# Wymagane
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\KDC\Parameters' -Name 'PKINITFreshness' -PropertyType DWord -Value 2 -Force | Out-Null