我正在尝试从命令行更改 winrm 的允许基本身份验证属性。
以下是我的命令
winrm set winrm/config/client/auth @{Basic="false"}
我收到一条消息说这由 GPO 控制
WSManFault
Message
ProviderFault
WSManFault
Message = The config setting Basic cannot be changed because is
controlled by policies.
The policy would need to be set to "Not Configured" in
order to change the config setting.
Error number: -2144108406 0x8033808A
Cannot change GPO controlled setting.
我的命令提示符正在管理模式下运行。
我可以转到 gpedit.msc 并手动更改这些属性,但我想从命令提示符覆盖 GPO 设置。有办法吗?
谢谢,Avi