RegistryKey DeleteValue throws UnauthorizedAccessException

  • Thread starter Thread starter Nithi Gurusamy
  • Start date Start date
N

Nithi Gurusamy

I am trying to add new string values into the following registry key to add
startup applications:

SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run

It throws exception. IS there a way to deal this access rights issue? Also
is there a SDK function to add a program into the Windows Startup list
programmatically?



Thanks

Nithi Gurusamy
 
Nithi,
It throws exception. IS there a way to deal this access rights issue?

What exception? Did you open the key with write access?

Also
is there a SDK function to add a program into the Windows Startup list
programmatically?

No



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top