Use the "runas" verb...
Need to help to launch the exe from unelevated code.
Sunil A M
171
Reputation points
HI Team,
I am using the Process.Start("path of exe") to open the exe present in the C:\Program Files\OverlayUI\Debug\overlay.exe.
Tried Steps:
- Started visual studio in unelevated mode(non admin) and created one wpf app.
- Tried opening the exe(C:\Program Files\OverlayUI\Debug\overlay.exe) present in c:\Programfiles path using precess.start method.
i am getting the bellow error.
Could you please guide me how should i run the above path exe from visual studio WPF solution opened in non admin mode.