How to Troubleshoot Registry ErrorsID: Q131431
|
When you start Windows 95, you may receive one of the following error messages:
These error messages may occur if the registry is damaged.
WARNING: Using Registry Editor incorrectly can cause serious problems
that may require you to reinstall Windows 95. Microsoft cannot guarantee
that problems resulting from the incorrect use of Registry Editor can be
solved. Use Registry Editor at your own risk.
NOTE: For information about how to edit the registry, view the Changing
Keys And Values online Help topic in Registry Editor (Regedit.exe). Note
that you should make a backup copy of the registry files (System.dat and
User.dat) before you edit the registry.
Perform the steps outlined in each method below (as needed) to restore a
damaged registry.
regedit /l:<path1> /e <path2>system.txtwhere <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.txtwhere <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.txtNOTE: 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:
Q132064 Regedit May Not Be Able to Import Registry with Large Keys
regedit /r:<path1> /e <path2>user.txtwhere <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.txtwhere <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.txtNOTE: 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:
Q132064 Regedit May Not Be Able to Import Registry with Large Keys
Q131352 Using Registry Editor in Real ModeIf the error continues to occur after you follow the steps in this section, please see the next section.
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
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.datwhere <windows> is your Windows 95 folder.
attrib +s +h +r system.1st
Q133732 Missing TrueType Fonts in Fonts Folder or Programs
deltree c:\windows\profiles
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
Additional query words: corrupt tshoot repair troublseshooting
Keywords : kbenv kberrmsg kbtshoot win95
Version : WINDOWS:95
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: July 29, 1999