암호 설정 레지스트리 값 PasswordComplexity 외 3개컴퓨터HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS
- 정책 ID
- LAPS_PasswordSettings
- 범위
- 컴퓨터 구성
- 지원 OS
- 최소 Microsoft Windows 10 이상
- 출처
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
- 카테고리
- 시스템 › LAPS
레지스트리
PasswordComplexity
REG_DWORD컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- 암호 복잡도
| 항목 | 저장 값 |
|---|---|
| 대문자 | 1 |
| 대문자 + 소문자 | 2 |
| 대문자 + 소문자 + 숫자 | 3 |
| 대문자 + 소문자 + 숫자 + 특수문자 | 4 |
| 대문자 + 소문자 + 숫자 + 특수문자(가독성 향상) | 5 |
| 암호(긴 단어) | 6 |
| 암호(짧은 단어) | 7 |
| 암호(고유한 접두사가 있는 짧은 단어) | 8 |
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS] ; 선택 항목 (하나만 사용) ; 대문자 "PasswordComplexity"=dword:00000001 ; 대문자 + 소문자 "PasswordComplexity"=dword:00000002 ; 대문자 + 소문자 + 숫자 "PasswordComplexity"=dword:00000003 ; 대문자 + 소문자 + 숫자 + 특수문자 "PasswordComplexity"=dword:00000004 ; 대문자 + 소문자 + 숫자 + 특수문자(가독성 향상) "PasswordComplexity"=dword:00000005 ; 암호(긴 단어) "PasswordComplexity"=dword:00000006 ; 암호(짧은 단어) "PasswordComplexity"=dword:00000007 ; 암호(고유한 접두사가 있는 짧은 단어) "PasswordComplexity"=dword:00000008
CMD
:: 선택 항목 (하나만 사용) :: 대문자 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordComplexity" /t REG_DWORD /d 1 /f :: 대문자 + 소문자 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordComplexity" /t REG_DWORD /d 2 /f :: 대문자 + 소문자 + 숫자 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordComplexity" /t REG_DWORD /d 3 /f :: 대문자 + 소문자 + 숫자 + 특수문자 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordComplexity" /t REG_DWORD /d 4 /f :: 대문자 + 소문자 + 숫자 + 특수문자(가독성 향상) reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordComplexity" /t REG_DWORD /d 5 /f :: 암호(긴 단어) reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordComplexity" /t REG_DWORD /d 6 /f :: 암호(짧은 단어) reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordComplexity" /t REG_DWORD /d 7 /f :: 암호(고유한 접두사가 있는 짧은 단어) reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordComplexity" /t REG_DWORD /d 8 /f
PowerShell
# 공통: 키 만들기 New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null # 선택 항목 (하나만 사용) # 대문자 New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordComplexity' -PropertyType DWord -Value 1 -Force | Out-Null # 대문자 + 소문자 New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordComplexity' -PropertyType DWord -Value 2 -Force | Out-Null # 대문자 + 소문자 + 숫자 New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordComplexity' -PropertyType DWord -Value 3 -Force | Out-Null # 대문자 + 소문자 + 숫자 + 특수문자 New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordComplexity' -PropertyType DWord -Value 4 -Force | Out-Null # 대문자 + 소문자 + 숫자 + 특수문자(가독성 향상) New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordComplexity' -PropertyType DWord -Value 5 -Force | Out-Null # 암호(긴 단어) New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordComplexity' -PropertyType DWord -Value 6 -Force | Out-Null # 암호(짧은 단어) New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordComplexity' -PropertyType DWord -Value 7 -Force | Out-Null # 암호(고유한 접두사가 있는 짧은 단어) New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordComplexity' -PropertyType DWord -Value 8 -Force | Out-Null
PasswordLength
REG_DWORD컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- 암호 길이
- 값 타입
- REG_DWORD
- 최솟값
- 8
- 최댓값
- 64
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS] ; 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 "PasswordLength"=dword:<값 입력>
CMD
:: 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordLength" /t REG_DWORD /d "<값 입력>" /f
PowerShell
# 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordLength' -PropertyType DWord -Value '<값 입력>' -Force | Out-Null
PasswordAgeDays
REG_DWORD컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- 암호 사용 기간(일)
- 값 타입
- REG_DWORD
- 최솟값
- 1
- 최댓값
- 365
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS] ; 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 "PasswordAgeDays"=dword:<값 입력>
CMD
:: 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PasswordAgeDays" /t REG_DWORD /d "<값 입력>" /f
PowerShell
# 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PasswordAgeDays' -PropertyType DWord -Value '<값 입력>' -Force | Out-Null
PassphraseLength
REG_DWORD컴퓨터- 활성 값
- 선택 값에 따름
- 요소
- 암호 길이(단어)
- 값 타입
- REG_DWORD
- 최솟값
- 3
- 최댓값
- 10
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS] ; 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 "PassphraseLength"=dword:<값 입력>
CMD
:: 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "PassphraseLength" /t REG_DWORD /d "<값 입력>" /f
PowerShell
# 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함 New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'PassphraseLength' -PropertyType DWord -Value '<값 입력>' -Force | Out-Null