I am trying to change winrm's allow basic authentication property from command line.
Following is my command
winrm set winrm/config/client/auth @{Basic="false"}
I get a message that this is controlled by 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.
My command prompt is running in administrative mode.
I can go to gpedit.msc and change theses properties manually but I would like override GPO settings from command prompt. IS there a way this can be done?
Thanks, Avi