AD-Database

How to check the Active Directory Database Integrity

How to check the Active Directory Database Integrity

By running integrity check, we can identify binary level AD database corruption. This comes as part of the Ntdsutil tool which use for Active Directory database maintenance. This goes through every bite of the database file. The integrity command also checks if correct headers exist in the database itself and if all of the tables are functioning and consistent.

This process also run as part of Active Directory Service Restore Mode (DRSM).

  • Start the server in Directory Services Restore Mode.
  • Once you log on with the Directory Services Restore Mode Administrator account, open a command prompt.
  • At the command prompt, type ntdsutil and press Enter.
  • Type activate instance ntds and press Enter.
  • From the ntdsutil: prompt, type files and press Enter.
  • From the file maintenance: prompt, type integrity and press Enter.
ntdsutil

activate instance ntds

files

integrity

As you can see in below diagram, the utility will perform the check against the database. If any errors are reported, contact Microsoft Product Support Services to determine how you should proceed.

In order to exit from the utility type, quit.it is also recommended to run Semantic database analysis to confirm the consistency of active directory database contents.

In order to do it, 

semantic database analysis

If it’s detected any integrity issues can type go fixup to fix the errors. After process is completed, type net start ntds to start the ntds service.

So, that’s all in this blog. I will meet you soon with some other stuff. Have a nice day!!!

Guys please don’t forget to like and share the post. Also join our WindowsTechno Community and where you can post your queries/doubts and our experts will address them.

You can also share the feedback on below windows techno email id.

If you have any questions feel free to contact us on admin@windowstechno.com also follow us on facebook@windowstechno to get updates about new blog posts.

How useful was this post?

Click on a star to rate it!

As you found this post useful...

Follow us on social media!

Was this article helpful?
YesNo

Vipan Kumar

He is an Active Directory Engineer. He has been working in IT industry for more than 10 years. He is dedicated and enthusiastic information technology expert who always ready to resolve any technical problem. If you guys need any further help on subject matters, feel free to contact us on admin@windowstechno.com Please subscribe our Facebook page as well website for latest article. https://www.facebook.com/windowstechno

Leave a Reply

Back to top button