How to add users to a local computer group using command line
Submitted by Koder on Fri, 10/08/2010 - 09:46
If you are wanting to add users to to a local computer group on a Windows machine, for example if you want to add users to local administrators group, you can do it through either group policy or running a command.
Sometimes, Active Directory environment is not available to do this. In that case, you can use the following command from a command line or through a batch file to add "All users" to the "Local adminsitrators" group
net localgroup Administrators "domain\Local_admins" /add
- Add new comment
- 2251 reads
-


Recent comments
2 days 2 hours ago
2 days 2 hours ago
2 days 13 hours ago
6 days 11 min ago
1 week 1 day ago
1 week 4 days ago
1 week 4 days ago
1 week 6 days ago
2 weeks 1 day ago
2 weeks 4 days ago