This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Removes a section of the registry that was loaded using thereg load operation.
reg unload <keyname>
Parameter | Description |
---|---|
<keyname> | Specifies the full path of the subkey. To specify a remote computer, include the computer name (in the format\\<computername>\ ) as part of thekeyname. Omitting\\<computername>\ causes the operation to default to the local computer. Thekeyname must include a valid root key. Valid root keys for the local computer are:HKLM,HKCU,HKCR,HKU, andHKCC. If a remote computer is specified, valid root keys are:HKLM andHKU. If the registry key name contains a space, enclose the key name in quotes. |
/? | Displays help at the command prompt. |
The return values for thereg unload operation are:
Value | Description |
---|---|
0 | Success |
1 | Failure |
To unload the hive TempHive in the file HKLM, type:
reg unload HKLM\TempHive
Caution
Don't edit the registry directly unless you have no alternative. The registry editor bypasses standard safeguards, allowing settings that can degrade performance, damage your system, or even require you to reinstall Windows. You can safely alter most registry settings by using the programs in Control Panel or Microsoft Management Console (MMC). If you must edit the registry directly, back it up first.
Was this page helpful?
Was this page helpful?