SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

  • Thread starter Thread starter Dmitri Shvetsov
  • Start date Start date
D

Dmitri Shvetsov

Hi,

My C# application works under administrative account but can't write to:
HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
What can I do to write there?

Dmitri
 
Hi Demitri
I think you need to do something with the RegistryPermission class ,I
don't know much about your program so not really sure ; However , I think
you need to use the RegistryPermissionAccess enumeration . Take a look at
this link it might be useful.

http://search.microsoft.com/search/results.aspx?View=msdn&st=a&qu=RegistryPe
rmissionAccess+enumeration
hope this would help,
Mohamed Mossad
ITworx on behalf of Microsoft GTSC Developer support for Middle East
 
Back
Top