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. remote registry access problem

remote registry access problem

Scheduled Pinned Locked Moved C#
helpwindows-adminquestion
3 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.
  • R Offline
    R Offline
    RanjithLogics
    wrote on last edited by
    #1

    Hii all, I am doing an application which lists the installed softwares in local system as well as remote systems. I can get the installed softwres by reading the registry key value "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall". But when I tried to read the registry of remote systems using the method "OpenRemoteBaseKey" I am getting an access restriction exception. How can I solve this or is there any alternative method to do this.. Plz help Thanks in advance

    Ranjith Stephen

    A 1 Reply Last reply
    0
    • R RanjithLogics

      Hii all, I am doing an application which lists the installed softwares in local system as well as remote systems. I can get the installed softwres by reading the registry key value "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall". But when I tried to read the registry of remote systems using the method "OpenRemoteBaseKey" I am getting an access restriction exception. How can I solve this or is there any alternative method to do this.. Plz help Thanks in advance

      Ranjith Stephen

      A Offline
      A Offline
      abhinish
      wrote on last edited by
      #2

      hi Ranjith! u should have administrator rights for accessing remote registry service on a remote machine .. by d way why dont u use WMI for getting all d installed applications on local or remote machine.. try using 'Win32_Product' class for getting the list of installed application.. but for this also u should have Administrator Previleges .. on remote machines..

      abhinav

      R 1 Reply Last reply
      0
      • A abhinish

        hi Ranjith! u should have administrator rights for accessing remote registry service on a remote machine .. by d way why dont u use WMI for getting all d installed applications on local or remote machine.. try using 'Win32_Product' class for getting the list of installed application.. but for this also u should have Administrator Previleges .. on remote machines..

        abhinav

        R Offline
        R Offline
        RanjithLogics
        wrote on last edited by
        #3

        Hii Abhinav Thank you very much for your reply. Actually I am not familiar with WMI. Anyway I will find it out. We can add registry permission using regsvr32.exe. thanks

        Ranjith Stephen

        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