question

DanielSherwood-5966 avatar image
0 Votes"
DanielSherwood-5966 asked FanFan-MSFT commented

Decommssion a child domain - Does this remove the trusts???

I have a child domain I am trying to demote and remove as we are no longer using it. Just unclear about the forest trust. Our main domain dc.com has a child domain secondary.dc.com that I want to decommission. Now im happy with the dcpromo part just not the transitive trust part.

So.....When I tick this is the last domain controller in the domain, will this also remove the AD domains and trusts between the primary and secondary domain?

If it doesn't how do I go about this as currently the remove button is greyed out because it is a child domain

thanks :-)

windows-active-directory
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
 
Just want to confirm the current situations.
If there's anything you'd like to know, don't hesitate to ask.

Best Regards,

0 Votes 0 ·

1 Answer

FanFan-MSFT avatar image
0 Votes"
FanFan-MSFT answered FanFan-MSFT commented

Hi,

Welcome to ask here!
The reference in the parent domain and trust relationship should be deleted if the DCs in the child domain were demoted successfully.

If there are still metadata not cleaning up, we can do it manually.
https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/ad-ds-metadata-cleanup

Then check if there are DNS records.
Check if the trust relationship was removed.

Check if everything works well by command on parent domain controller:
Dcdiag /v >c:\dcdiag1.log
Repadmin /showrepl >C:\repl.txt
Repadmin /showreps * 

Best Regards,

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
I am checking to see if the problem has been resolved.
If there's anything you'd like to know, don't hesitate to ask.
Best Regards,

0 Votes 0 ·