authentication issue between tow windows server 2025 (SMB /RDP)

2026-01-15T08:42:42.4466667+00:00

when i try to access share/RDP from one server to another , the server keep asking me about user an password (authentication loop) , however the user and password are correct , same issue for domain and local user , no firewall between them .

Windows for business | Windows Server | User experience | Other

3 answers

Sort by: Most helpful
  1. Chisholm, Christopher 0 Reputation points
    2026-09-04T03:01:26.86+00:00

    I am not sure if anyone is still having issues with this, but I found this event ID in the event log which prompted me to do some searching, event id 6167 there is a partial mismatch in the machine id.

    This leads you to articles talking about clone VMs and not making sure that a full sysprep is being done. Make sure you have a local admin password set on the affected machines before doing so.

    Here is the command I ran - sysprep.exe /generalize /oobe /mode:vm /shutdown

    Once completed I powered back on the VM and logged in as the local admin. Rejoined it to the domain and continued to configure my servers.

    Hope this helps someone who is having a similar issue that I was.

    Chris

    Was this answer helpful?

    0 comments No comments

  2. Jason Nguyen Tran 24,550 Reputation points Independent Advisor
    2026-01-19T14:52:18.29+00:00

    Hi Mohamed Atef Abdrabou Elessawy,

    Just checking in, were you able to get the issue resolved? If so, it would be great if you could mark the answer as Accepted so others in the community can benefit from your experience. Thank you!

    Was this answer helpful?

    0 comments No comments

  3. Jason Nguyen Tran 24,550 Reputation points Independent Advisor
    2026-01-15T09:32:06.22+00:00

    Hi Mohamed Atef Abdrabou Elessawy,

    An authentication loop when accessing shares or RDP, even with correct credentials, usually points to a Kerberos or NTLM authentication problem rather than a firewall or password mismatch. Common causes include mismatched DNS resolution, duplicate SPNs (Service Principal Names), or time synchronization issues between the servers. Verify that both servers can resolve each other’s names correctly and that their clocks are synchronized within five minutes, as Kerberos is sensitive to time drift.

    For RDP, ensure that the Network Level Authentication (NLA) setting is consistent across both servers. For file shares, check whether the target server is enforcing NTLM restrictions or requires Kerberos only. Running klist purge and then reconnecting can also help clear cached tickets. If the issue persists, reviewing the Event Viewer > Security logs on the target server will provide more detail on which authentication method is failing.

    I hope this helps clarify the situation. If you find this answer useful, please hit “Accept Answer” so I know your issue is resolved 😊. Thank you!

    Jason.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.