Microsoft KB Archive/945800

From BetaArchive Wiki
Knowledge Base


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

Article ID: 945800

Article Last Modified on 12/18/2007



APPLIES TO

  • Microsoft Office Word 2007
  • Microsoft Office Word 2003



SYMPTOMS

When you try to save a document in Microsoft Office Word 2007 or in Microsoft Office Word 2003, the document is not saved. Additionally, you receive the following error message:

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

CAUSE

This issue may occur if an administrator restricts the types of files that you can open or save in Word 2007 or in Word 2003. An administrator can set a registry key to restrict this functionality.

Notes

  • For Word 2007, the registry key can be set by using the 2007 Office System Administrative Templates. For more information, see the "Word 2007" section.
  • For Word 2003, security update 934181 enables the administrator to block a user's ability to save or to open files in Word 2003. For more information, see the "Word 2003" section.


RESOLUTION

To resolve this issue, follow one of these steps:

  • Save the document in a different file format.
  • Contact the system administrator to change the registry settings.


MORE INFORMATION

Word 2007

To restrict the types of files that can be opened or that can be saved in Word 2007, an administrator can use the 2007 Office System Administrative Templates. The administrator can use these 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 the types of files that can be opened or that can be saved. The administrator can do this by using the FileSaveBlock subkey. Additionally, the table contains the corresponding file types that are restricted.

DWORD value File types that are restricted
OpenXmlFiles .docx, .dotx, .docm, .dotm, .xml (Word Flat Open XML)
BinaryFiles .doc, .dot
HtmlFiles .htm, .html, .mht, .mhtml
XmlFiles .xml (Word 2003)
RtfFiles .rtf, .doc (Word 95), .doc (Word 97 original release version)
Converters All file formats that are available by using a text converter
TextFiles .txt


Notes

Word 2003

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore 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



An administrator can restrict the types of files that can be opened or that can be saved in Word 2003. This functionality was not available in Microsoft Office 2003 when it was originally released. To restrict the types of files that can be opened or that can be 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 can be opened or that can be saved 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 the Explain Text Update, visit the following Microsoft Web site:

The following table contains the DWORD values that an administrator can add to the registry to restrict the types of files that can be opened or that can be saved. The administrator can do this by using the FileSaveBlock subkey. Additionally, the table contains the corresponding file types that are restricted.

DWORD value File types that are restricted
BinaryFiles .doc, .dot
HtmlFiles .htm, .html, .mht, .mhtml
XmlFiles .xml (Word 2003)
RtfFiles .rtf, .doc (Word 95), .doc (Word 97 original release version)
Converters All file formats that are available by using a text converter (including the Office Compatibility Pack)
TextFiles .txt


To enable the FileSaveBlock subkey settings, follow these steps:

  1. Exit Word 2003.
  2. Install security update 934181 if it is not installed.
  3. Click Start, click Run, type regedit in the Open box, and then click OK.
  4. Locate and then click one of the following registry subkeys:

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

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

    Note If the FileSaveBlock subkey does not exist, create it. To do this, follow these steps:

    1. Click the Security subkey.
    2. On the Edit menu, point to New, and then click Key.
    3. Type FileSaveBlock, and then press ENTER.
  5. On the Edit menu, point to New, and then click DWORD Value.
  6. Type the DWORD value that you want to restrict, and then press ENTER. For example, type BinaryFiles to restrict a user's ability to save .doc files and .dot files.
  7. Right-click the DWORD value that you typed in step 6, and then click Modify.
  8. In the Value data box, type 1, and then click OK.
  9. On the File menu, click Exit.


REFERENCES

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

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


938810 Information about certain file formats that are blocked after you install Office 2003 Service Pack 3



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

Keywords: kbsavefile kbopenfile kberrmsg kbsetup kbtshoot kbexpertisebeginner kbprb KB945800