For example, to export all keys under the ASP.NET software section to a file called “test.txt”, run the following command:

REGEDIT /E test.txt HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\ASP.NET