How to do it in command line:
You can use Net User command to create an account and set the account never expires.
For instance: To set an account "BackupAdmin" with the password "pwd123"
net user "BackupAdmin" "pwd123" /add /expires:never
Do not forget to add it to Administrators.
net localgroup "Administrators" "BackupAdmin" /add
Net Accounts /MaxPWAge:Unlimited
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
For a full explanation of Net User command, please click Here [From Microsoft.com].
No comments:
Post a Comment