# ansiblw win\_ping failed

**URL:** <https://forum.ansible.com/t/ansiblw-win-ping-failed/32780>\
**Category:** Ansible Project\
**Tags:** windows, ubuntu\
**Created:** [April 25, 2020, 4:58pm UTC](https://forum.ansible.com/t/ansiblw-win-ping-failed/32780 "2020-04-25T16:58:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Wong](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Post date:** [April 25, 2020, 4:58pm UTC](https://forum.ansible.com/t/ansiblw-win-ping-failed/32780/1 "2020-04-25T16:58:31Z")

</div>

tony@ubuntu:~/windows$ ansible windows -i hosts -m win\_ping  
10.50.1.231 | UNREACHABLE! =\> {  
“changed”: false,  
“msg”: “ssl: the specified credentials were rejected by the server”,  
“unreachable”: true

my yml file

ansible\_user: ‘administrator’  
ansible\_password: ‘xxxxx’  
ansible\_port: 5986  
ansible\_connection: winrm  
ansible\_winrm\_server\_cert\_validation: ignore  
tony@ubuntu:~/windows/group\_vars$

any idea?

---

<div class="post-metadata">

**Author:** ![Tony\_Wong](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Post date:** [April 25, 2020, 5:46pm UTC](https://forum.ansible.com/t/ansiblw-win-ping-failed/32780/2 "2020-04-25T17:46:21Z")

</div>

this is from my windows host

PS C:\scripts\> winrm get winrm/config  
Config  
MaxEnvelopeSizekb = 500  
MaxTimeoutms = 60000  
MaxBatchItems = 32000  
MaxProviderRequests = 4294967295  
Client  
NetworkDelayms = 5000  
URLPrefix = wsman  
AllowUnencrypted = false [Source=“GPO”]  
Auth  
Basic = false [Source=“GPO”]  
Digest = false [Source=“GPO”]  
Kerberos = true  
Negotiate = true  
Certificate = true  
CredSSP = false [Source=“GPO”]  
DefaultPorts  
HTTP = 5985  
HTTPS = 5986  
TrustedHosts  
Service  
RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)  
MaxConcurrentOperations = 4294967295  
MaxConcurrentOperationsPerUser = 1500  
EnumerationTimeoutms = 240000  
MaxConnections = 300  
MaxPacketRetrievalTimeSeconds = 120  
AllowUnencrypted = false [Source=“GPO”]  
Auth  
Basic = false [Source=“GPO”]  
Kerberos = true  
Negotiate = true  
Certificate = false  
CredSSP = false [Source=“GPO”]  
CbtHardeningLevel = Relaxed  
DefaultPorts  
HTTP = 5985  
HTTPS = 5986  
IPv4Filter = \* [Source=“GPO”]  
IPv6Filter = \* [Source=“GPO”]  
EnableCompatibilityHttpListener = false  
EnableCompatibilityHttpsListener = false  
CertificateThumbprint  
AllowRemoteAccess = true [Source=“GPO”]  
Winrs
