From the second screenshot, I could pinpoint the issue lies on non-existent child domain. For whatever reason, the server was taken out without properly demoting it. So the steps that are taken next are as below:
- Run ntdsutil from command prompt
- Type metadata cleanup
- Type connections
- Type connect to server <servername>
- Type quit
- Type select operation target
- Type list domains
- Type select domain <enter the number of you want to remove>
- Type quit
- Type remove selected domain
- If you don't get an error 0x2012 like the screenshot below, you have successfully removed the non-existent domain. Just type quit twice to get out of the utility.
- If you encounter this 0x2012 error, then do step 13 onward.
13. Open another command prompt and run ntdsutil
14. Type Domain Management or Partition Management
15. Type Connections
16. Type Connect to server <Servername>
17. Type Quit
18. Type List
19. Type Delete nc dc=domaindnszones;dc=<domainname>;dc=<domainname>
20. After you removed that, you will now be able to cleanup the metadata by going back to the
other command prompt and re-run the remove selected domain command
21. Type Quit twice to get out of the utility.
No comments:
Post a Comment