| 14 | |
| 15 | == How to Keep VMWare Virtual Machines in a Windows Domain == |
| 16 | |
| 17 | VMWare machines will often lose their membership in a Windows Domain (not to be confused with an Internet Domain) for a complex variety of reasons. |
| 18 | |
| 19 | There seems to be no outright cure except for carefully and regularly snapshotting the machine, and never reverting to a very old snapshot. Sometimes this really isn't possible. |
| 20 | |
| 21 | One partial remedy is to disable the password change activity in Windows to reduce the chances of your VM being dropped from the domain. This is done by adding a value in the registry key: |
| 22 | |
| 23 | HKEY_LOCAL_MACHINES\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters |
| 24 | |
| 25 | called DisablePasswordChange, which should be of type REG_DWORD and have a value of 1. |
| 26 | |
| 27 | This can be done from the Windows command line with this command: |
| 28 | |
| 29 | reg add HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters /v DisablePasswordChange /t REG_DWORD /d 1 /f |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |