A
A
ArrayPop2020-05-18 17:42:11
WPF
ArrayPop, 2020-05-18 17:42:11

How to make wpf start automatically as admin?

I created a wpf program and attached it to the installer. My program writes files to its environment, but since it is on the C drive, it cannot create the file because it does not have access. I tried to edit the manifest, but unfortunately, every time you start the program, you need to confirm the login under the administrator, and there is an admin icon on the executable. But I have a program that I downloaded, it starts without asking for admin rights and perfectly writes files to drive C. How can I make it possible to write to disk and at the same time the program does not request administrator rights every time it starts?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question