Help and Support

Article ID: 232609 - Last Review: October 27, 2006 - Revision: 4.2

XADM: How to Verify the Integrity of a Key Management Server Database

This article was previously published under Q232609

On This Page

Expand all | Collapse all

SUMMARY

The Microsoft Exchange Key Management Server uses Extensible Storage Engine (also referred to as "ESE") database technology, which is also implemented in the Exchange Server database files.

Customers have requested the ability to verify the integrity of these various ESE-based databases, and a variety of utilities exist to perform this function. This article describes the options available for Exchange Key Management Server databases.

MORE INFORMATION

The Microsoft Exchange Key Management Server service includes an executable file named Kmserver.exe. When the Exchange Key Management Server service is stopped, you can supply a variety of command-line switches to Kmserver.exe, depending upon your specific need.

Validate the Integrity of the Microsoft Exchange Key Management Server Database File

  1. Stop the Microsoft Exchange Key Management Service.
  2. Make a backup of your Exchsrvr\Kmsdata directory.
  3. Go to a command prompt.
  4. Change to the Exchsrvr\Bin directory.
  5. Type the following:
    "kmserver <kmserverpassword> -R" (without the quotation marks or brackets)
  6. As this is running, events will be logged in the Event Viewer's application log.

    NOTE: Please review the application log to inspect the actions that were performed.
  7. Restart the Microsoft Exchange Key Management Service.

Repair the Microsoft Exchange Key Management Server Database File

  1. Stop the Microsoft Exchange Key Management Service.
  2. Make a backup of your Exchsrvr\Kmsdata directory.
  3. Go to a command prompt.
  4. Change to the Exchsrvr\Bin directory.
  5. Type the following:
    "kmserver <kmserverpassword> -RF" (without the quotation marks or brackets)
  6. As this is running, events will be logged to Event Viewer's application log.

    NOTE: Please review the application log to inspect the actions that were performed.
  7. Restart the Microsoft Exchange Key Management Service.

APPLIES TO
  • Microsoft Exchange Server 5.5 Standard Edition
Keywords: 
kbhowto KB232609
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Article Translations