views:

23

answers:

0

My program asks user if he wants it to be added to autorun, and it requires administrator rights to perform its code properly (level is set to "requireAdministrator" through manifest).

However, after adding it to autorun through registry, Windows Defender blocks its start on system start-up due to it requiring administrator rights (as it tells on error pop-up)

Is there anyway to avoid this?