Partager via


Load a hive into the registry

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To load a hive into the registry

  1. Open Registry Editor.

  2. In the registry tree (on the left), click either the HKEY_USERS or HKEY_LOCAL_MACHINE keys.

  3. On the File menu, click Load Hive.

  4. In Look in, click the drive, folder, or network computer and folder that contains the hive you want to load.

  5. Click Open.

  6. In Key Name, type the name that you want to assign to the hive, and then click OK.

Caution

  • Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on your computer.

Notes

  • To open Registry Editor, click Start, click Run, type regedit, and then click OK.

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure.

  • Load Hive and Unload Hive affect only the HKEY_USERS and HKEY_LOCAL_MACHINE keys and are active only when these predefined keys are selected. When you load a hive into the registry, the hive becomes a subkey of one of these keys.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Unload a hive from the registry
Import a registry key from a hive file
Export a registry key to a hive file