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.
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.
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 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
Start Windows Explorer. To do this, right-click Start, and then click Explore.
On the Tools menu, click Folder Options.
Click the File Types tab.
In the Extensions column under Registered file types, select TIF.
Click Change.
In the Open With dialog box, click Microsoft Office Document Imaging under Programs.
Click to select the Always use the selected program to open this kind of file check box, and then click OK.
In Windows Vista
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
, and then click Explore.
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.
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:
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
, type notepad in the Start Search box, and then press ENTER.
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
On the File menu, click Save. Save the script as a text file that is named MODIAssoc.vbs, and then exit Notepad.
Double-click the MODIAssoc.vbs file to run the Visual Basic script.
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