Microsoft KB Archive/922849

= You receive an error message when you try to open a file type that was blocked by your registry policy settings in Word 2007 or in Word 2003 =

Article ID: 922849

Article Last Modified on 12/12/2007

-

APPLIES TO


 * Microsoft Office Word 2007
 * Microsoft Office Word 2003

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista



SYMPTOMS
In Microsoft Office Word 2007 or in Microsoft Office Word 2003, you try to open a file that was saved in a Microsoft Word format. When you do this, the file does not open. Additionally, you receive one of the following error messages:

You are attempting to open a file type that is blocked by your registry policy setting.

You are attempting to open a file that was created in an earlier version of Microsoft Office. This file type is blocked from opening in this version by your registry policy setting.



CAUSE
This issue may occur if one of the following conditions is true:
 * You try to open a file that was saved in one of the following earlier Word formats. Word 2007 no longer supports documents that were saved in the following Word formats:
 * Microsoft Word for Windows 1.x
 * Microsoft Word for Windows 2.x
 * Microsoft Word for the Macintosh 4.x
 * Microsoft Word for the Macintosh 5.x
 * An administrator has restricted the types of documents that you can open or save in Word 2007 or in Word 2003. An administrator can set a registry key to restrict this functionality.

For Word 2007, the registry key can be set in the 2007 Office System Administrative Templates. For more information, see the &quot;Word 2007&quot; subsection of the &quot;More Information&quot; section.

For Word 2003, security update 934181 enables the administrator to block the ability to save or to open files in Word 2003. For more information, see the &quot;Word 2003&quot; subsection of the &quot;More Information&quot; section.



RESOLUTION
To open filesthat are blocked by the registry, you can disable the restriction on opening presentations that were blocked by the registry settings of Word. To do this, use one of the following methods.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Method 1: Use a trusted location, or create an exempt location
To do this, follow these steps, as appropriate for the version of Word that you are running:  In Word 2007, if you trust the file that you want to open, you can open that file even if the file type is blocked by the registry. You can override the registry policy settings by moving the file to a trusted location.

For more information about how to create, to remove, or to change a trusted location for files, visit the following Microsoft Web site:

http://office.microsoft.com/en-us/help/HA100319991033.aspx

 In Word 2003, there are no trusted locations. You can create an exempt location to override the registry policy settings. To create an exempt location, follow these steps:  Exit Word 2003. Click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click one of the following registry subkeys:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Common

 Point to New on the Edit menu, and then click Key.</li> Type OICEExemptions for the name of the key.</li> Point to New on the Edit menu, and then click String Value.</li> Type a string name, and then press ENTER. For example, type ExemptDirectory .</li> Right-click the string name that you typed in step 7, and then click Modify.</li> In the Value data box, type the path of the directory that contains the file, and then click OK. For example, if your document is in the C:\My Documents folder, type C:\My Documents in the Value data box.

Note You must create the folder. Any subfolders are not automatically exempted. For any additional folders that you would like to make exempt, repeat steps 6 to 9 by creating string values such as &quot;ExemptDirectory1,&quot; and &quot;ExemptDirectory2.&quot;</li> On the File menu, click Exit to exit Registry Editor.</li></ol> </li></ul>

Method 2: Disable the restriction on opening documents of certain types
To disable this restriction, change the value of the FileOpenBlock subkey. To do this, follow these steps: <ol> Exit Word.</li> Click Start, click Run, type regedit in the Open box, and then click OK.</li> Locate and then click one of the following registry subkeys, as appropriate for your version of Word:

Word 2007

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Word\Security\FileOpenBlock

Word 2003

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Security\FileOpenBlock

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Word\Security\FileOpenBlock

</li> After you select the subkey that is specified in step 3, locate the DWORD value. You may check for the different DWORD values in the &quot;More Information&quot; section of this article based on the version of Word.

For example, if the opening of files that were saved in earlier file formats is restricted, locate the &quot;FilesBeforeVersion&quot; DWORD value in the registry for the FileOpenBlock subkey. When you change the value of &quot;FilesBeforeVersion&quot; from 1 to 0, you can open files that were saved in earlier file formats.</li> Right-click the DWORD value that you want, and then click Modify.</li> In the Value data box, type 0, and then click OK.</li> On the File menu, click Exit to exit Registry Editor.</li></ol>

Method 3: Contact the system administrator
Contact the system administrator to change the registry settings by changing the policies.

<div class="moreinformation_section">

Word 2007
To restrict the types of files that you can open or save in Word 2007, an administrator can use the 2007 Office System Administrative Templates to configure the registry on the client computer.

The following table contains the DWORD values that an administrator can add to the registry to restrict certain file types by using the FileOpenBlock subkey. Additionally, the table contains the corresponding file types that are restricted.

Notes <ul> To download the 2007 Office System Administrative Templates, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=92d8519a-e143-4aee-8f7a-e4bbaeba13e7&DisplayLang=en

</li> For more specific information about how to use settings to block the opening and saving of file formats in the 2007 Office programs, visit the following Microsoft Web site, and then see the &quot;Enforce settings by using Group Policy in the 2007 Office system&quot; topic:

http://technet2.microsoft.com/Office/en-us/library/873a5392-1b1a-47a1-a863-1f29ef116d0e1033.mspx

</li></ul>

Word 2003
An administrator can restrict the types of files that you can open or save in Word 2003. This ability was not provided in Microsoft Office 2003 when it was originally released. To restrict the types of files that can be opened or saved in Word 2003, install security update 934181. For more information about security update 934181, click the following article number to view the article in the Microsoft Knowledge Base:

934181 Description of the security update for Word 2003: May 8, 2007

To restrict the types of files that you can open or save in Word 2003, an administrator can use one of the following methods:
 * Use the updated Office 2003 Administrative Templates to configure the registry on the client computer.
 * Modify the registry by adding a registry key setting on the client computer.

To download the Office 2003 Service Pack 3 Administrative Template (ADM), OPAs, and Explain Text Update, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=BA8BC720-EDC2-479B-B115-5ABB70B3F490&displaylang=en

The following table contains the DWORD values that an administrator can add to the registry to restrict certain file types by using the FileOpenBlock subkey. Additionally, the table contains the corresponding file types that are restricted.

To enable the FileOpenBlock subkey settings, follow these steps: <ol> Exit Word 2003.</li> <li>Install update 934181 if it is not installed.</li> <li>Click Start, click Run, type regedit in the Open box, and then click OK.</li> <li>Locate and then click one of the following registry subkeys:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Security\FileOpenBlock

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Word\Security\FileOpenBlock

If the FileOpenBlock subkey does not exist, follow these steps to create it: <ol style="list-style-type: lower-alpha;"> <li>Click to select the Security subkey.</li> <li>On the Edit menu, point to New, and then click Key.</li> <li>Type FileOpenBlock, and then press ENTER.</li></ol> </li> <li>On the Edit menu, point to New, and then click DWORD Value.</li> <li>Type the DWORD vlaue that you want to restrict, and then press ENTER. For example, type BinaryFiles to restrict the opening of .doc and .dot file types.</li> <li>Right-click the DWORD value that you typed in step 6, and then click Modify.</li> <li>In the Value data box, type 1, and then click OK.</li> <li>On the File menu, click Exit to exit Registry Editor.</li></ol>

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

945800 Error message when you try to save a document in Word 2007 or in Word 2003: &quot;You are attempting to save a file that is blocked by your registry policy setting&quot;

Additional query words: word2007 word2k7 word12 wd2007 wd2k7 wd12 word2003 word2k3 word11 wd2003 wd2k3 wd11

Keywords: kbsavefile kbopenfile kberrmsg kbsetup kbtshoot kbexpertisebeginner kbprb KB922849

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.