Solved

AD query to Add computers to Security Group

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

914 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now