Hi,
I have done some further investigation. Please try if you could run below command in powershell or CMD.
wmic /namespace:\root\CIMV2\TerminalServices PATH WIN32_TSPermissionsSetting.TerminalName="RDP-TCP" call ModifyPermissions "Remote Desktop Users", 7
Or
wmic /namespace:\root\CIMV2\TerminalServices PATH WIN32_TSAccount.TerminalName="RDP-TCP" call ModifyPermissions "Remote Desktop Users", 7
Or
wmic /namespace:\root\CIMV2\TerminalServices PATH WIN32_TSAccount.TerminalName="RDP-TCP",AccountName="BUILTIN\Remote desktop users" call ModifyPermissions, 7
Thanks,
Eleven
If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.