Microsoft KB Archive/279202

From BetaArchive Wiki

Article ID: 279202

Article Last Modified on 12/3/2007



APPLIES TO

  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange 2000 Server Standard Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
  • Microsoft Windows Small Business Server 2003 Standard Edition



This article was previously published under Q279202

SUMMARY

This article describes several methods that you can use to work around an issue where you cannot delete a Microsoft Exchange 2000 Server or Microsoft Exchange Server 2003 mailbox store.

SYMPTOMS

When you try to delete a mailbox store from a server that is running Exchange 2000 or Exchange 2003, you may receive the following error message:

One or more users currently use this mailbox store. These users must be moved to a different mailbox store or be mail disabled before deleting this store.

ID no: c1034a7f
Exchange System Manager

CAUSE

This issue occurs if there are mailboxes that are homed on the store that you are trying to delete. You cannot delete a mailbox store if there are any users who have mailboxes that are homed on that store.

RESOLUTION

Each of the following sections offers a different method to find the mailboxes that are homed on a mailbox store. When you have determined that a particular account owns a mailbox on a particular store, you can either move the mailbox or disable the account.Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.

Method 1: Use the LDP tool (Ldp.exe) to browse for mailboxes that are on a mailbox store

You can use the LDP tool to find all the accounts that have mailboxes on a particular mailbox store. This tool is included with the Microsoft Windows 2000 Support Tools package.

To use the LDP tool to find all the accounts that have mailboxes on a particular mailbox store, follow these steps:

  1. Start Ldp.exe.
  2. Click Connection, and then click Connect.
  3. Enter the name of a domain controller, and then click OK.

    We recommend that you enter a domain controller in the root domain of the forest.
  4. Click Connection, and then click Bind.
  5. Enter the user name, the password, and the domain name of an administrative account, and then click OK.
  6. On the View menu, click Tree.
  7. Make sure that the Base DN box is blank, and then click OK.

    If the Base DN box is not blank, clear its contents, and then click OK.
  8. In the left pane, expand the following object:

    Your Domain/Configuration/Services/Microsoft Exchange/Your Organization/Administrative Groups/Your Administrative Group/Servers/Your Server/InformationStore/Your Storage Group

  9. Double-click Your Mailbox Store.
  10. In the right pane, scroll to the bottom of the screen to find all the attributes for Your Mailbox Store, and then locate the homeMDBBL attribute.

    The attribute will look similar to the following:

    5> homeMDBBL: CN=Administrator,CN=Users,DC=Domain,DC=com; CN=John Doe,CN=Users,DC=Domain,DC=com; CN=SystemMailbox{1A5E0095-2AA3-4579-AB26-872B74AA19F0},CN=Microsoft Exchange System Objects,DC=Domain,DC=com; CN=SMTP (SERVERNAME-{1A5E0095-2AA3-4579-AB26-872B74AA19F0}),CN=Connections,CN=Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=com; CN=Microsoft System Attendant,CN=SERVERNAME,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=com;

    The text "5>" that occurs before the homeMDBBL attribute name indicates that there are five mailboxes on this server. Each entry is separated with a semicolon (;). In this example, the five mailboxes are:

    • CN=Administrator,CN=Users,DC=Domain,DC=com
    • CN=John Doe,CN=Users,DC=Domain,DC=com
    • CN=SystemMailbox{1A5E0095-2AA3-4579-AB26-872B74AA19F0},CN=Microsoft Exchange System Objects,DC=Domain,DC=com
    • CN=SMTP(SERVERNAME-{1A5E0095-2AA3-4579-AB26-872B74AA19F0}),CN=Connections,CN=Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=com
    • CN=Microsoft System Attendant,CN=SERVERNAME,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=com
  11. When you have identified which users have mailboxes on this store, you can use Active Directory Users and Computers either to move the mailboxes to a different store or to delete the user's mailbox.

    Note You do not have to take any action for any entries that exist in the Microsoft Exchange System Objects container or in the Configuration container.

For additional information about how to use the LDP tool, see the LDP documentation in the Microsoft Windows 2000 Resource Kit. For additional information about how to find data by using the LDP tool, click the following article number to view the article in the Microsoft Knowledge Base:

224543 Using Ldp.exe to find data in the Active Directory


Method 2: Use the LDP tool to search for mailboxes that are on a mailbox store

  1. Start Ldp.exe.
  2. Click Connection, and then click Connect.
  3. Enter the name of a domain controller, and then click OK.
  4. Click Connection, and then click Bind.
  5. Enter the user name, the password, and the domain name of an administrative account, and then click OK.
  6. On the View menu, click Tree.
  7. Make sure that the Base DN box is blank, and then click OK.


If the Base DN box is not blank, clear its contents, and then click OK.

  1. Right-click the container that you want to search, such as the CN=Users container, and then click OK.
  2. Click the Filter box, and then type the following:

(&(objectCategory=person)(objectClass=user)(msExchHomeServerName=/o=ORGANIZATION NAME/ou=ADMINISTRATIVE GROUP NAME/cn=Configuration/cn=Servers/cn=SERVER-NAME-TO-REMOVE))

  1. Click Subtree, and then click Run.
  2. When you have identified which users have mailboxes on this store, you can use Active Directory Users and Computers either to move the mailboxes to a different store or to delete the user's mailbox.

Method 3: Use Active Directory Users and Computers to browse for mailboxes that are on a mailbox store

  1. Start Active Directory Users and Computers on a computer that has Exchange System Manager installed on it.
  2. In Active Directory Users and Computers, click View, click to select the Advanced Features check box, and then click OK.
  3. Click View, and then click Choose Columns.
  4. In the Modify Columns box, click Exchange Mailbox Store in the Hidden Columns list, click Add, and then click OK to add the Exchange Mailbox Store to the Displayed Columns list.


An Exchange Mailbox Store column appears in Active Directory Users and Computers that shows the mailbox store that a user has a mailbox on.

  1. When you have identified which users have mailboxes on this store, you can use Active Directory Users and Computers either to move the mailboxes to a different store or to delete the user's mailbox.

Method 4: Use Active Directory Users and Computers to search for mailboxes that are on a mailbox store

  1. Start Active Directory Users and Computers.
  2. Right-click the domain that you want, and then click Find.
  3. Click the Advanced tab, click Field, point to User, and then click Exchange Home Server.
  4. In the Condition list, click Ends with, type the name of your Exchange computer, and then click Find Now.
  5. If you are prompted to add the current criteria to your search, click Yes.
  6. When you have identified which users have mailboxes on this store, you can use Active Directory Users and Computers either to move the mailboxes to a different store or to delete the user's mailbox.

The mailbox search results appear in the lower pane.

Method 5: Use the LDIFDE tool (Ldifde.exe) to create an export file that contains the mailboxes that are on a mailbox store

  1. At a command prompt, type an LDIFDE command that is similar to the following. Then press ENTER.

ldifde -d "DC=ROOT,DC=COM" -f c:\output.txt -r "(&(objectCategory=person)(objectClass=user)(msExchHomeServerName=/o=ORGANIZATION NAME/ou=ADMINISTRATIVE GROUP NAME/cn=Configuration/cn=Servers/cn=SERVER-NAME-TO-REMOVE))"

  1. Quit the command prompt.
  2. Start Notepad or some other text editor, and then load the Output.txt file that you created in step 1 to view the mailboxes that are on the mailbox store.
  3. When you have identified which users have mailboxes on this store, you can use Active Directory Users and Computers either to move the mailboxes to a different store or to delete the user's mailbox.

For additional information about the LDIFDE tool, type the following command at a command prompt on a computer that is running a product that is listed in the "Applies To" section: ldifde /?


Additional query words: remove private IS DC exch2kp2w XADM

Keywords: kberrmsg kbprb KB279202