使AD域控服务器Administrator的密码永不过期方法。

时间:2023-03-09 17:08:33
使AD域控服务器Administrator的密码永不过期方法。

在安装完AD域后,管理员密码会42天就要更新一次,这样对测试比较不方便,

如果要让域控管理员账号密码永远不过期,就照着下面的方法执行:

open a Command Prompt as the administrator mode, then run the following command:

net accounts /maxpwage:unlimited

Your password will never expire.