TechNet
Export (0) Print
Expand All

Reg import

 

Updated: April 17, 2012

Applies To: Windows Server 2003, Windows Vista, Windows XP, Windows Server 2008, Windows 7, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2000, Windows Server 2012, Windows 8

Copies the contents of a file that contains exported registry subkeys, entries, and values into the registry of the local computer.

For examples of how to use this command, see Examples.

Reg import FileName

Parameter

Description

<FileName>

Specifies the name and path of the file that has content to be copied into the registry of the local computer. This file must be created in advance by using reg export.

/?

Displays help for reg import at the command prompt.

The following table lists the return values for the reg import operation.

Value

Description

0

Success

1

Failure

To import registry entries from the file named AppBkUp.reg, type:

reg import AppBkUp.reg
Show:
© 2016 Microsoft