Start Command, Force to Open Not as Administrator

If the batch file is opened as normal, "start" will obviously open the file as non-administrator.

If the batch file is opened as administrator, "start" will open the file as administrator.

This is troublesome because it needs to do two things:

  1. taskkill, which requires administrator.

  2. Opening FiveM, which requires not as Administrator.

2

1 Answer

... and why would taskkill need to be run as administrator?

Prompt>taskkill /PID 99999
ERROR: The process "99999" not found.

And this while I'm not logged as administrator.

What's that FiveM you're talking about? In case you're talking about the Grand Theft Auto client, there should not be any problem stopping this, using taskkill without being administrator.

3

Your Answer

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

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest