IT/Windows

Windows 계정 관련(잠김해제,패스워드변경,만료날짜) 명령어 모음

알콩달콩아빠 2022. 12. 21. 19:58
728x90
반응형
# net user (전체 계정 확인)
 
# net user ‘USER_ID’ | findstr 암호 ( 영문판 : Password )
ex) net user example_user | findstr 암호
 
# net user ‘USER_ID’ /expires:년도/월/일 
ex) net user example_user /expires:19/04/30
ex) net user example_user /expires:never
 
### 패스워드 변경
# net user ‘USER_ID’ *
ex) net user example_user *
or
# net user ‘USER_ID’ ‘password’
ex) net user example_user ‘password’
 
### 계정 잠김 해제
net user ‘USER_ID’ /active:yes
ex) net user example_user /active:yes
 
### 사용자 관리
lusrmgr
 
728x90
반응형