• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1137
  • Last Modified:

How to find all DHCP servers in all sites.

I need to find all DHCP servers in all sites. I used the tool that looks for DHCP service running, but it is unable to get all the DHCP servers for some reason...IS there a script that I could use or other method to get the names and IPs of all DHCP servers for all the sites?

Please help

The environment is Windows Server 2003 DC, DNS and DHCP. Thank you.
2 Solutions
Will SzymkowskiSenior Solution ArchitectCommented:
You can use powershell to accomplish this. The link below is the Scripting Guys Ed Wilson illustrates how to accomplish this.

If the DHCP server isn't a Windows domain based DHCP server you can maybe run a network port scanner on each subnet range you want to check and look for udp port 69 I believe.
logon to forest root DC and start adsieidt.msc and load configuration container \ Services\NetServices and at right side you will find all DHCP servers (Except DHCPRoot) in entire forest which are authorized in AD
Because DHCP server has to be authorized in order to start leasing IP addresses in domain environment and only enterprise admins can register \ authorize it and hence it will be populated under configuration container
In above path, if you go to DHCPRoot Properties, there is one attribute called "DHCPServers". This attribute also shows you same servers
creative555Author Commented:
THank you very much
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now