0

i need that my program to start a command on cmd without the need to have administrator rights, the command to run should be this: "aka.exe 84920" it's possible? I also tried with a .bat file but to start another process the program must be started with administrator rights Thanks

1
  • If aka.exe requires Administrator privilege, then it will need to exist. Have you tried RUNAS? If UAC is enabled, there may be a UI to which a response is required. Commented Apr 26, 2017 at 16:11

1 Answer 1

1

You can open a process without admin rights, in c# like this:

using System.Diagnostics;

Process.Start("aka.exe 84920");

A minute ago I opened a Console Application and put this on the main method:

Process.Start("notepad.exe");

It works!! Without admin rights

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.