Solved

GPO by PC Name

Posted on 2014-03-19
2
588 Views
Last Modified: 2014-03-20
Hey all,

I would like to know if there is a way to apply Group Policy Objects by computer name?

We have an OU with computers with autologins set up and some of theme need access to some mapped drives. I would like to have a GPO which check the computer names of the computers within an OU and when a string is found in the name it then applies the GPO?

For instance, if my naming scheme is DT-ROLE-01 and I want to apply the GPO to all computers where the 'ROLE' portion of the name is something like KIOSK or PUBLIC, is there any way to do that?

Thanks for any help!
0
Comment
Question by:PDGPA
2 Comments
 
LVL 19

Accepted Solution

by:
helpfinder earned 250 total points
ID: 39940845
is it possible that you create new OU whitin your actual OU and put all mentioned (KIOSK/PUBLIC) computers here? If so then you can apply/Link GPO to that OU and you are done

For apply only for computers based on hostname you can try GPO and WMI filder used in that GPO. WMI could looks like:
Select * from Win32_ComputerSystem where Name LIKE “%hosname%”

Open in new window

0
 
LVL 10

Assisted Solution

by:Schuyler Dorsey
Schuyler Dorsey earned 250 total points
ID: 39940925
Alternatively, you could also apply the GPO at the parent container then change the scoping of the GPO to list the computer names of the computers you want it to apply to.

To make it one step easier, you could create an A.D. group and put those computers into that a.d. group. Then put that A.D. group in the scoping option of the GPO.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

708 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

13 Experts available now in Live!

Get 1:1 Help Now