Etkileşimli oturum açma: Süre sonuna gelmeden önce kullanıcının parolasını değiştirmesini iste: kayıt defteri değeri PasswordExpiryWarningBilgisayarHKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- Kategori
- Güvenlik Ayarları › Yerel İlkeler › Güvenlik seçenekleri
- Kapsam
- Bilgisayar Yapılandırması
- Kaynak
- Windows 11 (sürüm 26H2 · 26300.9457)
Kayıt defteri
PasswordExpiryWarning
REG_DWORDBilgisayarHKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Geçerli anahtar
- Etkin değeri
- Seçenek değerine bağlıdır
- Öğe
- Etkileşimli oturum açma: Süre sonuna gelmeden önce kullanıcının parolasını değiştirmesini iste
- Değer türü
- REG_DWORD
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon] "PasswordExpiryWarning"=dword:<değeri girin>
CMD
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "PasswordExpiryWarning" /t REG_DWORD /d "<değeri girin>" /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 '<değeri girin>' -Force | Out-Null