대화형 로그온: 암호 만료 전에 암호 변경 여부 묻기 레지스트리 값 PasswordExpiryWarning컴퓨터HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

카테고리
보안 설정 › 로컬 정책 › 보안 옵션
범위
컴퓨터 구성
출처
Windows 11 (버전 26H2 · 26300.9457)

레지스트리

PasswordExpiryWarning

REG_DWORD컴퓨터
활성 값
선택 값에 따름
요소
대화형 로그온: 암호 만료 전에 암호 변경 여부 묻기
값 타입
REG_DWORD
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"PasswordExpiryWarning"=dword:<값 입력>
CMD
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "PasswordExpiryWarning" /t REG_DWORD /d "<값 입력>" /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 '<값 입력>' -Force | Out-Null