Recommended Posts

I have a Domain Controller in my Active Directory that doesn't exist. If I look in the Domain Controller container it shows up in there. Obviously it hasn't been remove properly (I don't know the reason) I need to remove it because I believe it is causing errors in my event log.

Has anyone ever done this or can someome point me to some documentation.

Thank you

Link to comment
https://www.neowin.net/forum/topic/321171-ghost-domain-controller-in-ad/
Share on other sites

2 second google search...this should do it for you. I've done this once a looong time ago.

Windows 2000 tracks each domain controller (DC) in the metadata. If you remove a DC (e.g., through reinstallation or hardware removal) and you don?t run DCPROMO to clean up the DC?s metadata, connection objects will remain.

You can use the utility NTDSUTIL to remove a server from the metadata. (In the following code, enter the commands in bold.)

D:\>ntdsutil

ntdsutil: metadata cleanup

metadata cleanup: select operation target

Next, you must connect to a server. In my example, I select a domain to accomplish this task. (In the following code, enter the commands in bold.)

select operation target: connections

server connections: connect to domain savilltech.com

Binding to \\TITANIC.savilltech.com ...

Connected to \\TITANIC.savilltech.com using credentials of locally logged on user

server connections: quit

Next, you must select a site, a server (i.e., the server you want to delete), and the domain the server is in. The order isn?t important. (In the following code, enter the commands in bold.)

select operation target: list sites

Found 2 site(s)

0 - CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

1 - CN=Kent,CN=Sites,CN=Configuration,DC=savilltech,DC=com

select operation target: select site 0

Site - CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

No current domain

No current server

No current Naming Context

select operation target: list servers in site

Found 4 server(s)

0 - CN=TITANIC,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

1 - CN=TITUS,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

2 - CN=MORPHEUS,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

3 - CN=TRINITY,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

select operation target: select server 2

Site - CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

No current domain

Server - CN=MORPHEUS,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

DSA object - CN=NTDS Settings,CN=MORPHEUS,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

DNS host name - MORPHEUS.deleteme.savilltech.com

Computer object - CN=MORPHEUS,OU=Domain Controllers,DC=deleteme,DC=savilltech,DC=com

No current Naming Context

select operation target: list domains

Found 3 domain(s)

0 - DC=savilltech,DC=com

1 - DC=dev,DC=savilltech,DC=com

2 - DC=deleteme,DC=savilltech,DC=com

select operation target: select domain 0

Site - CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

Domain - DC=savilltech,DC=com

Server - CN=MORPHEUS,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

DSA object - CN=NTDS Settings,CN=MORPHEUS,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

DNS host name - MORPHEUS.deleteme.savilltech.com

Computer object - CN=MORPHEUS,OU=Domain Controllers,DC=deleteme,DC=savilltech,DC=com

No current Naming Context

select operation target: quit

Next, remove the server you selected. (In the following code, enter the command in bold.)

metadata cleanup: remove selected server

In the confirmation dialog box, which the Screen shows, click Yes.

ntdsutilremoveserver.gif

Close the utility. (In the following code, enter the commands in bold.)

"CN=MORPHEUS,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savilltech,DC=com

" removed from server "\\TITANIC.savilltech.com"

metadata cleanup: quit

ntdsutil: quit

Disconnecting from \\TITANIC.savilltech.com ...

Finally, you need to delete the server from the Microsoft Management Console (MMC) Active Directory Sites and Servers snap-in. Select Programs, Administrative Tools, Active Directory Sites and Services from the Start menu. Expand the Sites branch, select the site, expand the Services container, right-click the server, and select Delete. Click Yes in the confirmation dialog box. I have been informed of a possible problem with this is SP2 is installed in which case perform on a box without SP2 installed.

Alright I have deleted it and it was pretty cool because it asked me the reason why I wanted to delete that object. I choose because the DC wasn't online anymore and could not be remove using dcpromo. Time will tell if the error problems have been resolved

Thank for the help and have fun !!!

  • 10 years later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Senua's Saga: Hellblade II to get 60FPS mode, dev commentary, and more alongside PS5 launch by Pulasthi Ariyasinghe Back in May, Microsoft revealed Senua's Saga: Hellblade II as the next first-party Xbox game to reach PlayStation platforms. Now, that release has an official release date attached to it, and alongside it, developer Ninja Theory is releasing an update across all platforms with some major features, including a 60 FPS mode on consoles. The Performance Mode is easily the biggest addition to the story-focused immersive experience. Ninja Theory is delivering it to both Xbox Series X and PlayStation 5 players, but there is some bad news for Series S owners, as it is being left out from the upgrade. "The result is smoother gameplay, especially noticeable during combat and fast-moving moments of the game," says the developer. It's unclear how much of the game's visuals Performance Mode users will be missing out on compared to the default 30FPS "cinematic" mode. PC players are getting an upgrade too. A Very High preset is being added to the settings menu for those wanting even higher fidelity graphics. Optimizations have also been a focus on PC, and Ninja Theory says that the title will be Steam Deck Verified when the Enhanced update lands in August. Next, similar to the original, Dark Rot is incoming as an optional experience that players can enable when starting a campaign. This will have a rot effect being applied to Senua every time she dies, and if it ever reaches her head, the game will come to an end, with all progress from that save being wiped. The Photo Mode in Hellblade II is being upgraded with this update too, with the studio touting a new Motion tab for cinematic video capture, as well as improvements across the board to the feature. Lastly, four hours of developer commentary is being added to give a behind-the-scenes look at how the studio crafted the story and gameplay. "Hear from the ensemble cast, key collaborators in depicting Senua’s experience of psychosis, and members of the development team who poured their heart and soul into Senua’s story," says the studio. The Senua’s Saga: Hellblade II Enhanced comes out on August 12 across PC, Xbox Series X|S, and PlayStation 5 for all owners and Game Pass subscribers as a free upgrade. As for the PlayStation 5 launch of Senua’s Saga: Hellblade II that's happening on the same day, Microsoft will be offering two versions: Standard and Deluxe. As expected, Standard includes the complete base game for $49.99, but Deluxe goes further by adding on a copy of the first game, Hellblade: Senua’s Sacrifice, as well as its original soundtrack. The Deluxe Edition costs $69.99 to purchase.
    • Not sure what you’re talking about. Has been there for quite a while and in the latest versions it’s actually quite good. I use it several times a day as I am a terrible typist.
    • They should've called it Neolin, what a missed opportunity, IMHO!
    • We used to have our own Linux distro called "Shift Linux" https://distrowatch.com/table.php?distribution=shift
  • Recent Achievements

    • One Year In
      Bert Fershner earned a badge
      One Year In
    • Reacting Well
      ChrisOdinUK earned a badge
      Reacting Well
    • One Year In
      Steviant earned a badge
      One Year In
    • One Month Later
      Steviant earned a badge
      One Month Later
    • Week One Done
      Steviant earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      544
    2. 2
      ATLien_0
      209
    3. 3
      +FloatingFatMan
      168
    4. 4
      Michael Scrip
      152
    5. 5
      Som
      144
  • Tell a friend

    Love Neowin? Tell a friend!