Help and Support

Article ID: 938813 - Last Review: January 21, 2009 - Revision: 2.0

You may experience issues when you run the Microsoft Office Document Imaging program after you install Office 2003 Service Pack 3

Important This article contains information that shows you how to help lower security settings or how to turn off security features on a computer. You can make these changes to work around a specific problem. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this workaround in your particular environment. If you implement this workaround, take any appropriate additional steps to help protect the computer.

On This Page

Expand all | Collapse all

SYMPTOMS

You install Microsoft Office 2003 Service Pack 3 (SP3). When you run the Microsoft Office Document Imaging program, you may experience the following issues:
  • The default printer driver, such as the Microsoft Office Document Image Writer printer driver, is set to the TIFF output format.
  • The ability to save a .tif file by using JPEG compression is no longer available.
  • .Tif files and .mdi files are no longer associated with Microsoft Office Document Imaging. Additionally, these files no longer open in Microsoft Office Document Imaging by default.

CAUSE

These issues occur because of the security changes that were made in Office 2003 SP3.

WORKAROUND

Warning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.

To work around these issues, use the method that is appropriate for your situation.

Note There is no workaround for the issue in which the ability to save a .tif file by using JPEG compression is no longer available. This feature was removed from the program in Office 2003 SP3.

Method 1: Change the output format of the default printer driver

To do this with the Microsoft Office Document Image Writer printer driver, follow these steps:
  1. Open the document in Microsoft Office Document Imaging.
  2. On the File menu, click Print.
  3. In the Name box, click Microsoft Office Document Image Writer under Printer.
  4. Click Properties.
  5. Click the Advanced tab.
  6. Click MDI under Output format, and then click OK.

Method 2: Associate .tif and .mdi files with Microsoft Office Document Imaging

To do this, follow these steps.

Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

In Microsoft Windows XP

  1. Start Windows Explorer. To do this, right-click Start, and then click Explore.
  2. On the Tools menu, click Folder Options.
  3. Click the File Types tab.
  4. In the Extensions column under Registered file types, select TIF.
  5. Click Change.
  6. In the Open With dialog box, click Microsoft Office Document Imaging under Programs.
  7. Click to select the Always use the selected program to open this kind of file check box, and then click OK.

In Windows Vista

  1. In Windows Explorer, open the folder that contains the .tif file or the .mdi file that you want to open.

    Note To start Windows Explorer, right-click Start
    Collapse this imageExpand this image
    Start button
    , and then click Explore.
  2. Right-click the .tif file or the .mdi file, point to Open With, and then click Microsoft Office Document Imaging.

    Note If Microsoft Office Document Imaging does not appear in the list of programs, expand Other Programs.
  3. Click to select the Always use the selected program to open this kind of file check box, and then click OK.

Method 3: Use a Microsoft Visual Basic script to associate .tif and .mdi files with Microsoft Office Document Imaging

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

To do this, follow these steps:
  1. Start Notepad. To do this, follow the step that is appropriate for your system:
    • In Windows XP, click Start, type notepad, and then click OK.
    • In Windows Vista, click Start
      Collapse this imageExpand this image
       Start button
      , type notepad in the Start Search box, and then press ENTER.
  2. Copy and then paste the following sample Visual Basic script into Notepad.
    ' Name: MODI File Association Fix
    ' Author: Microsoft Customer Support Services
    ' Copyright (c) 2008, Microsoft Corporation
    ' Script to re-associate .TIF, .TIFF, and .MDI files back to MODI
    ' Writes associations to the HKCU hive to prevent future Office 2003 patch or repair actions from removing them
    
    Option Explicit
    Dim WshShell
    Dim bTIF, bTIFF, bMDI
    
    '=======================================================================================================
    'Section for script behavior customizations
    
    'Associate .TIF with MODI.
    ' Set this option to 'False' to prevent .TIF from being re-associated
    bTIF = True
    
    'Associate .TIFF with MODI.
    ' Set this option to 'False' to prevent .TIFF from being re-associated
    bTIFF = True
    
    'Associate .MDI with MODI.
    ' Set this option to 'False' to prevent .MDI from being re-associated
    bMDI = True
    
    'DO NOT CUSTOMIZE BELOW THIS LINE!
    '==================================================================================
    
    'Create instance of shell object
    Set WshShell = WScript.CreateObject("WScript.Shell") 
    
    Const sPrefix1 = "HKCU\SOFTWARE\Classes\"
    Const sPrefix2 = "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\"
    Const sGUID = "{58F2E3BB-72BD-46DF-B134-1B50628668FB}"
    
    if bTIF = True then
    	' Write registry values for .TIF association
    	WshShell.RegWrite sPrefix1 & ".tif\","TIFImage.Document","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tif\Content Type","image/tif","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tif\PerceivedType","image","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tif\OpenWithList\mspview.exe\","","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tif\OpenWithProgids\TIFImage.Document","","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tif\PersistentHandler\",sGUID,"REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".tif\Progid","MSPaper.Document","REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".tif\OpenWithList\a","MSPVIEW.EXE","REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".tif\OpenWithProgids\TIFImage.Document",0,"REG_DWORD"
    	WshShell.RegWrite sPrefix2 & ".tif\OpenWithProgids\MSPaper.Document",0,"REG_DWORD"
    	WshShell.RegWrite sPrefix2 & ".tif\OpenWithProgids\Imaging.Document",0,"REG_DWORD"
    	WshShell.RegWrite sPrefix2 & ".tif\UserChoice\Progid","MSPaper.Document","REG_SZ"
    end if
    
    if bTIFF = True then
    	' write registry values for .TIFF association
    	WshShell.RegWrite sPrefix1 & ".tiff\","TIFImage.Document","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tiff\Content Type","image/tiff","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tiff\PerceivedType","image","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tiff\OpenWithList\mspview.exe\","","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tiff\OpenWithProgids\TIFImage.Document","","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".tiff\PersistentHandler\",sGUID,"REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".tiff\Progid","MSPaper.Document","REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".tiff\OpenWithList\a","MSPVIEW.EXE","REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".tiff\OpenWithProgids\TIFImage.Document",0,"REG_DWORD"
    	WshShell.RegWrite sPrefix2 & ".tiff\OpenWithProgids\MSPaper.Document",0,"REG_DWORD"
    	WshShell.RegWrite sPrefix2 & ".tiff\OpenWithProgids\Imaging.Document",0,"REG_DWORD"
    	WshShell.RegWrite sPrefix2 & ".tiff\UserChoice\Progid","MSPaper.Document","REG_SZ"
    end if
    
    if bMDI = True then
    	' write registry values for .MDI association
    	WshShell.RegWrite sPrefix1 & ".mdi\","mdi_auto_file","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".mdi\Content Type","image/vnd.ms-modi","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".mdi\MSPaper.Document","","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".mdi\MSPaper.Document\ShellNew","","REG_SZ"
    	WshShell.RegWrite sPrefix1 & ".mdi\PersistentHandler\",sGUID,"REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".mdi\Progid","MSPaper.Document","REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".mdi\OpenWithList\a","MSPVIEW.EXE","REG_SZ"
    	WshShell.RegWrite sPrefix2 & ".mdi\OpenWithProgids\mdi_auto_file",0,"REG_DWORD"
    	WshShell.RegWrite sPrefix2 & ".mdi\UserChoice\Progid","MSPaper.Document","REG_SZ"
    end if
  3. On the File menu, click Save. Save the script as a text file that is named MODIAssoc.vbs, and then exit Notepad.
  4. Double-click the MODIAssoc.vbs file to run the Visual Basic script.

MORE INFORMATION

For more information about how to obtain the latest Office 2003 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
870924  (http://support.microsoft.com/kb/870924/ ) How to obtain the latest service pack for Office 2003

APPLIES TO
  • Microsoft Office 2003 Service Pack 3
  • Microsoft Office Basic Edition 2003
  • Microsoft Office Professional Edition 2003
  • Microsoft Office Standard Edition 2003
  • Microsoft Office PowerPoint 2003
  • Microsoft Office Publisher 2003
Keywords: 
kbupdateissue kbfileio kbopenfile kbsavefile kbtshoot kbpubtypekc kbexpertisebeginner kbprb KB938813

Article Translations