协商身份验证当前已禁用

Negotiate authentication is currently disabled

我正在尝试在 PowerShell 中使用 winrm 并停用客户端和服务中的所有身份验证。之后我从 GP 和注册表中启用了它们,但它仍然显示此消息:

The WinRM client cannot process the request. Negotiate authentication is currently disabled in the client configuration. Change the client configuration and try the request again. If this is a request for the local configuration, use one of the enabled authentication mechanisms still enabled. To use Kerberos, specify the local computer name as the remote destination.

已解决

使用组策略:

计算机 > 策略 > 管理模板 > Windows 组件 > Windows 远程管理 > WinRM 服务: 禁止协商身份验证:已禁用。