Solved

How to find all DHCP servers in all sites.

Posted on 2015-02-06
4
464 Views
Last Modified: 2015-02-11
Hello,
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.
0
Comment
Question by:creative555
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 250 total points
ID: 40594241
You can use powershell to accomplish this. The link below is the Scripting Guys Ed Wilson illustrates how to accomplish this.
http://blogs.technet.com/b/heyscriptingguy/archive/2013/01/10/use-powershell-to-query-ad-ds-for-dhcp-servers.aspx

Will.
0
 
LVL 6

Expert Comment

by:rgorman
ID: 40594474
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.
0
 
LVL 37

Assisted Solution

by:Mahesh
Mahesh earned 250 total points
ID: 40594603
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
Path:
CN=NetServices,CN=Services,CN=Configuration,DC=domain,DC=com
In above path, if you go to DHCPRoot Properties, there is one attribute called "DHCPServers". This attribute also shows you same servers
0
 

Author Closing Comment

by:creative555
ID: 40603745
THank you very much
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question