RunAs
RunAs copied to clipboard
An example in C# for programmatically calling UAC to escalate to admin
RunAs
Build in Visual Studio (.net 3.5 so it runs on Win 7).
This is a proof of concept, example project that shows a pattern for how to programmatically invoke UAC to escalate privileges of the current process to administrator in C#.