?
Solved

How to find all DHCP servers in all sites.

Posted on 2015-02-06
4
Medium Priority
?
677 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 1000 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 1000 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

752 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