Add Active Directory User or Groups to Local Administrators Group

(imported topic written by thesurg3on91)

Hi,

using PSEXEC is good, but I would like to write a BigFix task that can add a user or a group from Active Directory to the local administrators on selected PCs. Of course this can be done using Group Policy or net localgroup administrators domain\user /add, but need other options.

Any suggestions?

(imported comment written by SY57_Jim_Montgomery)

You could also write a vbscript that is downloaded via a fixlet, and then processed. This isn’t much different from the batchfile with “net localgroup” in it though.

–Jim

(imported comment written by thesurg3on91)

Thanks Jim. I will try that.