Your location:Tech News>OS>Windows 2000>Windows 2000 registry backup and recovery

Latest News

Windows 2000 registry backup and recovery

Author:fsadmin

Views:

 Windows 2000 stores its configuration information in a database called the registry which contains the configuration files of each computer user as well as related system hardware installed Windows 2000 must always quote this information during the running process of Windows 2000. The registry is stored on the hard disk in binary form. Editing the registry incorrectly may severely damage the system. Therefore before changing the registry it is strongly recommended to back up the registry information. In order to prevent fatal errors when modifying the registry it is necessary to understand how to backup and restore registry files. In addition in order to study the structure of the registry you can also save a certain primary key or subkey in the registry as a text file or print it out. This work also needs to understand the import and export methods of the registry file.

One. Full backup/restore registry

If you want to fully back up the registry you can click on the 'Registry' menu in the Regedit.exe of the registry editor 'Export registry file' command and select the export range as 'All' and save the registry file (*.reg) on ??the hard disk. To completely restore the registry just click the “Import Registry File” command under the “Registry” menu and then select the corresponding backup registry file on the hard disk. By the way the main reason why Regedit.exe (16-bit registry editor) is included in Windows 2000 is that its search function is relatively strong. Users can also use Regedit.exe to change the registry but its functions are not comprehensive enough (if not Set the permissions of the registry key) you may not be able to view or edit individual data types correctly. Therefore it is recommended to use Regedit.exe only for search and full backup of the registry. When you need to edit the registry use Regedt32.exe in the system32 directory (it is a 32-bit registry editor that provides some advanced functions. The multi-window format displays the predefined items which is more convenient to view).

  2. Partial backup of the registry

If you only need to save a root key or a primary key (subkey) and other general backups it can be done more conveniently in Regedt32. First select the primary key or subkey to be saved and then click the 'Save Item' command under the 'Registry' menu and enter the registry file to be saved in the pop-up 'Save Item' dialog box It is recommended to use \u0026ldquo;reg\u0026rdquo; for the file name and extension for easy searching in the future.

When saving some primary keys or subkeys because they are used by different users or the primary keys or subkeys are being used by the system a warning forbidden to access will appear: \u0026ldquo;Insufficient permissions to save Item\u0026rdquo;. At this time the system administrator can use the \u0026ldquo;permissions\u0026rdquo; command under the \u0026ldquo;security\u0026rdquo; menu to grant the users of these primary keys or subkeys the permission of \u0026ldquo;full control\u0026rdquo; In the software world 'Windows 2000 registry through train (on)' article) and then you can save the item.

Save the registry key or subkey as a \u0026ldquo;key\u0026rdquo; file it can’t be opened directly by a text editor so if you want to study the structure of the registry you can export the registry file as a text file The method of operation is to select the 'Save subdirectory tree as' command under the 'Registry Table' menu name it as a file with the extension TXT and then click the 'Save' button. In the future we can use Windows WordPad or Notepad to view this text file. If necessary you can also use the 'Print Subdirectory Tree' command under the same menu to print.

  3. Partial recovery/import registry

There are two methods for partial recovery/import registry. The first is to restore the \u0026ldquo;key\u0026rdquo; that is use the previous backup registration Table file or other registry file to overwrite the existing primary key. First in the Regedt32 registry editor move the cursor to the primary key to be restored and then select the 'Restore' command under the 'Registry' menu and select the restore item in the 'Restore item' window Click the 'Open' button and confirm to overwrite the existing primary key to restore the item to the currently selected item. Note: The file to be restored must match the content of the primary key selected in the registry editor that is the previously saved registry 'key' can only be restored to the original location.

Another method is to load the configuration unit. \u0026ldquo;Load Hive\u0026rdquo; and \u0026ldquo;Unload Hive\u0026rdquo;. These two commands are only valid in the two predefined item windows [HKEY_USERS] or [HKEY_LOCAL_MACHINE]. After the hive is loaded into the registry the hive becomes a subkey of one of the items. The specific method is to use the mouse to select one of the above two predefined items in the Regedt32 registry editor and then select the “Load Configuration Unit” command under the “Registry” menu and then load in the “Load In the configuration unit\u0026rdquo; dialog box select the registry file to be loaded click the\u0026ldquo;Open\u0026rdquo; button and the\u0026ldquo;load configuration unit\u0026rdquo; dialog box appears. In the dialog box\u0026ldquo;item name\u0026rdquo;input new The name of the primary key such as \u0026ldquo;.ChenNai\u0026rdquo; and then click the \u0026ldquo;OK\u0026rdquo; button so you will find a new primary key (. ChenNai) appears below 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 Hive' command under the 'Registry Table' menu.

  The difference between the above two methods is that the 'load configuration unit' introduced the primary key can be the content that did not exist in the registry.

Finally the location of the registry file in Windows 2000 like Windows 9X the registry of Windows 2000 is also divided into two parts but includes multiple files. The user configuration file is stored in the user name directory under the root directory 'Documents and Settings' including two hidden files: NTUSER.DAT NTUSER.INI and ntuser.dat.LOG log files. The system configuration files are located in the 'SYSTEM32\\CONFIG' under the Windows 2000 system directory including DEFAULT SOFTWARE SYSTEM AppEvent.Evt SecEvent.Evt SysEvent.Evt and other hidden files and their corresponding .LOG (log) Files and .SAV files. These registry files cannot be opened by other tools while Windows 2000 is running which is different from system.dat and user.dat under Windows 9X.

?How to retrieve the lost administrator password in Windows 2000

Recommend article

Relate article