CredSSP error on windows machine - ansible

1,776 views
Skip to first unread message

sase kumar

unread,
Nov 6, 2018, 5:38:11 AM11/6/18
to Ansible Project
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",

Jordan Borean

unread,
Nov 6, 2018, 7:22:59 AM11/6/18
to Ansible Project
The error you have is 0xc000015b which according to 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.

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

sase kumar

unread,
Nov 6, 2018, 10:43:33 AM11/6/18
to Ansible Project
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 

Jordan Borean

unread,
Nov 6, 2018, 3:59:42 PM11/6/18
to Ansible Project
Sounds like there is a local user with that username as well but glad you have it working.
Reply all
Reply to author
Forward
0 new messages