News, Product Information, and Tips
Check out our free utlities in the downloads section

Remote Administration



Remote Administration For Windows. Easy remote access of Windows 7, XP, 2008, 2000, and Vista Computers

Click here to find out more

Create Outlook Profiles



No more setup wizards in Outlook. Setup Outlook Profiles automatically from the command line

Click here to find out more

Network Administrator



Reboot Hundreds of computers, disable flash drives, deploy power managements settings.

Click here to get your free copy of Network Administrator. Over 25 plugins to make your life easier

USB Disabler



Disable Flash Drives for specific users, or only allow specific drives.

Click here for your free trial

Search

Archives

Clear out Microsoft Outlook attachments

Post image for Clear out Microsoft Outlook attachments

by Steve Wiseman on August 18, 2010 · 15 comments

in Office,Outlook,Registry,Tips,Tools,Utility,Windows

Back in 2007, I wrote an article about an error that you get in Outlook when you have too many attachments of the same name:

Can't Create File

Even Outlook 2010 has this problem.

In the article, I walk you through deleting these files by hand.

It is not an easy thing to do. You need to open the registry, find a key…then use that key to find a random folder name.

I thought it would be cool if we could build a utility that would do this for you. So, that is what we did:

Outlook Cleanup Screen Shot

It will automatically scan your registry, find all Microsoft Outlook attachments, and then display them to you in the main window.

If it all looks like stuff you want to remove, you just hit the “Clean Up” button and it will delete them for you.

Here comes the bonus. You can run it silently from the command line.

What would you need that for?

You might have user that opens lots of attachments, and runs into this bug all the time.

Here is how you can have it run without any prompts:

OutlookCleanup.exe /SILENT

It will quietly scan through your registry and find the temp folder and empty it. Throw this in a batch file and have it run at logon – you will never have to deal with this problem again.

Another thought came to mind while working on this: This is a security problem too.

While email is on your Exchange server…it is relatively secure. Not knowing this you might open a sensitive document, read it, and when you are finished – delete it. Unknown to you, Outlook has just made a copy of it and it is sitting right there on your hard drive. Waiting for someone to grab.

Until MS provides a fix, you can use this little utility to keep your Outlook attachments clean. I wouldn’t hold your breath waiting for an update – this bug has been around since 2002.

Get your copy from our free downloads page

Like this article? Then sign up for my newsletter to get free tips and software sent right to your inbox once a week. Like you, I hate spam – I will never spam, or sell your email address.

Related Articles:

{ 15 comments… read them below or add one }

1 Sparky August 18, 2010 at 1:41 pm

Steve,

Won’t this screw up outlook in some way? Will it delete those attachments from my email?

2 Steve Wiseman August 18, 2010 at 1:44 pm

No this will not. The reason why Outlook does this is because your attachments are stored in MIME format. Extracting them out of MIME takes lots of processing time.

So Outlook keeps a copy…so the next time it does not have to extract. It just gives you the cached version.

The only downside I can see is that larger attachments will take longer to open the second time around.

3 Dave Robbins August 19, 2010 at 5:35 pm

I can’t tell you how many times we have run into this issue. Thanks for creating this free tool.

4 TomH August 20, 2010 at 8:10 am

This appears to either delete all or none, is this correct or can you delete selected files ?

5 Steve Wiseman August 20, 2010 at 8:19 am

I think the appropriate word woulds would be “Add a feature”. Yes we can do that. Probably by Monday we can have a new release that will let you pick and choose which files to delete.

6 Steve Wiseman August 24, 2010 at 10:55 am

We just updated the application to include…a clear all, and clear only selected items…Enjoy

7 Konos September 16, 2010 at 10:09 am

Maybe I just need more coffee this morning but if I try to run this from command line using the /SILENT switch nothing happens. If I remove the /SILENT it works fine. Anyone else have this issue? Windows 7 64bit.

8 Steve Wiseman September 16, 2010 at 10:42 am

OK. We looked through….and it was a bug. Download again, and it should now work.

9 war59312 November 28, 2010 at 12:06 am

Hi,

Nice application! Thanks a lot!

Would be nice if you could double click on any item and have it open in the default application.

Also, could you make the window a little bitter taller so the line is not cut off? That is the 10th item is not fully visible. You have to scroll down.

Could you also please add “Size” and “Date Last Accessed” ? That would help the user decide if file(s) should be deleted.

You should also add a version number (or at least a date of release) some were, makes it easier for users to know they have the latest build.

Thanks,

Will

10 Dave December 16, 2010 at 7:00 pm

Installed the Outlook Cleanup Utility on a Windows 7 64 bit OS w/Office 2010. Our phone system sends wav files as described in problem, but no files are detected when utility is executed. What I’m I missing?

11 L Bitto January 12, 2011 at 12:38 pm

We run into this problem continually with the large number of faxes routed to email. This tool has been a life-saver!

12 Robert Woods March 25, 2011 at 1:46 pm

I work at a help desk and run into this problem almost daily just wondering if its possible to run this remotely?

13 Steve Wiseman March 27, 2011 at 2:22 am

Very good question. We will have to look into this…

Steve

14 MG November 2, 2011 at 3:35 pm

Dear Sir, hope this finds you well. Just a question concerning your Outlook Attachment Cleanup, someone told me that when we delete e-mails they are not actually deleted, is this true? and does your program clean up the deleted files and if not do you know how I could do this? (need space)

15 Steve Wiseman November 2, 2011 at 6:17 pm

If you delete the emails and empty your trash, they are deleted….but the attachments associated with them are still hanging around, taking up space. To free this up, just use the above program to clean them out.

Steve

Leave a Comment

Category Links - Windows Forum - Exchange Forum