Group Policy | Enable Remote Desktop on PC's | Select allowed users.

Rudolf Amarlapudi 377 Reputation points
2024-04-23T16:58:37.0666667+00:00

Hello,

We are running a Windows Server 2016 | Domain.

Using Group Policy, I need to accomplish the following:

  1. Enable Remote Desktop access on an Organizational Unit containing multiple computers.
  2. Allow Remote Desktop Access for a select Security Group for these computers.

Can you please furnish the settings for the required Group Policies.

Thanks in advance.

Regards,

Rudy

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Windows for business | Windows Client for IT Pros | User experience | Other

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Marcin Policht 102.7K Reputation points MVP Volunteer Moderator
2024-04-23T17:02:19.77+00:00

To accomplish your requirements using Group Policy on a Windows Server 2016 domain, you'll need to configure two separate Group Policy settings:

Enable Remote Desktop Access:

  • This setting will enable Remote Desktop on the computers within the specified Organizational Unit (OU).

Allow Remote Desktop Access for a Select Security Group:

  - This setting will allow members of the specified security group to connect via Remote Desktop to the computers within the OU.
  

Here's how to configure these settings:

  1. Enable Remote Desktop Access:
  2. Open Group Policy Management Console (GPMC) on your domain controller.
  3. Create a new Group Policy Object (GPO) or edit an existing one linked to the OU containing the computers where you want to enable Remote Desktop.
  4. Navigate to: Computer Configuration -> Policies -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections.
  5. Double-click on the "Allow users to connect remotely using Remote Desktop Services" policy.
  6. Select the "Enabled" option, and then click "OK" to save the changes.
  7. Close the Group Policy Management Editor.
  8. Allow Remote Desktop Access for a Select Security Group:
  9. Still within the same Group Policy Object (GPO) as above, navigate to: Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Restricted Groups.
  10. Right-click on "Restricted Groups" and choose "Add Group."
  11. In the "Group" field, type the name of the security group you want to grant Remote Desktop access to, and then click "OK."
  12. In the "This group is a member of" section, click "Add" and specify the group "Remote Desktop Users." This is the built-in group that grants Remote Desktop access.
  13. Click "OK" to close the dialog.
  14. Close the Group Policy Management Editor.

Apply the Group Policy:

  1. Link the Group Policy Object (GPO) you configured to the Organizational Unit (OU) containing the target computers.
  2. Optionally, force a Group Policy update on the target computers using the gpupdate /force command or wait for the next refresh interval.To accomplish your requirements using Group Policy on a Windows Server 2016 domain, you'll need to configure two separate Group Policy settings:
    1. Enable Remote Desktop Access:
      • This setting will enable Remote Desktop on the computers within the specified Organizational Unit (OU).
    2. Allow Remote Desktop Access for a Select Security Group:
      • This setting will allow members of the specified security group to connect via Remote Desktop to the computers within the OU.
    Here's how to configure these settings:
    1. Enable Remote Desktop Access:
    2. Open Group Policy Management Console (GPMC) on your domain controller.
    3. Create a new Group Policy Object (GPO) or edit an existing one linked to the OU containing the computers where you want to enable Remote Desktop.
    4. Navigate to: Computer Configuration -> Policies -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections.
    5. Double-click on the "Allow users to connect remotely using Remote Desktop Services" policy.
    6. Select the "Enabled" option, and then click "OK" to save the changes.
    7. Close the Group Policy Management Editor.
    8. Allow Remote Desktop Access for a Select Security Group:
    9. Still within the same Group Policy Object (GPO) as above, navigate to: Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Restricted Groups.
    10. Right-click on "Restricted Groups" and choose "Add Group."
    11. In the "Group" field, type the name of the security group you want to grant Remote Desktop access to, and then click "OK."
    12. In the "This group is a member of" section, click "Add" and specify the group "Remote Desktop Users." This is the built-in group that grants Remote Desktop access.
    13. Click "OK" to close the dialog.
    14. Close the Group Policy Management Editor.
    Apply the Group Policy:
    1. Link the Group Policy Object (GPO) you configured to the Organizational Unit (OU) containing the target computers.
    2. Optionally, force a Group Policy update on the target computers using the gpupdate /force command or wait for the next refresh interval.

If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

hth

Marcin

Was this answer helpful?

2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Lens Fury 0 Reputation points
    2026-07-09T09:52:27.9833333+00:00

    Ran into this exact issue myself, so figured I'd share what ended up working for me. One thing I'd add to the answer above: Restricted Groups actually wiped out local admin access on a few of my machines that already had other accounts sitting in Remote Desktop Users. So I switched over to Group Policy Preferences instead, Computer Configuration then Preferences then Control Panel Settings then Local Users and Groups then New Local Group, targeting "Remote Desktop Users" with the action set to "Update." Preferences just adds to the group instead of wiping it out, way safer if these aren't brand new machines. I also had to manually enable the firewall exception for RDP under Computer Configuration then Administrative Templates then Network then Network Connections then Windows Firewall then Domain Profile, since just enabling the RDS policy on its own didn't actually open the port for me. Side note, I'll sometimes reach for HelpWire instead when I want to skip all the RDP/firewall/GPO back-and-forth. It's free, doesn't need port forwarding or firewall changes, and you can still lock down access per user.

    Was this answer helpful?

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more