Previous Posts


Error in registry for extension "Exchange Extensio...

Map ISO files to a drive

Microsoft Updates IE 7

Adobe Reader flaw confirmed

Deploy Office 2007 compatibility pack via GPO

Deploy applications via group policy

Get the Office 2007 Compatibilty pack

Limit Automatic login for Windows XP, 2003, and Vi...

Fake windows patches via google

New Zealand Windows 95/98/ME DST Update



Archives

May 2005

January 2006

April 2006

May 2006

June 2006

July 2006

September 2006

October 2006

November 2006

December 2006

January 2007

February 2007

March 2007

April 2007

May 2007

June 2007

July 2007

August 2007

September 2007

October 2007

November 2007

December 2007

January 2008

February 2008

March 2008

April 2008

May 2008

June 2008

July 2008

August 2008

September 2008

October 2008

November 2008



Subscribe to our Feed:






Remove an email from all mailboxes in Microsoft Exchange

If you like this article, then sign up for our email newsletter to get more like it every day in your inbox

When I worked as an IT administrator at a large company I cringed when I saw a message like this float by:

Too many attachment in outlook

Usually in the To field it was sent to "All Employees". A large number of attachments work fine when everyone is directly connected to Exchange on the LAN.

The problem arises when users on a slow link far across the WAN receive the same message, and they all start trying to look at the pictures at the same time.

Boom - the remote sites are all very slow, or totally down. All because everyone wants to see if they can catch someone doing something bad at the company party.

So when you see a message like this, and need to act fast - say remove that message from all mailboxes ASAP. How do you do it?

Strangely enough, this can be accomplished by using the ExMerge utility for Exchange.

It can be downloaded from here

I say strangely, because normally you would use this utility to move mailboxes to another exchange server. It is packed with features, and we can wield it to allow us to pull out specific messages.

To start you will need to create a new administrator account, and give it access to all mailboxes on the exchange server. I only suggest creating a new Administrator account because the standard administrator account has specific rights you would need to override. I would rather not tinker with these default settings.

Then you will want to login as the new administrator (On the Exchange server), download the ExMerge utility, and extract these files to C:\Program Files\Exchsrvr\bin folder.

Let me state, that before continuing - BACK UP YOUR EXCHANGE SERVER. A small mistake using this utility could wipe out all of your mailboxes (You could still recover...but who wants to take the chance?)

Now that your backup is finished, we can launch the utility. Look for the file named ExMege.exe in the C:\Program Files\Exchsrvr\Bin folder.

ExMerge Utility

Click Next on the first page, and on the second we want to pick the "Two step procedure" and click next

Remove Message From Exchange Store Step 1

On the next page we will select "Step 1"

Remove Message From Exchange Store Step 2

On this page, fill out the host name of the Exchange server, the info below it is optional and will be automatically filled if you leave it blank. Click on the options button.

Remove Message From Exchange Store Step 3

Once the options window appears, go to the "Import Procedure" Tab. Change it to "Archive Data to Target Store". Here is were we need to be careful. If we only made this change and then busted out of here and started our ExMege it would export all messages from all mailboxes and delete from the server. Yep I did it once. The part that will save you is that it does copy all of the data to a PST file (For each user) that you can merge back into the Exchange store.


Remove Message From Exchange Store Step 4

Since we don't want our users screaming at us, and we simply want to remove a specific message - lets add some rules and move on over to the message details tab.

I know that most of my users do not send around images, so I am safe by picking the filename of one of the attachments in the email. You will need to make a careful decision on what would be the best match.

Remove Message From Exchange Store Step 5

Now that we have a rule in place for what we want to remove, we can click OK. Click Next, and it will do some queries against the exchange server. Eventually it will come back with a list of users. Select the users you want to run this rule against.

Remove Message From Exchange Store Step 6

The next page will ask you about your locale. Pick the appropriate option. Next page will ask you where you want your PSTs stored.

Remove Message From Exchange Store Step 7

For each mailbox that you run this rule against, it will create a PST with the deleted messages inside of it. Pick a location that can handle the entire size of your store. Why? Because for some reason it will make the PST the same size of the original mailbox - even if only one message is copied out. These are only temporary, and can be used to reverse the process if we made a mistake. Once you are sure things went properly you can safely delete the PST files generated.

Click Next. Look at this page carefully.

Remove Message From Exchange Store Step 11

It is your last chance to stop what you are doing. No big red lights, no big sign saying "YOU MIGHT HOSE YOUR EXCHANGE SERVER...STOP NOW!!!" But this is it. If you are ready to make the change click next.

Before you know it, all of the mailboxes are updated.

Remove Message From Exchange Store Step 9

You can check out the PST output folder to see what was deleted. Simply launch outlook, and load one PST at a time to get an idea of what was removed.

Remove Message From Exchange Store Step 10

Now, before the folks in marketing could open the party pictures you have averted a small disaster.


Posted By: Steve Wiseman on Monday, October 15, 2007

Check out our utilities for windows

 



Copyright © IntelliAdmin, LLC, 2008. All Rights Reserved