To unlock a domain user from the command line, use this command:
net user <username> /domain /active:yes This can also be done using Powershell:
Unlock-ADAccount -identity “CN=John,OU=myUsers,DC=myDomain,DC=local”
Tag: ActiveDirectory
I was at a client earlier this morning, working to get a transitive forest trust setup between their two domains. Setting up the trust on ServerA to DomainB went without issue. However, when trying to create the trust between ServerB and DomainA, I received this error: The secure channel reset on Active Directory Domain Controller (Your domain controller) of domain (Your domain) to domain (your other domain) failed with error: RPC server is unavailable.