Home > Mobile >  why autorun dont works with my application?
why autorun dont works with my application?

Time:09-23

I write a C# app with autorun feature
it successfully writes key to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run and application appears in win10 taskman (and Sysinternals autoruns), but application doesnt start after user logon
other apps in Run section starts successfully

p.s. adding a task to scheduler, placing shortcut to autorun folder, or .bat tricks is not the solution

CodePudding user response:

the solution is create key in HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run
seems 64-bit windows autorun mechanism is not able to start 32-bit apps if they not "declared" as 32-bit

it will be nice if someone post here link to short documentation how windows process autorun (order, error handling etc)

  • Related