The trust relation between this workstation and the primary domain failed
Views (776)
After restoring my Hyper-V machine the following message appeared:
The trust relationship between this workstation and the primary doain failed.

To fix this, log in with the Local Administrator account and perform the following commands:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\Administrator> netdom resetpwd /server:dc01 /userD:Administrator /passwordD:*
Type the password associated with the domain user:
The machine account password for the local machine has been successfully reset.
The command completed successfully.

PS C:\Users\Administrator> nltest /sc_verify:contoso.nl
Flags: b0 HAS_IP HAS_TIMESERV
Trusted DC Name \\DC01.contoso.nl
Trusted DC Connection Status Status = 0 0x0 NERR_Success
Trust Verification Status = 0 0x0 NERR_Success
The command completed successfully
This was originally posted here.
*This post is locked for comments