Reg export Command in Windows Server 2008

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

Reg export command in Windows Server 2008

The reg export command is used to copies a subkey, entries and value of the local computer into a file for transfer to other servers.


Syntax of Reg export command

reg export <KeyName1> filename [/y]

Parameters in Reg export command

There are the following parameter in the reg export command:

Parameter Description
KeyName It specifies the full path of the subkey.
filename It  specifies the name and path of the file to be created during the operation.
/y It overwrites any existing file with the name filename without prompting for confirmation.

Example of Reg export command

REG EXPORT HKLM\Software\MyCo\DBI.EXE DBI.reg

Output:

reg-export-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

© 2019 DotNetHeaven. All rights reserved.