Basic Authentication - Windows RM over HTTP/HTTPS

Nowadays, to perform a password change on senhasegura via Windows RM over HTTP or HTTPS, the Basic Authentication authentication method must be used. It is not possible to use any other method.

If the Basic Authentication method is disabled on the Windows server, the password change will not work and a similar error “WinRMAuthorizationerror” may be returned.

Commands for checking Windows RM protocol settings and status on Windows host:

$ winrm enumerate winrm/config/listener
$ winrm get winrm/config

Commands to check authentication settings (Basic Authentication) on Windows host:
$ winrm get winrm/config/client/Auth
$ winrm get winrm/config/service/Auth