How to enable negotiate authentication for winrm
Solution 1:
Use Group Policy:
Computer > Policies > Administrative Templates > Windows Components > Windows Remote Management > WinRM Service:
Disallow Negotiate Authentication: Disabled.
Solution 2:
Edit the registry key HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WSMAN\Client.
Set auth_kerberos and auth_negotiate to 1.
Restart the service.