On the device, you want to connect to, select Start and then click the Settings icon on the ... of Windows 11/10 or Windows 8/7, then download and run the Microsoft Remote Desktop Assistant.
Related: Remote Desktop option is greyed out on Windows 11/10, 3] Check whether a Group Policy Object (GPO) is blocking RDP on a local computer A GPO may be overriding the computer-level settings ...