Mid Server issues - "RPC Server is Unavailable / Failed to access target system"

spawnjco
Tera Contributor

My org is having issue with a workflow that randomly stopped working. The workflow takes information inputted from a ticket to run a powershell command in the Midserver that changes registry settings on a target computer. 


When going into the workflow Context we see that it runs into an error when it tries to run the powershell script stating:

- the RPC Server Is unavailable 

- Tried Credential: MID service account, status=failed

- Failed to access target system. Please check credentials and firewall settings on the target system to ensure accessibility. The RPC server is unavailable

 

I already went on the MidServer and confirmed that the domain account has the correct password and isn't locked (I used the account in the Get-WMIObject command on a target computer and it didn't return any errors

I already confirmed that the Windows Credential record can validate credentials using "Test Credentials" (it passed)

I also confirmed that the username and password in the config.xml file is correct and used it to successfully log into the ServiceNow instance.

 

Originally we had the windows credential record set to "use Mid Server Service Account" and it was able to test credential successfully, even tried unchecking it and putting in the domain account credentials that the mid server uses, still passed the test, but still gets an error when the powershell script runs 

 

I'm not sure what else to try . Any help would be appreciated

3 REPLIES 3

Luiz Lucena
Mega Sage

Hi @spawnjco 

Were you able to find a solution?

We just deployed a new MID Server and we are getting this error as well.

The other MID servers using the same service account to run the PowerShell scripts against the same DCs are working fine.

Hi @Luiz Lucena 

check below link

 

Windows error The RPC server is unavailable - Support and Troubleshooting

 

if my answer helps mark helpful and accept solution.

Harish Bainsla
Tera Sage
Tera Sage

Hi @spawnjco  check below link

 

Windows error The RPC server is unavailable - Support and Troubleshooting

 

if my answer helps mark helpful and accept solution.