Interaktive Anmeldung: Anwender vor Ablauf des Kennworts zum Ändern des Kennworts auffordern: Registrierungswert PasswordExpiryWarningComputerHKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- Kategorie
- Sicherheitseinstellungen › Lokale Richtlinien › Sicherheitsoptionen
- Bereich
- Computerkonfiguration
- Quelle
- Windows 11 (Version 26H2 · 26300.9457)
Registrierung
PasswordExpiryWarning
REG_DWORDComputerHKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Aktueller Schlüssel
- Wert bei Aktivierung
- Hängt vom Wert der Option ab
- Element
- Interaktive Anmeldung: Anwender vor Ablauf des Kennworts zum Ändern des Kennworts auffordern
- Werttyp
- REG_DWORD
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon] "PasswordExpiryWarning"=dword:<Wert eingeben>
CMD
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "PasswordExpiryWarning" /t REG_DWORD /d "<Wert eingeben>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name 'PasswordExpiryWarning' -PropertyType DWord -Value '<Wert eingeben>' -Force | Out-Null