473,387 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

Hi,

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

Dmitri
Nov 15 '05 #1
1 3101
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/r...&qu=RegistryPe
rmissionAccess+enumeration
hope this would help,
Mohamed Mossad
ITworx on behalf of Microsoft GTSC Developer support for Middle East

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.