Windows Server

The security database on the server does not have a computer account for this workstation trust relation [Part 1]

security database

Windows domains provide network administrators with ways to administer a great number of devices and control them from a central location. Domains are generally made up of computers on the same local network. When a computer is joined to a domain, it doesn’t use its own local user accounts. User accounts and passwords are managed on the domain controller. When you log into a computer on that domain, the computer authenticates your user account name and password with the domain controller.

This means you can log in with the same username and password on any computer joined to the domain. You may want to see the following articles: How to synchronize your on-premises AD with Azure Active Directory using the Azure AD Connect tool, Configure TCP/IP Parameters: Post OS Installation and configuration of Windows Server 2019 properties, and how to fix the trust relationship between this workstation and the primary domain failed.

This error is a bit self-explanatory shown in the cover photo. This is because the computer object was deleted for so some other reasons in my lab environment.Please take a look at the [Part 2] guide "How to fix the issue “The Security Database on the Server does not have a Computer Account for this Workstation Trust Relationship” on Windows Server".

Server Workstation Trust Relation Issue

Solution: Log on to the device with its local user account as shown below to solve this issue. For a similar error on the Windows trust relationship between this workstation and the primary domain failing, see the following link.

computer account

You will have to take the Server out of the domain and have it rejoined.
– Click on change settings

trust relation

In order to take the PC out of the Domain
– Click on Work Group

server

Click on Ok.
– This will prompt the following information window below

security database

Click on Ok
– This will prompt you to enter your username and password as shown below.

computer account

Click on Ok
– Now you will get a welcome message saying, “Welcome to the DFF workgroup(Server Workstation Trust Relation Issue)”

security database

Click on Ok
– Ignore the restart warning at the moment.
Click on ok as shown below.

trust relation

Now we want to add the server back to the Domain
– Local the System properties as shown below
– Click on change

Enter you Domain name
– Click on Ok as shown below

This will prompt you to enter the domain administrators password as shown below

When the credentials are entered correctly, the window below will be prompted


Thereafter you will be asked to restart in order for the settings to apply.

Click on Restart Now

And that is all. Now you should be able to access your server again
– Enter your account in the sAM account or UPN as you wish

I hope you found this blog post on Server Workstation Trust Relation Issue helpful. Please let me know in the comment session if you have any questions.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x