absmiddle REGEDIT May Not Be Able to Import Registry with Large Keys

[版主] 以下節自 Microsoft Knowledge REGEDIT May Not Be Able to Import Registry with Large Keys Article ID: Q132064 Creation Date: 27-JUN-1995 Revision Date: 01-DEC-1995 The information in this article applies to: Microsoft Windows 95 IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder. SYMPTOMS When you try to import the registry using Registry Editor (Regedit.exe) in real mode, you may receive either of the following error messages: Unable to open registry (14) - System.dat Error accessing the registry: The file may not be complete. CAUSE The real-mode stub of Regedit.exe has the ability to export, import, and create registry files. Regedit.exe uses the internal real-mode registry library to accomplish these tasks. The real-mode code in this library has certain problems with large registry files. For example, if there are many applications installed, HKEY_CLASSES_ROOT may be quite large. If one of the structures in the System.dat file takes up too much space in conventional memory, the registry cannot be accessed. RESOLUTION To work around this problem, use Registry Editor in protected mode. STATUS Microsoft has confirmed this to be a problem in Microsoft Windows 95. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.