?
Solved

AD query to Add computers to Security Group

Posted on 2013-10-24
3
Medium Priority
?
514 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 1600 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 400 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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

752 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