Microsoft small business knowledge base

Article ID: 164418 - Last Review: January 11, 2015 - Revision: 1.2

This article was previously published under Q164418
This article has been archived. It is offered "as is" and will no longer be updated.


When you are trying to save a policy file using Policy Editor, the following error message may occur:
An error occurred writing the registry. The file cannot be saved.


The folder has a long file name or the file is not being saved with the .pol extension.


In the File Name box, type the path and file name using the MS-DOS (8.3) naming format. For example, type

instead of:
   C:\My Documents\Config.pol

To determine the MS-DOS-format name for a folder, use the DIR command at a command prompt to view the folder's name. Or, use the right mouse button to click the folder in Windows Explorer, and then click Properties on the menu that appears. The MS-DOS-format name is listed on the General tab.


Microsoft has confirmed this to be a problem in Microsoft Windows 95 and Microsoft Windows 98. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Note that a similar error can occur if you try to open a file from a folder with a long file name.

  • Microsoft Windows 95
  • Microsoft Windows 98 Standard Edition
kbnosurvey kbarchive kberrmsg kbprb kbui KB164418
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support