Changes between Version 25 and Version 26 of FAQ_nuggets


Ignore:
Timestamp:
May 28, 2011, 3:50:41 AM (14 years ago)
Author:
Fred T. Hamster
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ_nuggets

    v25 v26  
    99[wiki:FAQ_KeepVirtualMachinesInWindowsDomain How to Keep Virtual Machines in a Windows Domain]
    1010
    11 == How to Keep Virtual Machines in a Windows Domain ==
    12 
    13 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.
    14 
    15 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.
    16 
    17 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.
    18 
    19 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:
    20 
    21 {{{
    22 HKEY_LOCAL_MACHINES\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
    23 }}}
    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 {{{
    30 reg add HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters /v DisablePasswordChange /t REG_DWORD /d 1 /f
    31 }}}