Hi,
You can use below group policy to set the shadow security on the server.
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections
Set rules for remote control of Remote Desktop Services user sessions
Thanks,
Eleven
If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.