Hello Guys, Please use below commands to solve the issue.
First check the winrm config , if basic auth is false in service section please set it true using 2nd command.
$ winrm get winrm/config
$ Set-Item -Force WSMan:localhostServiceauthBasic $true
$ winrm configsddl default
Useful search on google:
ansible the specified credentials were rejected by the server winrm | ansible basic authentication | ansible plaintext the specified credentials were rejected by the server | ansible winrm connection error the specified credentials were rejected by the server | ansible the specified credentials were rejected by the server | ansible winrm connection error the specified credentials were rejected by the server
Thanks.
source
i have done exactly like this…but still got this issue
"changed": false,
"msg": "basic: the specified credentials were rejected by the server",
"unreachable": true
Hi,
I am getting the error for ntlm instead of basic. How to proceed with ntlm? I don't see ntlm option in config.
Thank you, your solution works well
Can I use administrator user?