2022 Server randomly requires reboot due to "The RPC server is unavailable." error

Anonymous
2024-07-25T16:46:16+00:00

I have a 2022 Server that randomly (usually once daily, no specific time) stops allowing RDP and local logins. It throws an RPC server is unavailable error. Any one still logged in remains in, though they are unable to reset/shut down the server. When attempting to do so via cmd prompt it returns RPC error as well. Any new login get the error after typing in user/PW. Doesn't matter if it's a domain or local account. Only way to get past this is a hard reboot.

After the reboot things return to normal and logins happen just fine. This is a VM running in Nutanix AHV. Things I've tried so far:

Upgrade VirtIO driver

Checked DNS

Checked Time

RPC service is running
Remote Registry isn't running, but it is set to auto start (triggered). Checked other working servers and it was set to this.

Checked this page from MS

https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/not-log-on-error-rpc-server-unavailable

UPDATE:

To save everyone some reading, there appear a common factor between a lot of the community. Sentinel1. Some users are reporting uninstalling it has fixed there issue. Others are downgrading versions.

Windows Server Remote and virtual desktops Session connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

38 answers

Sort by: Most helpful
  1. Anonymous
    2024-07-27T12:24:32+00:00

    We are in the exact same boat, and it doesn't affect all instances of Windows Server 2022 we operate. This is also NOT a domain controller. DNA, System Time and Zone, etc. as you highlighted do not work out.

    0 comments No comments
  2. Anonymous
    2024-07-27T12:41:37+00:00

    Additional Detail:

    Windows Server 2022 VM Running on ESXi 8

    IIS Server Role

    21H2 (20348.2582)

    One observation I can make on this machine, this instance was the only one we did an in-place upgrade for (Server 2016 -> Server 2022). Not sure if it is relevant but, coincidentally, also the only one experiencing this.

    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2024-07-28T15:17:07+00:00

    Hello,

    There are some details you need to pay attention to:

    1. Verify correct DNS settings on both machines. Make sure that they can resolve each other's hostnames and IP addresses correctly. You can use the commands nslookup <hostname> and ping <hostname> to test DNS resolution.
    2. Verify that the following services are running and set to auto start after restart on both machines:
    • Remote Procedure Call (RPC)
    • Remote Procedure Call (RPC) Locator
    • TCP/IP NetBIOS Helper
    • Remote Registry
    • Windows Management Instrumentation"
    1. Check firewall configurations to ensure that RPC-related ports are not blocked. You can temporarily turn off or disable the firewall as well as any third-party security software on your device as a test.
    2. Update the network adapter driver.

    If the problem persists, look for RPC-related error messages in the application log and system log in the event viewer.

    References:

    How to configure RPC to use certain ports and how to help secure those ports by using IPsec - Microsoft Support

    How to Fix “The RPC Server Is Unavailable” Error in Windows 10? — Auslogics Blog | Tips to Diagnose & Resolve Computer Issues (Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information).

    I hope this helps. If you have any follow-up questions, please contact us.

    Best regards

    Jacen

    0 comments No comments
  5. Anonymous
    2024-07-29T20:28:04+00:00

    I've tried all the things listed above. Local logins do not work as well, so it shouldn't be anything network related.

    I've got a ticket open w/ MS. I'll update when I get a solution.

    0 comments No comments