Set NIC to full DHCP via netsh

article #1057, updated 2499 days ago

To set a Windows NIC to full DHCP via netsh, do this, replacing “Local Area Connection” to the name of the NIC if it’s not the same:

netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns "Local Area Connection" dhcp
netsh interface ip set wins "Local Area Connection" dhcp

Sometimes, if WINS is set static, you have to do this before WINS can be set DHCP:

netsh interface ip set wins "Local Area Connection" static none

Categories: