加入收藏 | 设为首页 | 会员中心 | 我要投稿 济南站长网 (https://www.0531zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

windows – 如何为winrm启用协商身份验证

发布时间:2021-01-17 05:07:55 所属栏目:Windows 来源:网络整理
导读:我通过执行以下命令禁用了对我服务器上的winrm服务的协商认证: winrm put winrm/config/service/Auth @{Negotiate="false"} 现在我可以使用winrm执行任何操作.我收到错误: Message = The WinRM client cannot process the request. The WinRM client tri

我通过执行以下命令禁用了对我服务器上的winrm服务的协商认证:

winrm put winrm/config/service/Auth @{Negotiate="false"}

现在我可以使用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 client computer and the
 destination computer are joined to a domain. To use Basic,specify the local co
mputer name as the remote destination,specify Basic authentication and provide
user name and password. Possible authentication mechanisms reported by server:

我理解错误,但问题是我在网上找到启用协商身份验证的唯一方法是执行:

winrm put winrm/config/service/Auth @{Negotiate="true"}

这当然会给出上面的错误.还有其他方法可以启用协商身份验证吗?

使用组策略:

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

(编辑:济南站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!