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
 
Back
Top