Machine loses trust with the domain


Not really an issue for SCCM but quite a cool bit of PowerShell.

You know when the machine loses trust with the domain and you end up taking it out of the domain and re-adding.

Don’t bother. Just log in as admin, run PowerShell as admin and then type this

Reset-ComputerMachinePassword –server <DC hostname> -Credential <domain\username>

This resets the machine password in AD and all is good.

2 comments

Leave a Reply to John Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s