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. how to access/read registry of a remote system

how to access/read registry of a remote system

Scheduled Pinned Locked Moved C#
windows-admintutorial
5 Posts 4 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.
  • D Offline
    D Offline
    devesh_code
    wrote on last edited by
    #1

    Hello I am trying to access/read registry of a remote system. I am using RemoteRegistry but is giving Exception : Attempted to perform an unauthorized operation. So i want change the permission to read registry programmatically. Thanks

    Devesh Mishra

    C 1 Reply Last reply
    0
    • D devesh_code

      Hello I am trying to access/read registry of a remote system. I am using RemoteRegistry but is giving Exception : Attempted to perform an unauthorized operation. So i want change the permission to read registry programmatically. Thanks

      Devesh Mishra

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The point of permissions is that they stop you doing things you're not allowed to. Now, if you could change them remotely, what would the point be ?

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      D 1 Reply Last reply
      0
      • C Christian Graus

        The point of permissions is that they stop you doing things you're not allowed to. Now, if you could change them remotely, what would the point be ?

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        D Offline
        D Offline
        devesh_code
        wrote on last edited by
        #3

        Thanks for your reply.. But tell me how can i change the permission through program and i dont want to change the permission remotely. I want to change the permission by running that application on remote system. is it possible ??? Thanks

        Devesh Mishra

        S D 2 Replies Last reply
        0
        • D devesh_code

          Thanks for your reply.. But tell me how can i change the permission through program and i dont want to change the permission remotely. I want to change the permission by running that application on remote system. is it possible ??? Thanks

          Devesh Mishra

          S Offline
          S Offline
          ScottM1
          wrote on last edited by
          #4

          It is possible, I've seen it before, google it.

          There are 10 types of people in the world, those who understand binary and those who dont.

          1 Reply Last reply
          0
          • D devesh_code

            Thanks for your reply.. But tell me how can i change the permission through program and i dont want to change the permission remotely. I want to change the permission by running that application on remote system. is it possible ??? Thanks

            Devesh Mishra

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

            That error is saying the account your code is running under doesn't have the permissions to read the registry on the remote machine. You simply cannot get around this. You have to use an account that the remote machine can authenticate, such as a Domain Admin account in a domain or AD environment. In a workgroup environment, the account your code runs under must exist on all the machines you want to connect to AND all those accounts must have the same password.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            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