0

I can start processes using this command:

Process.Start(<My File Location>, <App Parameters>)

But how do I start these processes as Administrator?

I tried using this:

Process.Start(<My File Location>, "verb -runas")

But it doesn't work.

Bugs
  • 4,491
  • 9
  • 32
  • 41
r3play
  • 14
  • 4
  • 2
    Possible duplicate of [Run ANOTHER program as Admin \[VB.NET\]](http://stackoverflow.com/questions/16804103/run-another-program-as-admin-vb-net) – Bugs Mar 27 '17 at 08:26
  • It might be more useful to use `ProcessStartInfo`. Have a look at the link. Also it would help to give an idea on what _But too it doesn't work._ actually means. – Bugs Mar 27 '17 at 08:26
  • 1
    Possible duplicate of [How to start a Process as administrator mode in C#](http://stackoverflow.com/questions/2532769/how-to-start-a-process-as-administrator-mode-in-c-sharp) – Andrew Mortimer Mar 27 '17 at 08:29
  • Its not working, :( – r3play Mar 27 '17 at 16:44

0 Answers0