10-23-2020 02:43 AM
10-23-2020 02:43 AM
I am learning windows server 2019 and i have a problem about RD:
i have a user (test_1) in an OU and this user have access to Remote Desktop, locally this user have access to "Sign out" option only but when using Remote Desktop this user have access to:
how can i disable shutdown/restart options for remote users ?
i tried this ways:
- apply a GPO to Related OU (...start menu and taskbar > enabling "remove and prevent access to the shutdown...)
- checking user (test_1) "Member Of tab" and the only groups are: Domain users and Remote desktop users
- Local group policy > local policy > user right assignments > shutdown the system policy is unavailable
("The setting is not compatible with computers running Windows 2000 SP 1 or earlier. Apply Group Policy Objects containing this setting only to computers running a later version of the operating system.")
10-23-2020 07:44 AM - edited 10-23-2020 07:53 AMSolution
I applied a group policy includes only "Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands" is on User Configuration of Group Policy Management.
Also I used the policy on User Configuration, didn't on Computer Configuration.
You have to apply the policy to OU which includes users, not computers.
10-23-2020 09:30 AM
10-23-2020 11:08 AM
When applying different policies to the same OU, you must be careful that the policies don't overlap each other.
If your problem was solved, please don't remember accept the answer as the best response.
Hasan Emre SATILMIŞ
10-23-2020 12:36 PM
Try running below and check if results are as expected.
gpresult /h C:\report.html
10-23-2020 10:46 PM
@hasanemresatilmis Note that this affects only the GUI options. The user still can shutdown the system from command line or third-party application.
To prevent more resourceful users from shutting down the system, remove their right to do so. Still in gpedit.msc, go to Computer Configuration / Windows Settings / Security Settings / Local Policies / User Rights Assignment, edit the "Shut down the system" privilege and remove "Users" from the list.
10-24-2020 04:07 AM
10-24-2020 04:51 AM
10-24-2020 11:32 AM
Glad to hear, you're welcome.
(please don't forget to mark helpful replies)
10-24-2020 12:02 PM
I'm glad to the problem is solved. You're welcome :)