There are three configurations you require to enable the remote desktop on computers:
All the above configurations needs to be in place for the Remote Desktop feature to work on computers.
And all the configurations can be applied via group policy.
C:\Windows\System32\gpmc.msc
) on a computer running Windows 10 or Windows Server.Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections
.If you enable this policy setting, users who are members of the Remote Desktop Users group on the target computer can connect remotely to the target computer by using Remote Desktop Services.
If you need to specify the users (or groups) that can Access to and you want to do this with Group Policy
Computer Configuration > Windows Settings > Security Settings > Restricted Groups