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".
Solution: To solve this issue, log on to the device with its local user account as shown below. For a similar error on Windows trust relationship between this workstation and the primary domain failing, see the following link.
You will have to take the Server out of the domain and have it rejoined.
– Click on change settings
In order to take the PC out of the Domain
– Click on Work Group
Click on Ok.
– This will prompt the following information window below
Click on Ok
– This will prompt you to enter your username and password as shown below.
Click on Ok
– Now you will get a welcome message saying “Welcome to the DFF workgroup”
Click on Ok
– Ignore the restart warning at the moment.
Click on ok as shown below.
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 helpful. If you have any questions, please let me know in the comment session.