You receive an "ERROR: The filename or extension is too long" error message if you use Reg.exe to save a registry key in Windows Server 2003

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
If you use Reg.exe with the save option to save a registry key, the command does not work, and you receive the following error message:
ERROR: The filename or extension is too long
However, if you run Reg.exe with the save option again, the command works correctly, and you receive the following message:
The operation completed successfully
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Properties

Article ID: 892408 - Last Review: 01/16/2015 16:34:23 - Revision: 1.3

  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • kbnosurvey kbarchive kbtshoot kbregistry kbwinserv2003sp1fix kbprb kbinfo KB892408
Feedback