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. C#
  4. reading remote machine registry

reading remote machine registry

Scheduled Pinned Locked Moved C#
csharpwindows-admin
3 Posts 3 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
    Waqar AMIN
    wrote on last edited by
    #1

    Hi, Is there any way i can read remote machine registry in c#. I will appreciate if some one give me code to read remote machine registry. Regards, Waqar.

    M 1 Reply Last reply
    0
    • W Waqar AMIN

      Hi, Is there any way i can read remote machine registry in c#. I will appreciate if some one give me code to read remote machine registry. Regards, Waqar.

      M Offline
      M Offline
      miahrugger
      wrote on last edited by
      #2

      You can read from a remote registry using the following static method: Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(...) However, according to the MSDN documentation, the following must be ensured: In order for a key to be opened remotely, both machines (the service, and client) must be running the remote registry service, and have remote administration enabled. Cheers, Miahrugger

      D 1 Reply Last reply
      0
      • M miahrugger

        You can read from a remote registry using the following static method: Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(...) However, according to the MSDN documentation, the following must be ensured: In order for a key to be opened remotely, both machines (the service, and client) must be running the remote registry service, and have remote administration enabled. Cheers, Miahrugger

        D Offline
        D Offline
        Daniel M Edwards
        wrote on last edited by
        #3

        You also only have access to the HKEY_LOCAL_MACHINE and HKEY_USERS keys

        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