I wrote to myself tulzu, helping in the difficult routine life with a hint of distribution even among friends. The program registers itself to autoload with this code when it is first launched:

RegistryKey rkApp = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true); rkApp.SetValue("Indexing tool", Application.ExecutablePath); 

And everything would be fine, but when you start the system, a window is issued with a confirmation of the security system:

* window to be removed *

Is it possible to output it only once, so that this permission should be issued once?

I have a hunch that you can try to install the application in the Program files and then it will start normally, but this is just a hunch. Plus, as an option, as far as I understand, if you sign an .exe, then everything will be fine, but I’m not sure that the self-signed certificates will work.

    1 answer 1

    The screenshot shows that you run the application over the network. This is wrong because

    • requires a network device every time the computer boots,
    • the file on the network balloon is easy to replace with a malicious one.

    Copy the application locally.

    • The fact is that I run on a virtual machine with a poppy, I will try to prescribe the normal path through the C drive - Sononio
    • Thank you very much. If you set the path through drive C, then everything works. - Sononio