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 the 2012 OUs should and only contain servers with 2012 OS... can someone please shed some light as the right way of doing it?

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
I don't remember any GPO setting to provision / move computers based on specific OU, you can't
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?
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.
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?
Philip ElderTechnical Architect - HA/Compute/StorageCommented:

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.
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
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:

-- 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.

Experts-Exchange Cleanup Volunteer
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.