The Security database on the server does not have a computer account for this

dss ds 526 Reputation points

Running server in VM (windows server 2008, (restoring a joined-domain vm from a backup), I was unable to login, presenting error :

"The security Database on the server does not have a Computer account for this workstation trust relationship"

When I restores server, there was no DNS pointer listed for troubled system, so I manually added A record in DNS manager and PTR record.. restarted DNS, and rebooted both, but same issue (hoping that would be the issue)

Seems the only thing that works ib dis-joining and re-joining domain..

Seems a bit drastic...

Why is this needed ?

Nothing has changed, no virtual hardware hardware. or this this some type of SID identifier change ? even when restoring from exact same.

May be related ? I seem to remember a similar incident where that happens. You restore from backup, then you must do the same due to some identifier machine thing.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,772 questions
No comments
1 vote

Accepted answer
  1. Dave Patrick 331K Reputation points

    Ok, well it was worth a shot. I'd just delete the computer account and join it back to domain.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    No comments

2 additional answers

Sort by: Most helpful
  1. Dave Patrick 331K Reputation points

    You could try (PowerShell)


    and if it returns false then try

    Test-ComputerSecureChannel -Repair  

    --please don't forget to upvote and Accept as answer if the reply is helpful--

  2. dss ds 526 Reputation points

    Didn't have any luck:


    Looking under "Domains & Trusts" properties of <server, under "Trust" tab there is nothing listed at all.

    I'm assuming the PowerShell command looks and sees if this is listed?? There is no info at Microsoft Learn on how it actually verifies and repairs but seeing there is a GUI method as well, i can only put 2 and 2 together and assume this is the command way.

    No comments