Introduced a number of registry modification techniques, I believe that we have a very deep understanding of the function of the registry, but we do not necessarily understand why to change this, so the principle of change? What is the relationship between the registry and the Windows 98 system? In the next few installments, we'll take you through the details of the registry to get you inside the system.
First, let's look at the relationship between the registry and the Windows 98 file system.
The Registry registry for Windows 98 consists of the following six files:
A, system-configured registry files System.dat
In Windows 9x system directory C:\Windows, there is an implied, system, read-only file System.dat, which is part of the Windows 98 registry, which has the following effects:
1) describe a single PC configuration.
2 describes the messages installed on a single PC.
3 Install Plug and Play type of device hardware configuration, such as the device's I/O address, IRQ level and DMA channel, and so on. This file is stored in a local workstation or local PC system when the Windows 98 network is running. During the installation of Windows 98, Setup first checks the hardware devices that are already installed on your computer and then establishes the appropriate configuration entries in System.dat. If you upgrade Windows 98 from an existing Windows 3.x installation, Setup will copy some of the settings in the existing System.ini, Reg.dat files to System.dat to maintain your system settings.
We often use the "system" icon in the "Control Panel" to modify the system hardware devices and configuration, this time we are doing from the System.dat read the system property settings. This file works very similar to the System.ini file in Windows 3.x.
B, System-configured registry backup files System.da0
One of the most important features of the Windows 98 registry is that it is robust and not easily corrupted. This requires backing up the registry's backup file SYSTEM.DA0.
The backup file for the System configuration Registry System.dat is System.da0, and the file is automatically copied as System.dat when the System.dat file is accidentally damaged by the system at startup. This is important for unstable Windows 98 systems, at least providing an important stabilizing mechanism for the system.
C, user platform configuration registry file User.dat
The system directory C:\Windows in Windows 98 has an implied, system, read-only file User.dat, which is also an important part of the Windows 98 registry, which has the effect of:
1 It defines user preferences, such as user platform settings, run level, and so on.
2) specific to a user's application installation information, application information, and so on. If you are using a LAN, Us dat must be on a network server when you use the network in Windows 98. For stand-alone computers, the network properties are stored in the local system directory.
The first time you enter a username and password, the Windows 98 program stores this information in User.dat, and your Windows 98 serial number is also stored in USER.DAT. The Windows 98 system will create his own User.Dat for each user and save it as a c:\ if the user selects the user-customizable preferences and desktop settings Log on in Control Panel, and Windows automatically enables personal settings. Windows\Profiles\ User name \user.dat. Each time a user logs on, his or her own User.dat is transferred to the system and the corresponding program information is started. This file is similar to a Win.ini file in a Windows 3.x system.
D, user platform configuration registry backup file User.da0
The user platform configuration registry file User.dat also has a backup file user.da0. When the User.dat is accidentally destroyed, the system will copy the USER.DA0 to User.dat, so that User.dat is restored.
E, network management Registry file Config.pol
The Config.pol file is an implied, system, read-only file that is used primarily for the management of network users of Windows 98.
If you have installed the System Policy Editor in the Windows 98 system, users can use the restrictions in the Config.pol file to determine the operating rights of the system's users, such as executing the program, modifying the registry, and so on, which means The system restricts the operation of network users according to the settings in the Config.pol file, which is called "policy" in Windows 98 systems.
F, network management registry backup files Config.po0
Config.pol also has a backup file Config.po0, which is an implied, system, read-only file. It is stored in a network server. It is important to play a role in restoring Config.pol when it is damaged.
Looking at the file composition of the registry, let's look at the relationship between the Windows 98 system Registry registry and the INI file.
There are many similarities between Registry registry and the INI file in Windows 98. A key or subkey in the registry is similar to a section in the INI file, and a key value entry corresponds to a setting in the section in the INI file.
But it's easy to see the difference between them: First registry can include subkeys, and INI file does not support the nesting of subsections; second, the key value entry in registry can also contain executable code, while setting an item in the INI file is simply a string Third, there are multiple users on the same computer, registry can store the characteristics of each user, but the INI file is not possible.
If your computer system is upgraded from Windows 3.x to Windows 98, the installer selects some system settings information from the System.ini and Win.ini file files into the registry. However, in order to remain compatible with older 16-bit applications on previous versions of Windows, some of the settings in the INI file cannot be migrated to the Windows 98 registry.
1. Information about Win.ini in the registry
All subkeys for information about Win.ini are in the HKEY_CURRENT_USER root key of the registry. The [desktop] gridgranularity control Panel\Desktop can be seen under the HKEY_CURRENT_USER branch;
Tilewallpaper Control Panel\Desktop;
[Windows] ScreenSaveActive Control Panel\Desktop, ScreenSaveTimeOut control Panel\Desktop
[Sounds] Sound Event Name appevents\schemes\apps\. Default\sound Event name\.current
[Hearts] Information in the Win.ini file, such as Name software\microsoft\windows\currentversion\applets\hearts
2. Information about System.ini in the registry
The subkeys for information about System.ini are in the HKEY_LOCAL_MACHINE root key of the registry. Depending on the network configuration of the machine, some systems may not appear with some subkeys. We can see the relevant information by opening the HKEY_LOCAL_MACHINE Directory branch. Such as
[Network]
Comment System\currentcontrolset\services\vxd\vnetup
ComputerName System\currentcontrolset\control\computername\computername
Enablesharing
Lmannounce System\currentcontrolset\services\vxd\vnetup
LogonDomain
Logon validated
MaintainServerList System\currentcontrolset\control\computername\computername
Reconnect
Reshare
Username Network\logon
Workgroup System\currentcontrolset\control\computername\computername
[386ENH] Network
Transport Software\microsoft\windows\currentversion\network\real Mode Net
Here is a simple introduction to the relationship between the registry and the Windows 98 file system and INI file, which is helpful for us to get to know more about the Windows 98 system and solve related problems, and we'll give you more information about the registry and more about the modification techniques later.