Legal Information |
|
When you start Windows 95, you may receive one of the following error messages:
There is not enough memory to load the registry.-or-
Windows has encountered an error accessing the system registry. You should restore the registry now and restart the computer.Restoring the registry replaces the faulty registry with a known good backup copy. However, this backup copy may not contain all the information recently added to your system.
If you ignore this error and shut down your system, you may lose data.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
Perform the steps outlined in each method below (as appropriate) to restore a damaged registry.
Use Registry Editor in real mode to export, then import, the registry file. To do so, follow these steps:
regedit /l:path1 /e path2system.txt
where path1 is the path to the System.dat file and path2 is the path to the destination file. For example, if Windows 95 is installed in the Windows folder on drive C, type the following line:
regedit /l:c:\windows\system.dat /e c:\system.txt
cd\windows
attrib -s -h -r system.dat
ren system.dat system.old
regedit /l:path1 /c path2system.txt
where path1 is the path to the System.dat file and path2 is the path that contains the file to import. For example, if Windows 95 is installed in the Windows folder on drive C and you want to import the System.txt file from the root folder of drive C, type:
regedit /l:c:\windows\system.dat /c c:\system.txtNOTE: If you receive an "Unable to open registry" or "Error accessing the registry" error message when you attempt to import the System.dat portion of the registry, please see the following article in the Microsoft Knowledge Base for more information about the error message: 132064 Regedit May Not Be Able to Import Registry with Large Keys
If the error continues to occur, follow these steps:
regedit /r:path1 /e path2user.txt
where path1 is the path to the User.dat file and path1 is the path to the destination file. For example, if Windows 95 is installed in the Windows folder on drive C, type the following line:
regedit /r:c:\windows\user.dat /e c:\user.txt
cd\windows
attrib -s -h -r user.dat
ren user.dat user.old
regedit /r:path1 /c path2user.txt
where path1 is the path to the User.dat file and path1 is the path containing the file to import. For example, if Windows 95 is installed in the Windows folder on drive C and you want to import the User.txt file from the root folder of drive C, type:
regedit /r:c:\windows\user.dat /c c:\user.txtNOTE: If you receive an "Unable to open registry" or "Error accessing the registry" error message when you attempt to import the System.dat portion of the registry, please see the following article in the Microsoft Knowledge Base for more information about the error message: 132064 Regedit May Not Be Able to Import Registry with Large Keys
Restore the registry to its state when you last successfully started Windows 95. To do so, follow these steps:
cd \windows
where windows is the Windows 95 folder. For example, if Windows 95 is installed in the Windows folder, type the following line:
cd \windows
attrib -s -h -r system.dat
ren system.dat system.bad
Restore the registry to its state when you first started Windows 95 successfully. To do so, follow these steps:
cd \windows
where windows is the Windows 95 folder. For example, if Windows 95 is installed in the Windows folder, type the following line:
cd \windows
attrib -s -h -r system.dat
ren system.dat system.xxx
cd \
attrib -s -h -r system.1st
copy system.1st c:\windows\system.dat
where windows is your Windows 95 folder.
attrib +s +h +r system.1st
NOTE: You may find that your TrueType fonts are missing from the Fonts folder or in programs after you follow the above steps. For additional information about how to resolve this behaviour, click the article number below to view the article in the Microsoft Knowledge Base: 133732 Missing TrueType Fonts in Fonts Folder or Programs Reinstalling Windows 95
Re-create the registry files by reinstalling Windows 95. To do this, perform the following steps.
NOTE: If you cannot access the CD-ROM drive from the command prompt, consult the CD-ROM drive's documentation or manufacturer for assistance with loading the real-mode drivers for the CD-ROM drive.
ren c:\windows\profiles c:\windows\oldprofiles
cd \windows
attrib -s -h -r system.dat
ren system.dat system.xxx
attrib -s -h -r user.dat
ren user.dat user.xxx
attrib -s -h -r system.da0
ren system.da0 system.yyy
attrib -s -h -r user.da0
ren user.da0 user.yyy
cd \
attrib -s -h -r system.1st
ren system.1st system.zzz
The information in this article applies to:
Search Knowledge Base | Feedback |