Answer the question
In order to leave comments, you need to log in
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
A bad option is to turn off UAC (
Good, as Artem said from the batch file, write runas / user: NAME c: \ thebat \ bat.exe
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 questionAsk a Question
731 491 924 answers to any question