Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Linux has easy commands to find the DHCP server IP address via a command prompt.

Is there anything for Windows?

share|improve this question

migrated from serverfault.com Jul 23 '11 at 14:43

This question came from our site for system and network administrators.

up vote 25 down vote accepted

The DHCP server used to obtain an address is included in the output of ipconfig /all.

enter image description here

share|improve this answer
ipconfig /all | findstr /C:"DHCP Server"
share|improve this answer

If your computer has static IP then the ipconfig /all will not show the DHCP server on your network. In this case you can use the following command line to display it.

netsh dhcp show server

share|improve this answer

protected by JakeGould Jan 10 at 7:08

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?