I am attempting to call a batch file with administrator privileges in some C# code using System.Diagnostic's Process.Start() as mentioned here:
How to start a Process as administrator mode in C# .
I call the built executable from an elevated command prompt as well as with runas /user:administrator program.exe. The subprocess succeeds when called outside of my program, but fails at its administrator tasks when called by my program.
I have attempted using a manifest and setting the Process.Verb = "runas", but no luck there.
The subprocess installs a driver and my program verifies the version number if that's relevant.
Thank you for the help!