Sunday, September 30, 2007

Change Network Setting to DHCP via command line (MS Windows)

If you can simply change network setting to DHCP on Windows System for receive the automatic IP Address, you can use in command

1. Open Command Prompt
http://durion.blogspot.com/2007/09/how-to-use-command-prompt-on-ms-windows.html

2. Type 1st command
  • for LAN cable (Local Area Connection)
netsh interface ip set address local dhcp
  • for Wireless LAN
netsh interface ip set address "Wireless Network Connection" dhcp

3. Type 2nd command
  • for LAN cable (Local Area Connection)

netsh interface ip set dns local dhcp

  • for Wireless LAN

netsh interface ip set dns "Wireless Network Connection" dhcp

1 comment:

Jonathan said...

Hello,

Just read your blog. it's interesting please keep doing

Regards,
Jonathan