Interview Prep/Ansible/Cloud, AWX, Windows and Molecule

`ntlm: the specified credentials were rejected by the server`

IntermediateTroubleshootingCloud, AWX, Windows and Molecule
Answer

Likely causes → The wrong username format, a wrong or expired password, a locked account, or the user is not in a group allowed to use WinRM (local Administrators or Remote Management Users). With basic transport, only local accounts work, and only over HTTPS or with AllowUnencrypted.

Diagnose → Test from another Windows host: Test-WSMan win01 -Credential (Get-Credential) -Authentication Negotiate.

Fix → Use ansible_user: [email protected] with Kerberos, or CORP\svc_ansible with NTLM. Unlock the account or reset the password, and add it to the right local group.

Prevent → Use a dedicated domain service account managed by GPO, with its password stored in Vault or an AWX credential and rotated regularly.

All Ansible questions Roadmap: Ansible

More on Cloud, AWX, Windows and Molecule