I got the error
The trust relationship between this workstation and the primary domain failed |
in server core after restoring from a snapshot in VirtualBox.
On my remote management machine, I tried to connect to the machine using Computer Management, which threw this not-quite-helpful error message.
Computer X cannot be managed. Verify that the network path is correct, the computer is available on the network, and that the appropriate Windows Firewall rules are enable on the target computer. To enable the appropriate Windows Firewall rules on the remote computer, open the Windows Firewall with Advanced Security snap-in, and enable the following Inbound rules: COM+ Network Access (DCOM-in) All rules in the Remote Event Log Management group You can also enable these rules by using Group Policy settings for Windows Firewall with Advanced Security. For servers that are running the Server Core installation option, run the Netsh AdvFirewall command, or the Windows Powershell NetSecurity module. |
As originally posted on this page, here's the steps to resolve.
1. Log into the server in question using the non domain admin account.
2. Open the Power Shell and run the command:
$credential = Get-Credential
3. Then run the command:
Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere
No comments:
Post a Comment