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?

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

x
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
https://www.experts-exchange.com/articles/29515/Active-Directory-Simple-Tier-Isolation.html
2

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