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

Rogue DHCP test tool

I am using the Rogue DHCP test tool and it's showing me a very old server that doesnt' exist anymore. I tried looking in myAD to find it, but I'm not finding it.  Any help would be appreciated.
3 Solutions
Life1430Sr EngineerCommented:

netsh dhcp show server

Open in new window


and if you see that old DHCP server You will need to remove that from Adsiedit refer below link to resolve

DanNetwork EngineerAuthor Commented:
when I typed that command, I got this error:

"the following command was not found: dhcp show server"
Life1430Sr EngineerCommented:
"Netsh DHCP show server" copy paste without quotes else the link i have give also have this command

Run on Domain Controller (I tried on that)
open CMD in Run as administrator mode
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

bbaoIT ConsultantCommented:
what sort of test tool are you referring to? this one??

Life1430Sr EngineerCommented:
Or you may also open adsiedit directly and navigate to location given in article and see if you could find entry of that very old server that doesnt' exist
Krzysztof PytkoSenior Active Directory EngineerCommented:
Netsh with DHCP context works only on Windows Server editions, you cannot access this context from PC

However, I would check that a little different way. Open Active Directory Sites and Services and follow below steps:

1) In console, select root node Active Directory Sites and Services
2) From menu choose "View -> Show Services Node"
3) In console in the list, you should see now "Services" node below "Sites"
4) Expand "Services" node and go to "NetSerices" node
5) In the right pane search for that "rogue" DHCP server using its DNS name and IP address
6) If it was found, select it, and click right mouse button. Choose "Delete"

This procedure is to cleanup AD from inproperly removed DHCP servers

DanNetwork EngineerAuthor Commented:
Thanks everyone, I was able to get the command to work: Netsh DHCP show server

Here's my other problems, I've attached the file with the output.
So I have some problems, for example, currently, the following servers are DCs, (DC1 and DC3)

DC2 used to be a few weeks ago, but I need to remove it.  Then Loudcry and Freewill are very old servers that again are no longer in use.  The problem is, that the IP address of loudcry ( is in use, as my cluster IP address, as I am using Hyper V in a cluster environment.  Also, the IP address of DC3 is, which in this screenshot is listed as DC2, which is not accurate, as I used the IP address of DC2 for DC3, and just turned off DC2, which I plan to delete.

How would I fix this mess?
DanNetwork EngineerAuthor Commented:
ok, so after going to net services, I see the following servers:

So DC1 and DC3 are ok.  DC2 I plan to delete the VM, so I'm guessing that can be removed?
Also what is DhcpRoot entry, as when I looked at the properties, (dhcpServer) property listed the loudcry and the IP

So not sure if I can delete that or not, as my cluster IP now is the
DanNetwork EngineerAuthor Commented:
Thanks for the help, got it fixed.
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

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

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