我已通过执行以下命令禁用了服务器上 winrm 服务的协商身份验证:
winrm put winrm/config/service/Auth @{Negotiate="false"}
Run Code Online (Sandbox Code Playgroud)
现在我可以使用 winrm 执行任何操作。我收到错误:
Message = The WinRM client cannot process the request. The WinRM client trie
d to use Negotiate authentication mechanism, but the destination computer (local
host:47001) returned an 'access denied' error. Change the configuration to allow
Negotiate authentication mechanism to be used or specify one of the authenticat
ion mechanisms supported by the server. To use Kerberos, specify the local compu
ter name as the remote destination. Also verify that the …Run Code Online (Sandbox Code Playgroud)