Windows 2000 registry backup and recovery

zhaozj2021-02-16  47

Windows 2000 registry backup and recovery

Windows 2000 stores its configuration information in a database named a registry, which contains configuration files for each computer user, and information about system hardware, installed programs and property settings, and Windows 2000 wants during operation. I have been here to reference this. The registry is stored on the hard disk in binary, and the error editing the registry may seriously damage the system. Therefore, before changing the registry, it is highly recommended to back up the registry information. In order to prevent fatal errors when modifying the registry, it is necessary to understand the backup and recovery methods of the registry file. In addition, in order to study the structure of the registry, you can also save a primary key or subkey in the registry as a text file, or printed, and this work also needs to understand the import and export method of the registry file.

First, full backup / recovery registry If you want to complete your backup registry, you can click the "Export Registry File" command under the Registry Menu in the Registry Editor, and select the export range as "all" , Save the registry file (* .reg) on ​​the hard disk. To completely restore the method of the registry, just click the Import Registry File command under the Registry menu, then select the appropriate backup registry file on the hard disk. By the way, regedit.exe (16-bit registry editor) is included in Windows 2000 main reason is that its search is relatively strong, and users can also use regedit.exe to change the registry, but their function is not comprehensive enough (if you can't Set the permission for the registry key may not be able to view or edit individual data types correctly. Therefore, it is recommended that only regedit.exe is used for full backup of search and registry. When you need to edit the registry, use the regedt32.exe under the System32 directory (it is a 32-bit registry editor, providing some advanced features, adopting Multi-window format displays each predefined item to view it easier).

Second, some backup registry If you only need to save a normal backup such as a root key or a primary key (subkey), it can be easily completed in RegedT32. First select the primary or subkey you want to save, then click the "Save" command under the Registry menu, enter the file name, extension of the registry file you want to save in the "Save" dialog box that pops up. Using "REG" for future findings.

When some primary key or sub-keys are saved, a warning that is prohibited by the user is used by the user, or the primary key or subkey is being used by the system: "Insufficient permissions, no saving items". At this time, the system administrator can use the "Permissions" command under the Security menu to give "full control" permission to these primary keys or sub-keys (see "Details" Software World "Windows 2000" WINDOWS 2000 " Register the Top Chat (on) "One article), then save the item.

Save the registry primary key or subkey as the "Item", you cannot use the text editor to open the view, so if you want to study the structure of the registry, you can export the registry file to text files, how to choose "Registry "Save the subdirectory tree as" command under the menu, then name it to the file named TXT, click the "Save" button. We can use Windows's writingpad or Notepad to view this text file. If necessary, you can print it with the "Print Sub Directory Tree" command under the same menu.

Third, some recovery / import registry partial recovery / import registry has two methods, the first is to restore the "item", which is to overwrite the existing primary key using a registry file or other registry file with previously backed up. First, in the RegedT32 Registry Editor, the cursor is moved to the primary key to restore, and then select the "Restore" command under the Registry menu, and select the registry file you want to restore in the "Return" window. When you click the "Open", you can restore this item to the currently selected item after confirming that the existing primary key is overwritten. Note: The file selected to be restored must match the primary key content selected in the Registry Editor, that is, the originally saved registry "item" can only restore the original position. Another method is to load the configuration unit. "Load Configuration Unit" and "Uninstall Configuration Unit". These two commands are only valid in [HKEY_USERS] or [HKEY_LOCAL_MACHINE], and after loading the configuration unit into the registry, the configuration unit becomes one of the items of one item. The specific approach is to use the mouse to select a primary key in the two predefined items described above, then select the "Load Configuration Unit" command under the Registry menu, then in the Load Configuration Unit dialog box. Select the registry file to load, click the "Open" and then "Load Configuration Unit" dialog box, enter the name of the new primary key in the "Item Name" text box of the dialog, such as ".chennai", then Hit the "OK" button so that you find a new primary key (.chennai) in the current primary key. If you want to uninstall the configuration unit, it is also very simple. After selecting the primary key, select the "Uninstall Configuration Unit" command under the Registry menu.

The difference between the two methods is that the primary key introduced by the "loading configuration unit" can be the original content in the registry.

Finally, the location of the registry file in Windows 2000, like Windows 9x, the WINDOWS 2000 registry also is divided into two parts, but includes multiple files, where the user profile is saved under the root directory "Documents and Settings" In the directory of the username, two hidden files: NTUSER.DAT, NTUSER.INI and NTUSER.DAT.LOG log files. System profiles are located in "System32 / Config" in the Windows 2000 system directory, including multiple hidden files such as Default, Software, System, Appevent.evt, SoftWare, Sysevent.evt, and its corresponding .log (log) file And the .sav file. These registry files cannot be opened using other tools when Windows 2000 is running, which is different from system.dat and user.dat under Windows 9X.

转载请注明原文地址:https://www.9cbs.com/read-24187.html

New Post(0)