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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shaun VermaakTechnical SpecialistCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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?
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2016

From novice to tech pro — start learning today.