Tag: domain

Fix trust relationship between workstation and primary domain

The following solution was tested on a Windows 10 Professional workstation joined to an Active Directory domain. When a domain-joined PC loses its secure channel with the domain controller, you’ll see this error at login. Rather than removing and re-joining the machine to the domain (the traditional fix), you can resolve it quickly using PowerShell — no reboot required. Step…

Read More »

Remove Windows 200x Domain Controller from AD in DSRMode

Demoting a Domain Controller When Normal Demotion Fails If DCPromo fails to demote a Domain Controller gracefully, you can force the machine to forget it’s a DC by temporarily tricking it into thinking it’s a member server. Step 1 — Modify the product type in the registry Boot into Directory Services Restore Mode (DSRM) and open Regedit. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions…

Read More »