
Re-join a computer to the domain
When a computer loses its domain membership you can now use powershell to reset computer connection.
Log in with a local account to the computer getting the error message, from a powershell command use this command to check the status of the computer’s domain membership.
Test-ComputerSecureChannel -Credential (Get-Credential) -Verbose
Add the -Repair
parameter to reset the secure channel, you’ll need domain creds that have permission to join a computer to the domain.
UPDATE: Since I posted this article I found another powershell command that will reset the computer password when you know its out of sync.
PS C:\> Reset-ComputerMachinePassword -Server "DC01" -Credential Domain01\Admin01
More Stories
Micrsoft Defender for Endpoints
We use Microsoft Defender for endpoints on our physical workstations. I'm now looking at it for our servers. The servers...
Sync Active directory user data with SharePoint
If you want to sync standard common attributes from active directory to sharepoint. Its easy, AD sync to Azure AD...
Microsoft graph API to access sharepoint
Recently I've had to setup a few different app registration using Azure AD to access sharepoint sites. Once you get...
SQL upgrades
We have a few SQL servers that need to be upgraded before they go end of life. We are looking...
How to manage the local administrators group on Azure AD joined devices
After a device is deployed likely using autopilot, sometime you have a need to add an AzureAD user to the...
Azure AD and Windows hello for business, SSO for on-premises resources
We disabled WFB when we first rolled out autopilot because we are not ready to deploy and support passwordless at...