1. c:\> regedit /E
where is the location of the output .reg file is the registry path to export from
example
d:\> regedit /e d:\scripts\test.reg ""HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Windows\CurrentVersion\Uninstall"