V
V
Vasily Pupkin2015-10-06 07:10:26
Email
Vasily Pupkin, 2015-10-06 07:10:26

How to automatically start TheBat! in windows 10 as administrator?

On Windows 10, TheBat requires administrator rights to work correctly. How can I make it automatically run as admin? Without issuing a window with a request for confirmation of the launch.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
arozhk, 2015-10-06
@arozhk

A bad option is to turn off UAC (
Good, as Artem said from the batch file, write runas / user: NAME c: \ thebat \ bat.exe

V
Vasily Pupkin, 2015-10-06
@HectorPrima

C:\>runas /user:myname /savecred "C:\Program Files (x86)\The Bat!\thebat.exe"
Попытка запуска C:\Program Files (x86)\The Bat!\thebat.exe от имени пользователя "MYCOMP\myname" ...
Введите пароль для myname:
Попытка запуска C:\Program Files (x86)\The Bat!\thebat.exe от имени пользователя "MYCOMP\myname" ...
ОШИБКА RUNAS: Не удается запустить - C:\Program Files (x86)\The Bat!\thebat.exe
740: Запрошенная операция требует повышения.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question