Permanent fix for losing domain connection

When using virtual machines with the snapshot feature, Windows clients can sometime losing connection to their domain.

Error
The trust relationship between this workstation and the primary domain failed.

Permanent fix
HKLM\System\CurrentControlSet\services\Netlogon\Parameters
Change the value of DisablePasswordChange to 1.

Set DisablePasswordChange to value “1”.

Make a VM snapshot.