If you have attempted to add servers on a different domain (that is federated to the service account domain) with WinRM, and you get error below, Kerberos may need to be the authentication to connect to the remote servers.
WinRM cannot process the request. The following error with error code 0x8009030e occurred while using Negotiate authentication: A specified logon session does not exist. It may already have been terminated. This can occur if the provided credentials are not valid on the target server, or if the server identity could not be verified. If you trust the server identity, add the server name to the TrustedHosts list, and then retry the request. Use winrm.cmd to view or edit the TrustedHosts list. Note that computers in the TrustedHosts list might not be authenticated. For more information about how to edit the TrustedHosts list, run the following command: winrm help config.
Add the * to the WinRM TrustedHosts list on the Base Monitor server
To do this add the *
to the TrustedHosts by using the following (please note this will overwrite the TrustedHosts list):
Set-Item WSMan:\localhost\Client\TrustedHosts -Value '*'
You can check what you currently have by running this so you can save it to be able to revert to it later:
Get-Item WSMan:\localhost\Client\TrustedHosts
And then you can revert it by adding multiple entries back after the test using the * :
Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'machineA,machineB'
Was this article helpful?
Articles in this section
- Error: WINRM 0x8009030e
- Redgate Monitor migration guide to version 14
- "Your browser does not seem to be accepting cookies." error message
- Setting up OpenID Connect (OIDC) with Entra ID in Redgate Monitor
- Proxy Configuration in Redgate Monitor
- WMI error after DCOM hardening patch
- Redgate Monitor alert tuning
- Redgate Monitor set up for optimal performance
- Redgate Monitor Base Monitor Service Account
- Configuring Metrics and Alerts in Redgate Monitor