By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,458 Members | 1,422 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,458 IT Pros & Developers. It's quick & easy.

SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.