

reg file in the notepad, do follwing steps: Now we can open this file in any text editor, for example in Notepad. You should see selected branch HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion under this option. Keep "Save as type: Registration files (*.reg)" option and check that "Export range: Selected branch" is selected. Export Registry File dialog will appear, choose exported file name and location as needed.Right click on the CurrentVersion key in the left pane and select Export in the context menu that will appear.

To export the value, we need to export whole key.On the right pane you will see registry values for the selected key and you should see the DigitalProductId value as REG_BINARY.

