I need to add a domain user in the local administrator group remotly and I have to the local admin password
|
feedback
|
|
You can add a user to a group remotely by using the Group Policy Management Console. I would do the following:
| |||
|
feedback
|
|
psexec will do it remotely combined with 'net localgroup' command. from command line:
you can also then batch that or use some scripting to apply to a group of machines. or you could always use powershell. | |||
|
feedback
|
|
If you're looking for a one-off method, you can also open the remote computer in Computer Management, click on Local Users and Groups -> Groups -> Administrators. Then add the domain group there. This is really only practical for a few workstations. Otherwise Group Policy (the method Tom mentioned, or using Group Policy Preferences) is preferred. | |||
|
feedback
|

