Restricting Server 2016 in OU via GPO

Hello experts,
We are looking into prohibiting/restricting 2016 from being provisioned and/or moved to our 2012 server OUs via a GPO..so the 2012 OUs should and only contain servers with 2012 OS... can someone please shed some light as the right way of doing it?

Thanks!!
IT_Admin XXXXAsked:
Who is Participating?
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
I would not make OUs OS specific. If I wanted to target 2016 servers with a specific GPO, I would use a WMI filter

For example, 2016 is
select * from Win32_OperatingSystem where Version like "10.%" and ProductType="3"

Open in new window


You can see how to setup WMI filters here
https://www.experts-exchange.com/articles/29515/Active-Directory-Simple-Tier-Isolation.html
2
 
MaheshArchitectCommented:
I don't remember any GPO setting to provision / move computers based on specific OU, you can't
0
 
IT_Admin XXXXAuthor Commented:
thinking of
adding administrators and remote desktop users to deny RDP and deny network access UR groupss
adding a startup script using the shutdown command to shutdown computers
and have this GPO set to the WMI filtering as suggested above which only targets Windows Server 2016.

Does that work?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Exactly what @Shaun said. Use WMI Filters to delimit by OS what server receives what GPO settings. It works like a charm.
0
 
IT_Admin XXXXAuthor Commented:
Thanks! Appreciate all the inout. I guess i can shut down any/all server 2016 and not allow users to rdp and login locally to 2016 servers that are in 2012 OU but is there a way to block 2016 servers in that ou at all?
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Why?

With the above Group Policy setup there is no concern about OU location.

If there is an admin arbitrarily moving AD objects about in ADUC then there's another issue at hand that needs to be dealt with.

WMI Filtering is the key to applying the correct policy settings to the correct OS version.
0
 
MaheshArchitectCommented:
What you are asking in original question and what you are discussing, i don't see any relation with that
What you have asked is not possible with GPO and what you are discussing is to apply gpo only on 2016 server accounts with wmi filter
Can you confirm what exactly you looking for
0
 
Seth SimmonsSr. Systems AdministratorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- Shaun Vermaak (https:#a42508571)
-- Philip Elder (https:#a42509415)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.