Answer the question
In order to leave comments, you need to log in
How to add a local user to the Administrators group via cmd?
Good afternoon. There was a need to add a local user to many computers, so that in the event of a network failure and the inability to log in under a domain account, it would be possible to log in under a local one. You need to add a user remotely via cmd.
net user %username% %pass% /add
adds an account, but by default it is in the "Users" group, but it needs to be in the "Administrators" group.
net localgroup Администраторы %username% /add
adds a domain account, but a local one is required.
What can be done?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question