Command to export Windows Registry Hive & Keys

By | August 26, 2014

In Windows 2003, 2008 and 2012 Server operating systems, some time it requires to export the entire registry or particular hive keys. Here goes the syntax how to export the registry key entries information using a command called ‘reg export’ from the Command line.

For Windows 2003 Servers:

Go to Command Prompt and run the below command

c:\Reg Export “HKLM\Software\Microsoft\Microsoft SQL Server” %computername%.reg

For Windows 2008, Windows 7, Windows 2012 Servers:

Go to Command Prompt with ‘Run as Administrator’


c:\Reg Export “HKLM\Software\Microsoft\Microsoft SQL Server” %computername%.reg

Note: The quotes which is used in the above syntax because, ‘Microsft SQL Server’ has gaps between each word, hence the quotes should be used, otherwise it will throw as ‘Syntax error’ and the command wouldn’t be successful.

Take a look another example without quotes

c:\Reg Export HKLM\Software\Microsoft\SchedulingAgent %computername%.reg


c:\Reg Export “HKLM\Software\Microsoft\Reliability Analysis” %computername%.reg

Other options to export the Windows OS registry key

  • Go to Start, Run, there type regedit

Registry Editor console will get open, there can find the options for the export full registry or required hive can be selected.

  • In the Menu, File, Export

When to export the Registry information and keep it safe

Say example, when we plan any environmental change like installing a new software or tool on the server it is always safe to follow this step. After exporting the registry hive information, better have a copy into another server.

Why it is required to export the Registry information?

As said in the above, when ever we plan any kind of installation or un-installation of any software or tool, the procedure hits the registry and try to install / un-install related to that product. Which some times we might face difficulty to manage the server like server hanging during un-installation or installation of any software. If we backup / export the registry, when we face such situation, can import the registry from backups.

Hence it is always suggestible step for any Windows System Administrator to know about command to export Windows Registry Hive & Keys. It also increases energy levels which makes it perfect when you're on a diet and need that little edge. acquisition de viagra Psychology says that, "Anything which produces pleasure order levitra in your life. The offer include the subsequent enlargement implies: a extender device, member exercises out of, a pair order cialis of bottles with ProSolution Pills, then one bottle regarding Volume Products. You generic tadalafil will discover it everywhere- in kind of tablets or pills.

Leave a Reply

Your email address will not be published. Required fields are marked *