# Unreachable: The Specified credentials were rejected by the server

**URL:** <https://forum.ansible.com/t/unreachable-the-specified-credentials-were-rejected-by-the-server/33293>\
**Category:** AWX Project\
**Tags:** windows, rhel, awx\
**Created:** [July 1, 2020, 1:46pm UTC](https://forum.ansible.com/t/unreachable-the-specified-credentials-were-rejected-by-the-server/33293 "2020-07-01T13:46:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cloud\_Arch](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Cloud\_Arch](https://forum.ansible.com/u/Cloud_Arch)\
**Post date:** [July 1, 2020, 1:46pm UTC](https://forum.ansible.com/t/unreachable-the-specified-credentials-were-rejected-by-the-server/33293/1 "2020-07-01T13:46:04Z")

</div>

I setup my new AWX which is running on RHEL 8 and then when I try to run a sample job to my windows machine it is saying "Unreachable: The Specified credentials were rejected by the server ", can anyone please suggest what could be the reason or how can I solve this.

- I have created a local user in windows machine and the same credentials I used for this template for host authentication.
- Installed winrm on the server by using “ConfigureRemotingForAnsible.ps1”
- Installed pywinrm on RHEL

I setup below variables: -

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [July 1, 2020, 2:18pm UTC](https://forum.ansible.com/t/unreachable-the-specified-credentials-were-rejected-by-the-server/33293/2 "2020-07-01T14:18:26Z")

</div>

It sounds that it didn’t like the credentials that were provided

---

<div class="post-metadata">

**Author:** ![ffirg](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ffirg/32/10029_2.png) [@ffirg](https://forum.ansible.com/u/ffirg)\
**Post date:** [July 3, 2020, 11:30am UTC](https://forum.ansible.com/t/unreachable-the-specified-credentials-were-rejected-by-the-server/33293/3 "2020-07-03T11:30:48Z")

</div>

What transport/port are you using on the Windows server? HTTPS or HTTP?  
check the windows winrm service to be sure.

Also ansible\_winrm\_user & password are wrong: should be ansible\_user and ansible\_password

```auto

```
