Showing posts with label Run Application with Admin user. Show all posts
Showing posts with label Run Application with Admin user. Show all posts

CodedUI Run Application with Admin User

System.Diagnostics.ProcessStartInfo proc = new System.Diagnostics.ProcessStartInfo(@"C:\Program Files (x86)\Notepad++\notepad++.exe");
            proc.UseShellExecute = true;
            proc.Verb = "runas";