netuser 批量设置windows用户密码不过期
Examples:
:
/name: set a new name
/pwnexp:{y|n} set 'password never expires'
⒈ 更改用户名
netuser Administrator /name:"Admin go"
更改Administrator名字为 Admin go
netuser "John Doe" /name:DoeJ
更改John Doe名字为DoeJ
⒉ 是用户用不过期
netuser admin /pwnexp :y
使admin 用户永不过期
1