S
S
SKEPTIC2019-08-04 01:40:13
Windows
SKEPTIC, 2019-08-04 01:40:13

Prohibition on removal from startup?

Avast antivirus does not allow you to remove yourself from startup. I click disable but nothing happens.
How can this be done in C#?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2019-08-04
@freeExec

Write your service and monitor the registry branch responsible for autoloading. If you are removed, add yourself back.

C
cicatrix, 2019-08-05
@cicatrix

In theory, you can assign an owner (yourself) to a registry key and prohibit anyone but yourself from making changes to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question