JSI Tip 8017. Freeware utility enables DHCP on all NICs.

Downloads
DHCPset.zip

Running DHCPset.exe will enable DHCP on all NICs.

Harry Bates ([email protected]) has provided DHCPset.zip, which should be unzipped after downloading.

You can run DHCPset.exe in a computer's Startup script, user's logon script, from their Startup folder, via Group Policy software distribution, or remotely (via PsExec.exe). No switches are required.

How it works:

*************************************************************************************
*************************************************************************************
 
Searches:
HKEY_LOCAL_MACHINE hive for below trees:
 
 
************************************************************************************
GET NETWORK ADAPTER IDENTIFICATION
************************************************************************************
 

 
SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\
and enumerates  NIC IDs via ServiceName =  for below lines
 
*************************************************************************************
ENUMERATE AND CHANGE SETTINGS UNDER ADAPTER'S SERVICE
*************************************************************************************
 

 
SYSTEM\CurrentControlSet\Services\\Parameters\Tcpip
 
EnableDHCP =  1
IPAddress =  0.0.0.0
SubnetMask =  0.0.0.0
DefaultGateway = 

*************************************************************************************
ENUMERATE AND CHANGE SETTINGS UNDER TCP/IP SERVICE
*************************************************************************************
 

 
SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\

EnableDHCP =  1
IPAddress =  0.0.0.0
SubnetMask =  0.0.0.0
DefaultGateway = 
NameServer = 

*************************************************************************************
ENUMERATE AND CHANGE SETTINGS UNDER NETBIOS SERVICE
*************************************************************************************
 

                  
SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_
NameServerList = 
NetbiosOptions =  0 (Get NetBIOS setting from DHCP server. If
DHCP does not return a value or unspecified, it defaults to ENABLENetBIOS.)
 
*************************************************************************************
*************************************************************************************



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish