"One or more users currently use a mailbox store on this server" when trying to uninstall Exchange

24 ביוני 2009

תגיות:
2 תגובות

Issue



When running the Exchange setup and selecting the remove option the following message appears:

"The component Microsoft Exchange Messaging and Collaboration Services cannot be assigned the action Remove because:

-One or more users currently use a mailbox store on this server. These users must be moved to a mailbox store on a different server or be mail disabled before uninstalling this server."


- or  You receive a "c1034a7f" error message when you delete a mailbox store


Resolution



This issue occurs because the Setup program detects that a mail-enabled user is connected to this mailbox store. There may also be system mailboxes or other hidden mailboxes that are not visible in Exchange System Manager or in Active Directory Users and Computers.


*check the the Exchange 2003 installation CDROM is on the drive and try to uninstall the exchange 2003.



Determine whether one or more users have the affected server listed as their Exchange home server and then move the mailbox or remove the Exchange attributes of the user.

You do not have to consider the following mailboxes:
- SystemMailbox
- Microsoft DSA
- SMTP
- Microsoft System Attendant

A combination of all 3 methods below may be required to find all affected accounts using the serach.

Method 1 (Active Directory Users and Computers):
- Right-click the domain container, and then click Find
- Select the Exchange tab
- Check the "Show only Exchange recipients" check box
- Check the "Users with Exchange mailbox" check box
- Click Find Now
- On the View menu, click Choose Columns
- Select "Exchange Home Server" in the Columns available list and click Add
- Click OK
- Click the Exchange Home Server column to sort the results

The server that appears in this column is the same value that appears in the msExchHomeServerName attribute.

Method 2 (Active Directory Users and Computers):
- Right-click the domain container, and then click Find
- Select the Advanced tab
- Select User from the Field button
- From the list of attributes displayed, choose Exchange Home Server
- Set the Condition field to Ends With
- Enter the Exchange server name into the Value field
- Click Add
- Click the Find

Method 3 (ADSIEdit.msc from Support Tools):
- Expand server.domain.com
- Expand CN=Configuration,DC=domain,DC=com
- Expand CN=Services
- Expand CN=Microsoft Exchange
- Expand CN=OrganizationName
- Expand CN=Administrative Groups
- Expand CN=AdministrativeGroupName
- Expand CN=Servers
- Expand CN=ServerName
- Expand CN=Information Store
- Expand CN=StorageGroupName
- Right-click CN=Mailbox Store (ServerName) and select Properties
- In the Select a property to view list click homeMDBBL


A combination of all 5 methods below may be required to find all affected accounts using the ldap tool.


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 Search.
  7. Click to select the "DC=domainname,DC=local" by Base DN check box.
  8. Click the Filter box, and then type the following text:
    msExchHomeServerName=Exchange virtual server name

  9. Click Subtree, and then click Run.
  10. Identify the users who have mailboxes on this store. Then, use the Active Directory Users and Computers snap-in to move the mailboxes to a different store or to delete the mailboxes.

For more information about how to use the LDP tool, see the LDP documentation in the Microsoft Windows 2000 Resource Kit.

For more 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  (http://support.microsoft.com/kb/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.
  8. Right-click the container that you want to search, such as the CN=Users container, and then click OK.
  9. 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))
  10. Click Subtree, and then click Run.
  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.


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.
  5. 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))"
  2. Quit the command prompt.
  3. 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.
  4. 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 /?


Further Information:

How to Use the Remove Exchange Attributes Option
http://support.microsoft.com/kb/823170

Windows Server 2003 Service Pack 1 32-bit Support Tools
http://www.microsoft.com/downloads/details.aspx?familyid=6EC50B78-8BE1-4E81-B3BE-4E7AC4F0912D&displaylang=en

Error message when you try to remove Exchange 2000 Server from a mailbox server that no longer hosts mailboxes: "One or more users currently use a mailbox store on this server"
http://support.microsoft.com/kb/924170

How to roll back a failed migration from Exchange Server 5.5 to Exchange 2000 Server or to Exchange Server 2003
http://support.microsoft.com/kb/839356

הוסף תגובה
facebook linkedin twitter email

כתיבת תגובה

האימייל לא יוצג באתר. (*) שדות חובה מסומנים

2 תגובות

  1. Prakash P28 בפברואר 2010 ב 11:31

    In Method 1, point 6 it should be

    6. On the Browse menu, click Search.

    (Helpful blog)

    Thanks!
    Prakash

    להגיב
  2. Eran17 באוגוסט 2010 ב 12:45

    Thank you -
    That was right on the money

    להגיב