Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to Removing of RDS.
Go to Server Manager -- Manage -- Remove roles and features -- follow wizard, remove all RDS Role Services, restart.
Also you can run below Powershell to Remove all roles
Remove-RDServer -Server "myserver.mydom.local -Role "RDS-VIRTUALIZATION"
-Role
Specifies an RDS role service name. The acceptable values for this parameter are:
RDS-VIRTUALIZATION. Remote Desktop Virtualization Host (RD Virtualization Host).
RDS-RD-SERVER. Remote Desktop Session Host (RD Session Host).
RDS-CONNECTION-BROKER. RD Connection Broker.
RDS-WEB-ACCESS. Remote Desktop Web Access (RD Web Access).
RDS-GATEWAY. Remote Desktop Gateway (RD Gateway).
RDS-LICENSING. Remote Desktop Licensing (RD Licensing).
Reference :
--If the reply is helpful, please Upvote and Accept as answer--