Stop Shutdown the PC by certain user group in the domain

I want to stop the shutdown option by certain user group in the domain while i need to allow by some users, I need to control this by group policy
Who is Participating?
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.

Create an Organizational Unit(s) within active directory and assign users to groups where you have assigned the privilege or not. Once you create OU, you can right-click, properties and drill down to appropriate areas...
There are two group policy settings related to controlling the shutdown of the system, they are:

Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Allow system to be shut down without having to log on (set to disable)

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignments\Shut down the system (here you should have at least these three accounts - Administrator, SYSTEM and WIN\Domain Admins)

Note that these are computer, not user, gp's.


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

The problem with the last suggestion is that it does not prevent users from using the shutdown command.
Are you referring to a user shutting down their individual workstation or a server in a "remote desktop" session?
thabashAuthor Commented:
Thanks to Quetzal, your solution works. I applied it, it is working fine and the user is unable to shutdown although the button is appeard, so thanks alot for helping.
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
Active Directory

From novice to tech pro — start learning today.