When trying to uninstall Exchange you get the following error:

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.
To find which users are blocking Exchange removal do the following:
- Start the Active Directory Users and Computers tool. To do this, click Start, point toPrograms, point to Microsoft Exchange, and then click Active Directory Users and Computers.
- In the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in, right-click the domain container, and then click Find.
- In the Find Users, Contacts, and Groups dialog box, click the Exchange tab, click to select the Show only Exchange recipients check box, and then click Find Now.
- On the View menu, click Choose Columns.
- In the Choose Columns dialog box, click Exchange Home Server in the Columns available list, click Add to move this entry to the Columns shown list, and then clickOK.
- Click the Exchange Home Server column to sort the results in the Exchange Home Server column.
- Determine whether the mailbox server appears in the value or values that are listed in the Exchange Home Server column. The server that appears in this column is the same value that appears in the msExchHomeServerName attribute.
I found a few users using this method which I assumed had never logged into outlook. We reset their password and logged in as them fired up outlook, logged into their email and logged out again. Their mailbox then was able to be moved using exchange manager.
To find which users are blocking Exchange removal do the following another way:
Use the LDP tool to search for mailboxes that are on a mailbox store
- Start Ldp.exe.
- Click Connection, and then click Connect.
- Enter the name of a domain controller, and then click OK.
- Click Connection, and then click Bind.
- Enter the user name, the password, and the domain name of an administrative account, and then click OK.
- On the View menu, click Tree.
- 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.
- Right-click the container that you want to search, such as the CN=Users container, and then click Search.
- 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))
- Click Subtree, and then click Run.
- When you have identified which users have mailboxes on this store, you can use Active Directory Users and Computers to move the mailboxes to a different store or to delete the user’s mailbox.
Using this method I was able to find a user with a reference to the server who did not appear in the first method but there was no mailbox, and exchange information was incomplete in AD. Using AD Users and Computers I was able to remove exchange attributes for this user using the right click -> Exchange Tasks.
| Standard Windows Key combination |
Virtual Machine Connection Key Combination |
Explanation |
| CTRL + ALT + DEL |
CTRL + ALT + END |
Displays the Task Manager or Windows Security dialog box on Windows (or logs in). |
| ALT + TAB |
ALT + PAGE UP |
Switches between programs from left to right. |
| ALT + SHIFT + TAB |
ALT + PAGE DOWN |
Switches between programs from right to left. |
| ALT + ESC |
ALT + INSERT |
Cycles through the programs in the order they were started. |
| CTRL + ESC |
ALT + HOME |
Displays the Windows Start menu. |
| N/A |
CTRL + ALT + PAUSE |
Changes the Virtual Machine Connection window to / from full screen mode. |
| N/A |
CTRL + ALT + LEFT ARROW |
Releases mouse and keyboard focus from the Virtual Machine Connection window. |
You can also send key all windows commands to a Hyper-V by clicking on the server in Hyper-V Manager and choosing Action -> Hyper-V Settings. Under user select “Use on the Virtual Machine”
To backup and restore a configuration from one cisco router to another using Hyperterm do the following:
- Connect to the router you need to copy the configuration from via Hyperterm.
- At the Router> prompt, issue the enable command, and provide the required password when prompted.
The prompt changes to Router#, which indicates that the router is now in privileged mode.
- Issue the terminal length 0 command in order to force the router to return the entire response at once, rather than one screen at a time.
This allows you to capture the configuration without extraneous --more-- prompts generated when the router responds one screen at a time.
- On the HyperTerminal menu, choose Transfer > Capture Text.
The Capture Text window appears.
- Name this file “config.txt.”
- Click Start in order to dismiss the Capture Text window and begin the capture.
- Issue the show running-config command, and allow time for the router to complete its response. You will see:
Building configuration...
followed by the configuration.
- On the HyperTerminal menu, choose Transfer > Capture Text > Stop in order to end the screen capture.
- Open the config.txt file you created in any text editor, such as Notepad or Wordpad.
- Search for and remove any line that starts with “AAA”.
Note: This step is to remove any security commands that could lock you out of the router.
- Save the file.
- Connect to the router that needs the configuration.
- Open the config.txt file.
- Highlight the entire contents of the config.txt file.
You can do this by dragging the cursor from before the first character to after the last character in the file while holding down the left mouse button. Alternatively, if you use Notepad, you can choose Edit > Select All from the menu.
- Copy the selected text to the Windows clipboard.
You can either choose Edit > Copy from the text editor menu, or hold down the CTRL key and simultaneously press the C key in order to perform the copy.
- Switch to the HyperTerminal window, and issue the configure terminal command at the Router# prompt. Then press Enter.
- Paste the configuration file into the router by selecting Edit > Paste to Host on the HyperTerminal menu.
- After the configuration has finished pasting and the router brings you back to the configuration prompt, issue the copy running-config startup-configcommand in order to write the configuration into memory.
- Issue the exit command in order to return to the Router# prompt
There are other ways to copy the configuration using ftp and tftp found at.
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_tech_note09186a008020260d.shtml