Wolffhaven's Blog
A mind dump.....of sorts.
Skip to content
  • Home
  • About
  • Blog

Tag Archives: Metadata Cleanup

Domain Controller Metadata Cleanup

  By wolffhaven | May 2, 2013 - 8:02 pm | Active Directory, Windows Server 2012
Leave a comment

Domain Controller Metadata Cleanup after Domain Controller Failure

Metadata Cleanup - After the failure of a Domain Controller, and the subsequent rebuild of a new domain controller, you may be left with some orphaned entries in Active Directory. The metadata cleanup removes any information about the dead Domain Controller. It also removes FRS and DFSR entries, and will also seize any operation master roles as well if they were on the dead domain controller.

 

Prerequisites:

  • Domain Admin Account is needed to perform these actions.
  • This only worked for me on a Domain Controller (documentation that I have read has said that it can be run via a workstation using RSAT (ADUC) but this didn't work for me it resulted in the below error.

  • Make sure that accidental deletion is turned off for the object.
  • I have done these steps on Windows Server 2012 environment at a 2012 Functional Level.

 

To start, go to an active Domain Controller and then open up Active Directory Users and Computers. Navigate to the Domain Controllers folder and right click on the dead domain controller and then select delete.

Select Yes

Tick the checkbox confirming that the Domain Controller is actually dead. Then select Delete.

Make sure that you have another Global Catalog server in your domain and then select Yes.

Once this is done, wait for replication to occur within your Active Directory so that the changes propagate out to the other DC's and the metadata cleanup is complete.

You can then verify everything has gone well with the metadata cleanup  by running the following checks at an elevated command line on an Active Domain Controller.

Dcdiag /a /c /v /f:C:\logfile.log

Repadmin /showrepl * /verbose /all /intersite > C:\repllog.log

For further reading, check out the links below.

http://technet.microsoft.com/en-us/library/cc816907(WS.10).aspx

http://technet.microsoft.com/en-us/library/cc736378(v=ws.10).aspx

http://support.microsoft.com/kb/216498

 

 

 

Tagged Active Directory, Domain Controller, Metadata Cleanup, Windows Server 2012
  • Wolffhaven Blog

    • RSS - Posts
    • RSS - Comments
  • Subscribe to Blog via Email

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 11 other subscribers

  • Recent Posts

    • Join Ubuntu Workstation to a Windows Domain
    • x11vnc server installation on Ubuntu 16.04 Xenial Xerus
    • Installing NixNote2 Beta 7 on Ubuntu 16.04 Xenial Xerus
    • Writing CMTrace format Log files with Powershell
    • Connecting Word 2016 to WordPress - Step by Step Guide
  • Recent Comments

    • Dan on Join Ubuntu Workstation to a Windows Domain
    • Angelo on Join Ubuntu Workstation to a Windows Domain
    • Juho on Join Ubuntu Workstation to a Windows Domain
    • Prakash on Report Builder 3.0 Fails to Install
    • Prakash on Report Builder 3.0 Fails to Install
  • Archives

    • June 2016
    • May 2016
    • January 2016
    • December 2015
    • September 2015
    • February 2014
    • December 2013
    • August 2013
    • July 2013
    • June 2013
    • May 2013
    • April 2013
    • February 2013
  • Categories

    • Active Directory
    • App-V
    • Chocolatey
    • DNS
    • Hyper-V
    • IOS
    • Linux
    • MDT 2013
    • Powershell
    • SCCM
    • SharePoint
    • Skydrive
    • SQL
    • SSRS
    • Ubuntu 16.04
    • Uncategorized
    • Windows 8
    • Windows 8.1
    • Windows Server 2012
    • Windows To Go
    • WordPress
    • XBMC
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Tags

    Active Directory ActiveSync App-V Apple Application Virtualization automation Best Practice Analyzer Dcdiag Domain Controller email Error Exception Frodo Google Sync Hyper-V Ios Iphone Iphone 5 Linux Metadata Cleanup Not working Powershell Powershell v3 PVR Repadmin Report Builder 3.0 SCCM Scheduled Task Sequencer SQL SSRS Stalled Stuck Ubuntu 16.04 VHD Windows 7 Windows 8 Windows 8.1 Windows 2012 Windows Assessment Kit Windows Server 2008 R2 Windows Server 2012 Won't Install Xbmc Zero
  • Top Posts & Pages

    • Join Ubuntu Workstation to a Windows Domain
    • x11vnc server installation on Ubuntu 16.04 Xenial Xerus
    • Assigning Users to ConfigMgr ReportUsers group in SCCM 2012
    • Install Windows To Go in a VHD on a USB Hard Drive
    • Hyper-V Virtual Machine Error 0x80070569
    • Backing up Active Directory in Windows Server 2012 R2 with Powershell
    • Active Directory Health Check automation via Powershell
    • Report Builder 3.0 Fails to Install
    • Uninstalling & Reinstalling SQL Server Reporting Services 2012
    • SCCM 2012 R2 – MDT 2013 UEFI OS Deployment Error
If you like this site or find something helpful and you would like to donate, feel free....
BTC: 19FzZR5g4FjrgFdNcJrYFvWK8Hc2XJ2ZTr LTC: LVSWFJrSTjt5wzng5GrLZ7ZN21uvW7krwf
FTC: 6tP7BKT7FfwWGVi49i5PjvRE4vE1Sa1WKh PPC: PVUxuiMf7jUxQYKGQTHWNJpYXbQn2HKEVH
Wolffhaven's Blog | Powered by Socks5 Proxies & SMS PVA