Cannot establish the WMI connection to local computer due to the RPC server is unavailable. (Exception from HRESULT: 0x800706BA).

Anonymous
2024-11-26T08:37:02+00:00

Hello,

When I tried to rename PC name with Powershell command "Rename-Computer -ComputerName "A" -NewName "A1" -DomainCredential (Get-Credential) -Force -Restart" in On-Premise AD, error message appears "Rename-Computer : Cannot establish the WMI connection to the computer 'A' with the following error

message: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA). Detail message is uploaded. Please check and support. Thanks.

Windows Server Remote and virtual desktops PowerShell

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
Accepted answer
  1. Anonymous
    2024-11-27T00:06:24+00:00

    Hi,

    This error can occur due to several reasons, including network connectivity issues, incorrect DNS settings, or services not running properly.

    1. Ensure that the network connection between the client and the server is stable. Verify that the necessary ports for RPC are not blocked. RPC uses port 135 for the Endpoint Mapper and dynamically assigned ports between 1024 and 65535. You can stop Windows Firewall temporarily to see if the issue persists.
    2. Make sure that the DNS settings are correct. Incorrect DNS settings can prevent the RPC server from being located.
    3. Restart the RPC services manually. Ensure that the "TCP/IP NetBIOS Helper" and "Remote Registry" services are running and set to start automatically after restart.
    4. Verify correct Time and Time Zone settings.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2025-02-24T10:30:53+00:00

    Hi Ian_Xue,

    Thanks for your reply. I will check. Sorry for delay response. Thanks.

    BR,

    KZA

    0 comments No comments