Article ID: 247497 - Last Review: November 15, 2006 - Revision: 1.1 "Failure Writing to the System Registry" Error Message When Running Setup Program Created Using Application Setup WizardThis article was previously published under Q247497 IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe.
SYMPTOMS
When you run a Setup program that is created using the Application Setup Wizard, you may receive the following error message:
Failure writing to the system registry. The registry may be corrupt, or
you may not have the required permissions to write to the registry.
CAUSE
This behavior can occur on computers running Windows 95 when the Setup program tries to add an entry to a registry key and the key size exceeds 64 KB as a result.
The size of a registry key is limited to 64 KB in Windows 95. If the behavior occurs on a computer running Windows 95, it usually happens when Setup tries to add entries to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs
RESOLUTIONWARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe). Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD). To determine if the SharedDLLs key is approaching the 64-KB limit, use the following steps to export the key to the desktop and look at the size of the exported file:
| Article Translations
|

Back to the top
