Fix The Security Database on the Server does not have a Computer Account for this Workstation Trust Relationship

Updated July 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

You are trying to connect to a server that is a member of an Active Directory (AD) domain and receive the error message “The Security Database on the Server does not have a Computer Account for this Workstation Trust Relationship”. Although the computer is removed from the domain and added to the domain, the error message continues.

A computer can lose confidence in the field for several reasons. The most common reasons are related to the DNS and the network. A domain member computer must be able to resolve DNS with its local AD servers. It must also be able to communicate with AD servers via the different network ports used by AD.

How to repair it:

Computer Account from Active Directory Users and Computers

Delete the corrupted Computer Account from Active Directory Users and Computers, delete the server from the domain and connect the server to the domain.

1. Log in to the Domain Controller using the Domain Administrator account. Press the Windows + R logo, type dsa.msc, then press Enter to open Active Directory for users and computers.

2. Select the organizational unit (OR) where the computer object is located.

3. Right-click on the computer object and select Delete.

4. Click Yes to delete the computer object.

5. Log in to the server using the local administrator account. Press the Windows + R logo, type sysdm.cpl, then press Enter to open System Properties.

6. Click on Edit.

7. Click Workgroup:, type a workgroup name, then click OK.

July 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


8. Click OK to accept the Computer Name / Domain Changes dialog box.

9. Click OK to accept the Computer Name/Domain Changes dialog box.

10. click on Close.

11. Click Restart Now to restart the server.

Checking the time and date settings on the Client PC

The wrong time and date on your computer is not recommended and it is not something that someone should intentionally do. However, some users restart their BIOS or make changes that change the time and date and forget to configure it correctly. This is enough to solve the problem, so make sure you check that everything is fine.

Checking DNS and firewall problems


If there are problems with your current connection to the server, you may need to look for DNS or Windows firewall conflicts. They often cause network problems, and you should absolutely try the following steps to define some Windows firewall rules and reset DNS addresses.

Search for “Command prompt” by typing it directly into the Start menu or by pressing the search button next to it. Right-click on the first entry that appears as the search result and select Run as administrator from the context menu.
You can also use the combination Windows Logo Key + R Key to access the Run dialog box. Type “cmd” in the dialog box that appears and use Ctrl + Shift + Enter for the administration prompt.

Type the following commands in the window and make sure you press Enter after typing each command. Wait for the message “Operation successfully completed” or similar to find out if the method worked.

  • netsh advfirewall firewall set rule group=”network discovery” new enable=yes
  • ipconfig/flushdns
  • ipconfig /registerdns

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here