Solved

AD query to Add computers to Security Group

Posted on 2013-10-24
3
507 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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

730 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