Per evitare che appaia un errore che il dominio non è raggiungibile, dopo che vi è stato un rollback di una macchina virtuale dobbiamo eseguire alcuni workaround.
HKLM\SYSTEM\CurrentControlSet\Services\NetLogon\Parameters
DisablePasswordChange (default off) prevents
the client computer from changing its computer account password. To disable,
give it a value of 1.
MaximumPasswordAge (default 30 days)
determines when the computer password needs to be changed. Change it to
whatever number of days you think may be enough. For example, if you use
snapshots that are less than 100 days old, then you can set this value to 100
or similar.
Settings can
also be configured by using Group Policy (either domain-based GPO or local):
Computer Configuration\windows
Settings\Security settings\Local Policies\Security Options
Domain
member: Disable machine account Password changes
Domain
member: Maximum machine account Password age