Open Blocked File Attachments in Outlook and Outlook Express





Open Blocked File Attachments in Outlook and Outlook Express

Force Outlook and Outlook Express to let you open a wide variety of file attachments that they normally block.

The world is full of nasty email-borne worms and viruses, and everyone certainly needs to be protected from them. But Microsoft, in the latest versions of Outlook and Outlook Express, takes a Big Nurse, draconian approach to the problem; it refuses to let you open a wide variety of file attachments sent to you via email, including those ending in .exe, .bat, and many other common file extensions. (Eudora doesn't do this!) The theory is that it's possible a file with one of those extensions might be dangerous, so you shouldn't be allowed to open any file with that extension. That's like banning all cars because some people sometimes get into accidents.

When you try to open a file with one of those blocked extensions, you get the following error message: "Outlook blocked access to the following potentially unsafe attachments." Then you get a list of the attachments in your email that you can't open.

Depending on your version of Outlook/Outlook Express, and whether you've applied a Service Pack update to either of them, your version might or might not exhibit this behavior. Some older versions don't act this way; all newer versions do, including SP2.

The simplest way to know whether your version acts this way is to see what happens when you get one of the blocked file attachments. If it's allowed to go through, there's no need to use this hack. If it's blocked, get thee to the keyboard. Outlook and Outlook Express handle the problem differently, so we'll take a look at each.

Force Outlook to Let You Open Blocked File Attachments

Outlook assigns a level of risk to every file attachment sent to you. Level 1 is considered unsafe, so Outlook blocks your access to Level 1 attachments; you won't be able to open these files. Level 2 is considered a moderate risk, and you won't be able to open those files directly. Instead, you have to save the files to disk, and then you'll be able to open them. I'm not clear on how that increases security, but that's what Microsoft has done. Oh, and there's another oddball fact about Level 2: no file types are considered Level 2 risks. The only way for a file to be considered at that risk level is if you use Outlook in concert with a Microsoft Exchange Server and the administrator uses his administration tools to put file extensions into that risk category. The administrator is also the only person who can take file extensions out of the category. So, you can pretty much ignore that category, unless you have some convincing official reason for changing your company's policy. Any file types not in Levels 1 and 2 are considered "other" and you can open them normally.

To force Outlook to let you open blocked file attachments, use this Registry hack. Before starting, you need to know the list of Level 1 file attachments that Outlook blocks. They're listed in Figure. Just to make things more confusing, depending on your version of Office and what Service Pack you've installed, not all of these extensions can be blocked.

Blocked file extensions in Outlook

Extension

File type

.ade

Microsoft Access project extension

.adp

Microsoft Access project

.app

Visual FoxPro application

.asx

Windows Media audio/video

.bas

Microsoft Visual Basic class module

.bat

Batch file

.chm

Compiled HTML Help file

.cmd

Microsoft Windows NT Command script

.com

MS-DOS program

.cpl

Control Panel extension

.crt

Security certificate

.csh

Unix shell extension

.exe

Executable program

.fxp

Visual FoxPro compiled program

.hlp

Help file

.hta

HTML program

.inf

Setup information

.ins

Internet Naming Service

.isp

Internet Communications settings

.js

Jscript file

.jse

Jscript Encoded Script file

.ksh

Unix shell extension

.lnk

Shortcut

.mda

Microsoft Access add-in program

.mdb

Microsoft Access program

.mde

Microsoft Access MDE database

.mdt

Microsoft Access workgroup information

.mdw

Microsoft Access workgroup information

.mdz

Microsoft Access wizard program

.msc

Microsoft Common Console document

.msi

Microsoft Windows Installer package

.msp

Microsoft Windows Installer patch

.mst

Microsoft Windows Installer transform; Microsoft Visual Test source file

.ops

Office XP settings

.pcd

Photo CD image; Microsoft Visual compiled script

.pif

Shortcut to MS-DOS program

.prf

Microsoft Outlook profile settings

.prg

Visual FoxPro program

.reg

Registry entries

.scf

Windows Explorer command

.scr

Screen saver

.shb

Shell Scrap object

.shs

Shell Scrap object

.url

Internet shortcut

.vb

VBScript file

.vbe

VBScript Encoded script file

.vbs

VBScript file

.wsc

Windows Script Component

.wsf

Windows Script file

.wsh

Windows Script Host Setting file


Decide which file extension you want to be able to open from within Outlook, and close Outlook if it's running. Then run the Registry Editor [Hack #83] and go to HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security, which, as its name implies, handles Outlook security. Create a new String value called Level1Remove. In the Value Data field, type the name of the file extension you want to be able to open, for example, .exe. You can add multiple file extensions. If you do, separate them with semicolons, but no spaces, like this: .exe;.bat;.pif. Use Figure as a guide for which blocked file extensions you want to be able to open.

When you're done, exit the Registry and reboot. Now you'll be able to open the file extensions you specified.

There's also an Outlook add-in that will let you open blocked email attachments without having to edit the Registry. The Attachment Options add-in, available from http://www.slovaktech.com/attachmentoptions.htm, lets you visually change which attachments you can open, and it also lets you set an additional optionhaving Outlook ask you whether you want to open certain file extensions on a case-by-case basis, instead of blocking them or automatically opening them. The author asks that you send a $10 donation if you use the add-in.

If you know the person sending you a certain attachment, you can also have him zip the file and resend it to you. That way, you're getting a file with a .zip file extension, which will get through.


Force Outlook Express to Let You Open Blocked File Attachments

Depending on your version of Outlook Express, it might prevent you from opening certain email file attachments in the same way Outlook blocks certain files.

If you have installed Windows XP Service Pack 1 or Service Pack 2, Outlook Express Service Pack 1, or Internet Explorer 6 Service Pack 1, you'll be blocked from opening certain email file attachments. Also, if you have a newer version of XP, you might be blocked.


With Outlook Express, unlike with Outlook, you won't be able to determine on an extension-by-extension basis which attachments you can open. Instead, you can tell the program to let you open all blocked extensions or you can tell it to stop you from opening any blocked extensions.

To tell Outlook Express to let you open blocked attachments, choose Tools Options Security to open the dialog box shown in Figure. Clear the box next to "Do not allow attachments to be saved or opened that could potentially be a virus."

Forcing Outlook Express to let you open all email attachments


You might have to close Outlook Express and restart it for the settings to take effect.


     Python   SQL   Java   php   Perl 
     game development   web development   internet   *nix   graphics   hardware 
     telecommunications   C++ 
     Flash   Active Directory   Windows