Solved

AD query to Add computers to Security Group

Posted on 2013-10-24
3
511 Views
Last Modified: 2013-10-25
I have a security group in AD name ServersGroup , and want to add all computers that are windows servers to  the security group

Thank you
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 22

Accepted Solution

by:
Joseph Moody earned 400 total points
ID: 39598150
Many ways to do this! One way: within Active Directory Users and Computers - select Find/Search. Then do the following:

Change Find from Users to Computer
Select Advanced.
Change the search to look at your entire domain
Select Field - Operating System
In value, type Windows Server

Hit add and find now. Select all of the computers - right click and Add to Group
0
 
LVL 5

Assisted Solution

by:Pankaj_401
Pankaj_401 earned 100 total points
ID: 39599991
If you want a script for the same refer the following link
vbscript to add a computer to a security group

Add a computer account to a group

If after adding its not showing as a security group member then reboot your machine as
Security groups are not recalculated until the "object" logs on again.
0
 

Author Closing Comment

by:jskfan
ID: 39601432
Thanks
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question