The general phenomenon of registry failure is that when you load Win 95, the following message will be given on the screen:
Registry File was not services may be inoperative for this session. (The registry file is not found, the registration of this task is invalid). And give two options for restarting for automatic recovery and ignoring. If automatic recovery is selected, the system will automatically restore the status value of the last successful startup of the system after restarting. However, if this happens twice in a row, the backup file is usually damaged, and the following work is required.
There are three possible reasons for registry failure: The file in the Win 95 directory does not exist, crashes, or the [Paths] part of the file is lost.
If it is the first or second reason, you can restore it by the following methods:
1. Enter the Win 95 directory to see if the file exists:
attrib/
attrib
2. If, if, save two files, 4 steps; otherwise, jump to step 5.
3. Remove read-only, system, and hidden properties of files in MS-DOS state:
attrib -r -h -s
attrib -r -h -s
4. Change the name of the two files to:
rename
rename
5. Restart the machine and the system will automatically modify: when booting, if Windows 95 cannot find the registry file, it uses the backup SYSTEM.DA0 and USER.DA0 as the registry files; if these two files run normally, the system will change them to and respectively.
If it is the third reason, the following work should be done:
Add the [Paths] section to the MSDOS. SYS file, or modify the [Paths] section. The content about MSDOS. SYS has been described in many articles, so I will not go into details here. Here we will only introduce the [Paths] section related to system boot:
This part includes three items:
HostWinBootDrv=<root directory of boot disk>
The default value is C, which is used to indicate the root directory of the boot disk.
WinBootDir=<location of files required for startup>
The default value is the directory specified during installation (such as C:\WINDOWS), which is used to list the location of the files required for startup.
WinDir=
The default value is the directory specified during installation (such as C: \WINDOWS), which is used to list the location of the Win 95 directory specified during installation.
If it is the third cause of the failure, you can refer to the above content and use any editor to edit the hidden files under the root directory of the boot disk (usually C:\), which can generally solve the problem.
If the above method cannot eliminate the fault yet, there is another last trick: regenerate the registry file by running Win 95's SETUP.EXE program from the original disk, because all the registry-related things may have problems.