How to fix "The Security database on the server does not have a computer account for this workstation trust relationship"

Garrick Whetstine 20 Reputation points
2026-05-08T16:51:06.1366667+00:00

I have a Dell PowerEdge R440. OS: Windows Server 2019 Small Business Server. BIOS: Version 2.22.1, Released 09/12/2024

Whenever I type in my password to log in, I get the message: "The Security database on the server does not have a computer account for this workstation trust relationship."

The only thing that was done before this started happening was changing the device name in settings, followed by a restart.

I've tried simply restarting the server, disconnecting from the internet and using a cached login. I've tried to force safe mode by shutting off the computer 3 times while posting. Alt+F4 does nothing; Ctrl+Alt+Del is how you unlock it. I don't have physical boot media.

Does anyone know what else I can do?

IMG_6617 (005)

Windows for business | Windows Server | Networking | Other
0 comments No comments

Answer accepted by question author
HLBui 15,990 Reputation points Independent Advisor
2026-05-08T17:47:42.5366667+00:00

Hi Garrick Whetstine

I think that you’ve hit one of those classic Windows Server trust hiccups. That message basically means your server’s computer account in Active Directory got out of sync with the domain controller. Since you mentioned renaming the device, that’s almost certainly what broke the trust relationship Windows sees it as a “new” machine, but the domain still expects the old name.

You might try these steps:

  • Boot_into_local_admin mode (not domain) and log in using local credentials.
  • Rejoin_domain: once you’re in, remove the server from the domain (switch to a workgroup), reboot, then rejoin the domain with the correct name.
  • Check_AD_computer_object: make sure the computer account exists and matches the new name.
  • If you can’t log in locally, Use_Dell_iDRAC or remote console to mount Windows Server install media and launch recovery tools.
  • Finally, Reset_trust_relationship manually with PowerShell (Test-ComputerSecureChannel -Repair -Credential domain\admin).

If everything is okay, don't forget to share your experience with the issue by "Accept answer". If you need more information, feel free to leave a message. We are happy to help!

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Oldest
  1. HLBui 15,990 Reputation points Independent Advisor
    2026-05-13T07:02:27.92+00:00

    Hi Garrick Whetstine

    Just checking to see how is everything. Please feel free to let me know if you need any assistance

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

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.