I want to make a BAT to add a local account, but I don't know how to modify the "password never expires" option in the command line.
My CMD is net user qgp password/add /active:yes /expires:never /passwordchg:no /passw
ordreq:yes
By the way, how to operate if using IF to judge whether the qgp user exists. Thanks.
My CMD is net user qgp password/add /active:yes /expires:never /passwordchg:no /passw
ordreq:yes
By the way, how to operate if using IF to judge whether the qgp user exists. Thanks.
