Re: Removing a DC

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The following was done from DC1 "RC-SERVER-1".
DC2="RC-SERVER-2"
DC3="RC-SERVER-3" (This is the one that is removed).
----------------------------------------------------------------------------------------------
D:\>repadmin /showutdvec * cn=configuration,dc=ComputerCreations,dc=local

repadmin running command /showutdvec against server
rc-server-1.ComputerCreations.local

Caching GUIDs.
...
1ae9b171-7fc6-43cc-ab6b-93c2fd4f139f @ USN 74415 @ Time 2006-10-10
11:52:02
3e04644c-30f3-48f4-8d27-80b094b33fd0 @ USN 74143 @ Time 2006-10-10
09:18:15
41d10ea1-1fe9-4eb2-8ca0-5b26c771008b @ USN 606310 @ Time 2006-06-17
16:09:13
Default-First-Site-Name\RC-SERVER-1 @ USN 1278273 @ Time 2006-10-12
09:51:12
Default-First-Site-Name\RC-SERVER-2 @ USN 1155290 @ Time 2006-10-12
09:46:11

repadmin running command /showutdvec against server
RC-SERVER-2.ComputerCreations.local

Caching GUIDs.
...
1ae9b171-7fc6-43cc-ab6b-93c2fd4f139f @ USN 74415 @ Time 2006-10-10
11:52:02
3e04644c-30f3-48f4-8d27-80b094b33fd0 @ USN 74143 @ Time 2006-10-10
09:18:15
41d10ea1-1fe9-4eb2-8ca0-5b26c771008b @ USN 606310 @ Time 2006-06-17
16:09:13
Default-First-Site-Name\RC-SERVER-1 @ USN 1278253 @ Time 2006-10-12
09:36:41
Default-First-Site-Name\RC-SERVER-2 @ USN 1155290 @ Time 2006-10-12
09:51:12

----------------------------------------------------------------------------------------------

D:\>ntdsutil
ntdsutil: metadata cleanup
metadata cleanup: connections
server connections: connect to server rc-server-1
Binding to rc-server-1 ...
Connected to rc-server-1 using credentials of locally logged on user.
server connections: q
metadata cleanup: select operation target
select operation target: list domains
Found 1 domain(s)
0 - DC=ComputerCreations,DC=local
select operation target: select domain 0
No current site
Domain - DC=ComputerCreations,DC=local
No current server
No current Naming Context
select operation target: list sites
Found 1 site(s)
0 -
CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ComputerCreations,DC
=local
select operation target: select site 0
Site -
CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ComputerCreations
,DC=local
Domain - DC=ComputerCreations,DC=local
No current server
No current Naming Context
select operation target: list servers in site
Found 2 server(s)
0 -
CN=RC-SERVER-1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configurati
on,DC=ComputerCreations,DC=local
1 -
CN=RC-SERVER-2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configurati
on,DC=ComputerCreations,DC=local
select operation target: q
metadata cleanup: q
ntdsutil: q
Disconnecting from rc-server-1...

--
Bob
.



Relevant Pages

  • Removing orphan DC / Domains
    ... metadata cleanup: connections ... server connections: connect to server \\jupiter ... metadata cleanup: select operation target ...
    (microsoft.public.windows.server.active_directory)
  • Re: Removing a child domain from the parent
    ... I successfully removed the server with the ... I am trying to run the metadata cleanup. ... server connections: connect to server app1 ... metadata cleanup: select operation target ...
    (microsoft.public.windows.server.setup)
  • Re: Removing a child domain from the parent
    ... I successfully removed the server with the ... I am trying to run the metadata cleanup. ... server connections: connect to server app1 ... metadata cleanup: select operation target ...
    (microsoft.public.windows.server.setup)
  • Re: Removing orphan DC / Domains
    ... Wizard to force demotion in Windows Server 2003 and in Windows 2000 Server ... metadata cleanup: connections ... metadata cleanup: select operation target ...
    (microsoft.public.windows.server.active_directory)
  • RE: using ntdsutil to remove a DC from AD
    ... Also, we you remove the server, If you got "Element not found error" this ... metadata cleanup: select target operation ... select operation target: list domains ... Not connected to a server - use "Connections" ...
    (microsoft.public.windows.server.dns)