Create a process without promotion

I want to create a child process in my application that will execute without inheriting the parent UAC. The parent works as an administrator, and I want the child process to run as a simple user without elevation. Does anyone know how to do this?

I am coding in C #.

Thank!

+3
source share
2 answers

Very simple:

string appWithoutElevation = @"c:\some  foldre\app.exe";
Process.Start("explorer", appWithoutElevation); 
+1
source

Source: https://habr.com/ru/post/1756454/


All Articles