There is a PS script which will set required winrm settings (auth to
basic). You need to run that script on windows host.

On Fri 18 Jan, 2019, 20:47 sindhu shree <[email protected] wrote:

> Execution policy has set to Unrestricted  (Using Set-ExecutionPolicy
> -ExecutionPolicy Unrestricted -Force), still the same.
>
> On Friday, January 18, 2019 at 6:08:10 PM UTC+5:30, Dinesh Singh wrote:
>>
>> Also enable remote execution policy on your windows server.
>>
>> With Regards,
>> Dinesh Singh
>> Email - [email protected]
>>
>>
>> On Fri, Jan 18, 2019, 5:59 PM sindhu shree <[email protected] wrote:
>>
>>> Hi.
>>> Am facing some authentication issues when i run  ansible all -m
>>> win_ping. Response - 10.67.104.45 | UNREACHABLE! => {
>>>     "changed": false,
>>>     "msg": "basic: the specified credentials were rejected by the
>>> server",
>>>     "unreachable": true
>>> }
>>>
>>> The user which am trying to connect is administrator user. I followed
>>> some steps to add user and change the permissions using
>>>
>>> winrm configSDDL default, but no luck.
>>> Am using basic authentication.
>>>
>>> Am new to Linux , i would appreciate if i get any help on this.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/903eaa26-07ef-4c09-97ed-c6c446856378%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/903eaa26-07ef-4c09-97ed-c6c446856378%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/a1c29c47-f70e-4779-8131-354421ecc02b%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/a1c29c47-f70e-4779-8131-354421ecc02b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF0uwPECbfCsH9T0KqPaFEAfn9cJ5wE%3DFSPiwd0FwXjizZ4bvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to