The command reg import and reg load in Windows
Reg import command
The reg import command helps to copy the contents of the file containing the subkey, entry and register value to the local computer's registry.To learn more about how to use this command, see the example section below.
Syntax reg import command
Reg import FileName
Parameter reg import command
Parameters
Describe
Specify the name and path of the file whose content will be copied to the local computer's registry.This file must be created before using the reg export command.
/?
Show help at thecommand prompt.
Generate reg import command
The following table lists the return values for the reg import command:
Value
Meaning
0
Success
first
Failure
For example, the reg import command
To enter registry entries from a file called AppBkUp.reg, type:
reg import AppBkUp.reg
Reg load command
The reg load command helps to write subkeys and entries to another subkey in the registry.Intended to be used as temporary files to troubleshoot or edit registry entries.To learn more about how to use this command, see the example section below.
Syntax reg load command
reg load KeyName FileName
Reg load command parameter
Parameters
Describe
Specify the full path of the subkey to be downloaded.To specify a remote computer, attach the computer name (in the format) as part of the KeyName parameter.In addition, parameter KeyName1 must also include a valid root key.Valid root keys for local computers are: HKLM, HKCU, HKCR, HKU and HKCC.If the remote computer is specified, valid root keys will be HKLM and HKU.
Specify the name and path of the file to download.This file must be pre-created using the reg save command and the extension is .hiv.
/?
Show help at thecommand prompt.
Reg load statement
The following table lists the return values for the reg load command:
Value
Meaning
0
Success
first
Failure
Reg load command example
To download the file named TempHive.hiv into the HKLM TempHive key, enter:
REG LOAD HKLMTempHive TempHive.hiv
See more:
- The qprocess command in Windows
- Qappsrv (query termserver) command in Windows
- The quser (query user) command in Windows
- The pubprn command and the pushprinterconnections command in Windows
You should read it
May be interested
- How to import Excel data into Python scripts with Pandasinstead of manually copying data into a database, here is a quick guide on how to load excel data into python using pandas.
- Set command in Windowsthe set command helps show, set or remove cmd.exe environment variables.
- How to import Hyper-V virtual machines in Windows 10you can use hyper-v export and import functions to quickly copy virtual machines. virtual machines can then be used to back up data, or it could be a way to move a virtual machine between hyper-v servers.
- Del command in Windowsthe del command deletes one or more files. this command is the same as the eraser command.
- 10 useful commands in Windows you should knowcommand prompt is used to execute batch files, perform tasks quickly, help you troubleshoot and solve some windows problems when the system crashes. however, not all commands in windows are useful and must be done regularly. with the 10 command lines in the following article it is very useful even if you are not an administrator.
- How to Import Models Into Blender on PC or Macthis wikihow teaches you how to import and add 3d models and objects from saved files to a blender project, using a computer. you can import a variety of file formats to a blender project, or import a single object from a blend file. open...
- The bootcfg rmsw command in Windowsthe bootcfg rmsw command removes the operating system load options for a specified operating system entry.
- How to load Au Mix, load Au Diamond mixhere's how to top up the au mix game, including how to top up the diamonds and top up the au mix packages.
- How to use the option equivalent to the 'ls' command in Windowsthe 'ls' command (note ls, not is) is one of the first terminal commands veterans teach to linux beginners.
- The command reg add in Windowsthe reg add command adds new subkeys or entries to the registry.