Skip to content

Script to add AD groups to local Computer Groups

Featured Replies

Trying to find out how to add Active Directory Groups (ex: Client Support, Eng Team) to local computer groups (ex: Administratiors). I need to add multiple AD Groups to differnt local computer groups (Administrators, Remote Desktop). Can anyone help?

Sure just add run command line tasks like so:

 

cmd /c net localgroup "Administrators" "domain\security group" /add

cmd /c net localgroup "Administrators" "domain\security group" /add

 

etc.........

  • Author

Thanks, I'll give it a try tomorrow.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.