If you need to quickly change everyone in a network from static IP addressing to DHCP, then you can do so by adding the following two lines to the login batch file:
netsh interface ip set address "Local Area Connection" dhcp netsh interface ip set dns "Local Area Connection" dhcp