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

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 Jul 23 '11 at 14:43

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

4 Answers 4

up vote 24 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

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

ipconfig /all | findstr /C:"DHCP Server"

share|improve this answer

ipconfig /all

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.