What is reg save Command in Windows Server 2008

In this article I am going to explain about reg save command in windows server 2008 operating system.
  • 1412

Reg save command in Windows Server 2008

The operating system Reg save command is used to saves a copy of specified entries and value of the registry in a given file.

Syntax of Reg Save command

reg save <keyname> <FileName> [/y]
 
Parameters in Reg save command

It contains following parameter, which is given below:
 
Parameter Description
keyname It specifies the full path of the subkeys.
filename It specifies the name and path of the file that is created.
/y This parameter used to overwrites an existing file filename without prompting for confirmation.

Example of Reg save command

REG SAVE HKLM\Software\MyCo\abc.exe abc.hiv

Output:

reg-save-in-windows-server-2008.jpg

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.