kingonly
kingonly

Reputation: 33

Create a process without elevation

I want to create a child process in my application that will run not inherit the parent's UAC. The parent runs as administrator, and I want the child process to a run as a simple user w/o elevation. Does anyone know how this can be done?

I'm coding in c#.

Thanks!

Upvotes: 3

Views: 1475

Answers (1)

Anton
Anton

Reputation: 11320

Very simple:

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

Upvotes: 1

Related Questions