Registry value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Could any one please tell me if there's any way to set the value of a
particular registry key equal to that of another registry key that's already
present in the registry.

Thank you.

Ravi.
 
With .NET, you can read one key and write to the other rather easily. NOTE,
however, that you will have to have access to each key in the registry (or
rather the process running the application will have to have access).


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Could you take that one step further please... that is, I have set the
permissions of the registry value I want to set to Everyone Full Control and
I still get an unauthorized access exception. Any ideas?? (Thanks in advance)
 
Thanks Cowboy. This approach works.



Cowboy (Gregory A. Beamer) - MVP said:
With .NET, you can read one key and write to the other rather easily. NOTE,
however, that you will have to have access to each key in the registry (or
rather the process running the application will have to have access).


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top