Remote Desktop Services - Disable RPC calls from another machine

gabriel sztejnworcel 31 Reputation points
2020-11-21T21:52:05.63+00:00

Hi,

Is it possible to disable Remote Desktop Services RPC calls from remote machines?
I'm referring to the "Terminal Services Terminal Server Runtime Interface Protocol":
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsts/1eb45af1-94f1-4c42-9e13-dd0a018646fd
I know that by blocking port 445 I can block these calls, but it will block all SMB communication.

Thanks,
Gabriel

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,376 Reputation points
    2020-11-23T02:43:34.357+00:00

    Hi,
    Why would you looking for method to disable RPC service?

    Many system components are dependent on this service and as a result, some Windows procedures don't work if the Remote Procedure Call service is disabled.
    https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/disable-rpc-service-windows-process-not-work

    ----------

    Hope this helps and please help to accept as Answer if the response is useful.

    Best Regards,
    Jenny


  2. Obaid Farooqi MSFT 771 Reputation points Microsoft Employee Moderator
    2021-01-05T05:02:33.503+00:00

    Hi Gabriel:
    Please ignore the reply from @Hung-Chun Yu above.
    The purpose of @openspec-* tags is to support implementers using open specifications to develop interoperability solutions with Windows. The open specifications are found at https://learn.microsoft.com/en-us/openspecs/
    Your question is about configuration and the tags that your original post had were correct. I have removed the openspecs-windows tag.

    Regards,
    Obaid Farooqi - MSFT

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.