[Solved] error 0x8009030e while using Negotiate authentication

I came accross the following error while remoting to a standalone computer:

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.

Because for all other computers I am using Kerberos authentication, I was not aware that the TrustedHosts parameter was not configured (because Kerberos doesn’t need it).

To fix this issue, configure the TrustedHosts parameter on the client computer:

Set-Item -Path WSMan:\localhost\Client\TrustedHosts -Value 'Computer1,Computer2'

Or less secure but works too:

Set-Item -Path WSMan:\localhost\Client\TrustedHosts -Value '*'

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s