Open Bat as administrator from the command line of Bat himself

0

Is it possible for the bat to auto-execute itself as an administrator without having to right-click and execute as administrator?

I've tried with:

Runas /user: %computername%\admin

But it asks for a password, it's with the RunAs command but I'm not able to do it.

    
asked by Isdera 21.07.2018 в 22:49
source

0 answers