Tuesday, November 25, 2008

Finding the mailboxes homed in particular mailbox store:

This article explains the different type of methods to find the mailbox homed in particular mailbox store. In simple words, the methods used for querying the mailbox based on the mailbox store information.
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”.

In that, we need to find the mailboxes that are homed in that particular mailbox store. The following are the different types of method to find that respective mailboxes.

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.


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.

Thanks

Logu

logu_microsoft@hotmail.com
91-9841499143

2 comments: