If you ignore this error and shut down your system, you may lose data.
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.
NOTE: If you click the Restore From Backup And Restart button, you receive the error message again as Windows 95 restarts.
These error messages may occur if the registry is damaged.
Use Registry Editor in real mode to export, then import, the registry file. To do so, follow these steps:
regedit /l:<path1> /e <path2>system.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 <path2>system.txt
where <path1> is the path to the System.dat file and <path2> 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 System.txt file from the root folder of drive C, type:
regedit /l:c:\windows\system.dat /c c:\system.txt
NOTE: If an "Unable to open registry" or "Error accessing the registry" error message is displayed 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:
TITLE : Regedit May Not Be Able to Import Registry with Large Keys
If the error continues to occur, follow these steps:
regedit /r:<path1> /e <path2>user.txt
where <path1> is the path to the User.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 /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 <path2>user.txt
where <path1> is the path to the User.dat file and <path2> 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.txt
NOTE: If an "Unable to open registry" or "Error accessing the registry" error message is displayed when you attempt to import the User.dat portion of the registry, please see the following article in the Microsoft Knowledge Base:
TITLE : Regedit May Not Be Able to Import Registry with Large Keys
If the error continues to occur after you follow the steps in this section, please see the next section.
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
If the error continues to occur after you follow the steps in this section, please see the next section.
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