Run process as administrator from a non-admin application
From an application that is not being run as administrator, I have the following code: ProcessStartInfo proc = new ProcessStartInfo(); proc.WindowStyle = ProcessWindowStyle.Normal; proc.FileName = myExePath; proc.CreateNoWindow = false; proc.UseShellExecute = false; proc.Verb = "runas"; When I call Process.Start(proc), I do not get a pop up asking for permission to run as administrator, and the exe is not run as administrator. I tried adding an app.manifest to the executable found at myExePath, and updated the requestedExecutionLevel to <requestedExecutionLevel level="requireAdministrator"