Requested registry access is not allowed. ??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dj12345
    New Member
    • Jan 2008
    • 14

    Requested registry access is not allowed. ??

    Hi

    I am trying to open the Registry of Network pc, but it is giving me error as " Requested registry access is not allowed"

    my code is

    Code:
    environmentKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, remoteName).OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall");

    Kindly Help. how to get access .
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Basically its a permissions problem which you will need to log on as admin to remedy. This after you read the warning about modifying registry keys:

    Comment

    Working...