text stringlengths 0 4.23k |
|---|
Before editing any registry entries, you must save the parent subkey using the reg save command. If the edit fails, you can then restore the original subkey using the reg restore operation. |
The return values for the reg save operation are: |
Value |
Description |
0 |
Success |
1 |
Failure |
Examples |
To save the hive MyApp into the current folder as a file named AppBkUp.hiv, type: |
reg save HKLM\Software\MyCo\MyApp AppBkUp.hiv |
reg unload |
Removes a section of the registry that was loaded using the reg load operation. |
Syntax |
reg unload <keyname> |
Parameters |
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 the keyname. Omitting \\<computername>\ causes the operation to default to the local computer. The keyname must include a valid root key. Valid root keys for the local computer are... |
/? |
Displays help at the command prompt. |
<keyname> |
\\<computername>\ |
\\<computername>\ |
Remarks |
The return values for the reg unload operation are: |
Value |
Description |
0 |
Success |
1 |
Failure |
Examples |
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... |
reg commands |
Performs operations on registry subkey information and values in registry entries. |
Some operations enable you to view or configure registry entries on local or remote computers, while others allow you to configure only local computers. Using reg to configure the registry of remote computers limits the parameters that you can use in some operations. Check the syntax and parameters for each operation t... |
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... |
Syntax |
reg add |
reg compare |
reg copy |
reg delete |
reg export |
reg import |
reg load |
reg query |
reg restore |
reg save |
reg unload |
Parameters |
Parameter |
Description |
reg add |
Adds a new subkey or entry to the registry. |
reg compare |
Compares specified registry subkeys or entries. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.