최소 암호 길이 감사 레지스트리 값 MinimumPasswordLengthAudit컴퓨터HKLM\System\CurrentControlSet\Control\SAM
레지스트리
MinimumPasswordLengthAudit
REG_DWORD컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- 최소 암호 길이 감사
- 값 타입
- REG_DWORD
- 최솟값
- 1
- 최댓값
- 128
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SAM] "MinimumPasswordLengthAudit"=dword:<값 입력>
CMD
reg add "HKLM\System\CurrentControlSet\Control\SAM" /v "MinimumPasswordLengthAudit" /t REG_DWORD /d "<값 입력>" /f
PowerShell
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\SAM' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\SAM' -Name 'MinimumPasswordLengthAudit' -PropertyType DWord -Value '<값 입력>' -Force | Out-Null