Richard Webb Wrote: > Do you need to be calling RegOpenKeyEx with KEY_WRITE instead of KEY_READ ? > Thanks,I changed to KEY_WRITE and the function now return true when the app executes.However the specified app dosn't start up automatically,when I check the startup settings by some third party software(say,SpySpot-Search and Destroy),I found the setting is : C:\\w other than c:\\windows:\\explorer.exe
So where is the problem?