Cuma , 3 Temmuz 2020

The Trust relationship between this workstation and the primary domain failed

In this article we will see that how to fix error The Trust relationship between this workstation and the primary domain failed. The following procedure describes how to use the netdom command to reset a machine account password. This procedure is most frequently used on domain controllers, but also applies to any Windows machine account.

You must run the tool locally, from the Windows-based computer whose password you want to change. Additionally, you must have administrative permissions locally and on the computer account’s object in Active Directory to run Netdom.exe.

There we have two method please follow all the steps:-
Method 1 :-
At a command prompt, type the following command:

netdom resetpwd /s:server /ud:domainUser /pd:*

Example:– netdom.exe resetpwd / /ud:justrelief.netadministrator /pd:*

After successfully run command please run below command also.

gpupdate /force 

A description of this command is:

/s:server is the name of the domain controller to use for setting the machine account password. This is the server where the KDC is running.

/ud:domainUser is the user account that makes the connection with the domain you specified in the /s parameter. This must be in domainUser format. If this parameter is omitted, the current user account is used.

/pd:* specifies the password of the user account that is specified in the /ud parameter. Use an asterisk to be prompted for the password.

Method 2 :- 
Please re-join computer in domain.
You need remove the pc from the domain, joined it to a temporary workgroup, restart the pc and join it back to the domain. It needs a second restart to enable the user to login.

One comment

  1. Pingback: Etki Alanı Sızma Testleri İçin Windows Komut Satırı İşlemleri - Teknoloji Uzayı

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir