Changes between Version 7 and Version 8 of FAQ_nuggets
- Timestamp:
- May 18, 2011, 3:04:28 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ_nuggets
v7 v8 15 15 == How to Keep Virtual Machines in a Windows Domain == 16 16 17 VMWare and HyperV virtual machines will often lose their membership in a Windows Domain (not to be confused with an Internet Domain) for a complex variety of reasons. 17 VMWare and HyperV virtual machines will often lose their membership in a Windows Domain (not to be confused with an Internet Domain) for a complex variety of reasons. One of these reasons is the automatic password change procedure followed between the windows domain client and the domain server. In this process, the domain client (your PC or VM) renegotiates a new secret password with the domain server, which they both "remember" for future interactions. 18 18 19 The re seems to be no outright cure except for carefully and regularly snapshotting the machine, and never reverting to a very old snapshot. This is a fair amount of work, as one accumulates more vms, so it's not ideal and it's not even a total solution.19 The hidden password in question is a shared secret between the domain server and your machine. It is already protected as well as Windows can protect any password, and thus it seems relatively safe to stop updating this password for test machines that are continually reverted. 20 20 21 However, one partial remedy to lost domain membership is to disable the automatic password change in Windows to reduce the chances of your VM being dropped from the domain. This password is a shared secret password between the domain and your machine, and it seems relatively safe not to update it for test machines that are continually reverted. This change is only needed on the client side, not on the domain controller. The password change feature is disabled by adding a value in the registry key at: 21 And disabling the password changing process is an important partial remedy to the lost domain membership problem. By disabling the automatic password change, the chances for your VM to be dropped from the domain are greatly reduced. 22 23 This change is only needed on the client side, not on the domain controller. The domain password change feature is disabled by adding a value in the registry key at: 22 24 23 25 {{{ … … 32 34 reg add HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters /v DisablePasswordChange /t REG_DWORD /d 1 /f 33 35 }}} 34 35 36 37 38