Error Fix The Security Database On The Server Does Not RelatedIssues

I am getting error messages the security database on the server does not have a computer account for this workstation trust relationship. How can I deal with this issue in my PC?

I am getting error messages the security database on the server does not have a computer account for this workstation trust relationship. How can I deal with this issue in my PC?
This issue happens due to the mismatch of the attributes in the Active Directory. Steps to fix this problem are as follows:
• Open the Active Directory Users and Computers.
• Check whether the Advanced Features is checked or not in the drop down View Menu.
• Open the Computer Account Properties and choose the Attribute Editor from the Properties tab.
• Check and match the attributes servicePrincipalName and dNSHostName from the host server.