# CredSSP error on windows machine - ansible

**URL:** <https://forum.ansible.com/t/credssp-error-on-windows-machine-ansible/28953>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [November 6, 2018, 10:38am UTC](https://forum.ansible.com/t/credssp-error-on-windows-machine-ansible/28953 "2018-11-06T10:38:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sase\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@sase\_kumar](https://forum.ansible.com/u/sase_kumar)\
**Post date:** [November 6, 2018, 10:38am UTC](https://forum.ansible.com/t/credssp-error-on-windows-machine-ansible/28953/1 "2018-11-06T10:38:10Z")

</div>

Hi Folks.,

I’m trying to run playbooks on win2016 after enabling enable-credssp on remote machine and other prerequisite and mentioned ansible\_winrm\_transport as credssp

but now I’m facing this error from ansible

“msg”: “credssp: Received error status from the server: (3221225819) UNKOWN\_STATUS 0xc000015b”,

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [November 6, 2018, 12:22pm UTC](https://forum.ansible.com/t/credssp-error-on-windows-machine-ansible/28953/2 "2018-11-06T12:22:58Z")

</div>

The error you have is 0xc000015b which according to [https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4625](https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4625) means it does not have the necessary rights to log on. WinRM requires the SeNetworkLogonRight [https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/access-this-computer-from-the-network](https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/access-this-computer-from-the-network).

Make sure the account has that right or is in a group that has that right. Also check that it has not been explicitly denied this logon right with the deny right.

Thanks

Jordan

---

<div class="post-metadata">

**Author:** ![sase\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@sase\_kumar](https://forum.ansible.com/u/sase_kumar)\
**Post date:** [November 6, 2018, 3:43pm UTC](https://forum.ansible.com/t/credssp-error-on-windows-machine-ansible/28953/3 "2018-11-06T15:43:33Z")

</div>

> Hi Jordan,

It actually worked when I passed the user account with domain name in front but I will check with above links about its behaviour . Thanks

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [November 6, 2018, 8:59pm UTC](https://forum.ansible.com/t/credssp-error-on-windows-machine-ansible/28953/4 "2018-11-06T20:59:41Z")

</div>

Sounds like there is a local user with that username as well but glad you have it working.
