How do I export a registry hive?
-
I am using VB.net I am looking for a way to export a registry key like HKLM\System\CCS\Control\Services (the whole key and all subkeys). I would like to use the same methods that Regedit uses. BTW: I am connecting to a remote machine's registry. Question #2. How do I determin the data type of a registry key. I understand how to read the value name and value but not the data type. Example. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update Value: AUState Data Type: Reg_Dword <----This is what I am looking to discover. Data: 2 Louis
-
I am using VB.net I am looking for a way to export a registry key like HKLM\System\CCS\Control\Services (the whole key and all subkeys). I would like to use the same methods that Regedit uses. BTW: I am connecting to a remote machine's registry. Question #2. How do I determin the data type of a registry key. I understand how to read the value name and value but not the data type. Example. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update Value: AUState Data Type: Reg_Dword <----This is what I am looking to discover. Data: 2 Louis
wobblervb wrote: I am using VB.net I am looking for a way to export a registry key like HKLM\System\CCS\Control\Services (the whole key and all subkeys). I would like to use the same methods that Regedit uses. It looks like RegEdit has its own enumerator built in. There is no function in the .NET framework that does the exact samething, so it looks like your going to have to write your own exporter. wobblervb wrote: How do I determin the data type of a registry key. I understand how to read the value name and value but not the data type. The .NET framework doesn't offer a function to do what your want. Your probably going to have to write a C++ component to return that info. RageInTheMachine9532