Submitted By: Dan McCown

Configures the Local Area Connection to use DHCP.

Visual Basic
Edit|Remove
rem ***********************************
rem Script: Reset Network Configuration to DHCP
rem Creation Date: 5 November 2005
rem Last Modified: 26 January 2005
rem Author: Dan McCown
rem Description: This script will reset
rem              "Local Area Connection"
rem              to DHCP, which can be 
rem              used after setting
rem              static entries.
rem ***********************************

rem # Interface IP Configuration for "Local Area Connection"

netsh interface ip set address name="Local Area Connection" source=dhcp
netsh interface ip set dns name="Local Area Connection" source=dhcp register=PRIMARY
netsh interface ip set wins name="Local Area Connection" source=dhcp

rem # End of interface IP configuration