This setting controls whether TCP/IP should use DHCP to automatically assign an IP address, or if it should use the statically defined address.
Open the registry and find the key below, where {Adapter} equals the service name of the installed NIC.
Change the value of ‘EnableDHCP’ to equal either ‘0’ for disabled, or ‘1’ for enabled.
Note:
If you change this setting to disabled, make sure you have IP addressing information defined.
Registry Settings:
Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{Adapter}\Parameters\Tcpip]
Value Name: EnableDHCP
Data Type: REG_DWORD
Data: (0 = DHCP Disabled, 1= DHCP Enabled)