Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How do I export a registry hive?

How do I export a registry hive?

Scheduled Pinned Locked Moved Visual Basic
questiontutorialcsharpwindows-admin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wobblervb
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • W wobblervb

      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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups