Found the fix.
Add this to the source.
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WSMAN\Client /v spn_prefix /t REG_SZ /d "HOST" /f
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We have a 2019 WEF setup and a subscription setup. The source is connected. But it will not send any events. This is the log below.
I cannot find a soultion. Also it says to change the auth method, can't find on how to do that either.
Thanks any help would be greatly appreciated!
- Provider
[ Name] Microsoft-Windows-Forwarding
[ Guid] {699e309c-e782-4400-98c8-e21d162d7b7b}
EventID 105
Version 0
Level 2
Task 0
Opcode 0
Keywords 0x8000000000000000
- TimeCreated
[ SystemTime] 2024-01-02T16:02:36.9502488Z
EventRecordID 52659
- Correlation
[ ActivityID] {2bf3bdaa-2d5e-0004-c2ca-f32b5e2dda01}
- Execution
[ ProcessID] 12616
[ ThreadID] 13104
Channel Microsoft-Windows-Forwarding/Operational
Computer PC15342.*****.com
- Security
[ UserID] S-1-5-18
SubscriptionManagerAddress http://slciwec1.\*\*\*\*\*\*\*:5985/wsman/SubscriptionManager/WEC
ErrorCode 2150858909
ErrorMessage <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2150858909" Machine="PC15342.******.com"><f:Message>WinRM cannot process the request. The following error with errorcode 0x80090322 occurred while using Kerberos authentication: An unknown security error occurred. Possible causes are: -The user name or password specified are invalid. -Kerberos is used when no authentication method and no user name are specified. -Kerberos accepts domain user names, but not local user names. -The Service Principal Name (SPN) for the remote computer name and port does not exist. -The client and remote computers are in different domains and there is no trust between the two domains. After checking for the above issues, try the following: -Check the Event Viewer for events related to authentication. -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport. Note that computers in the TrustedHosts list might not be authenticated. -For more information about WinRM configuration, run the following command: winrm help config. </f:Message></f:WSManFault>
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.
Found the fix.
Add this to the source.
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WSMAN\Client /v spn_prefix /t REG_SZ /d "HOST" /f
Hello BDub69,
Thank you for your reply.
To check if the SPN exists, you can run the following command:
setspn -l RemoteComputerName
Replace "RemoteComputerName" with the name of the remote computer.
If the SPN does not exist, you can create it by running the following command:
setspn -s WSMAN/RemoteComputerName:Port RemoteComputerName
Replace "RemoteComputerName" with the name of the remote computer and "Port" with the port number used for the subscription.
Best Regards,
Haijian Shan
Thanks for the reply.
The weird thing is we setup a test server about a year ago and it just works. Now we can't get the production server to work.
Nothing I can see in the event log
Tried this still getting the same error
Looked at this it seemed the same. Do you have commands for this?
Not using user and pass as far as I can tell.. Never set one up for this.
Yes on the same domain.
Hello BDub69,
Thank you for posting in Microsoft Community forum.
Based on the error message, it seems that there is an issue with the Kerberos authentication method. You can try the following steps to resolve the issue:
To change the authentication method, you can run the following command:
**winrm set winrm/config/client/auth @{Basic="true"}**
This will enable Basic authentication. However, it is recommended to use HTTPS transport for security reasons.
You can also add the destination computer to the WinRM TrustedHosts configuration setting by running the following command:
**winrm set winrm/config/client @{TrustedHosts="RemoteComputerName"}**
Replace "RemoteComputerName" with the name of the remote computer.
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Haijian Shan