If you wish to elevate and always run a Batch file as an administrator in Windows 11/10, follow the procedure laid down in this post. You can run a Batch file as Administrator without a prompt.
You can automate many tasks on your Windows ... files. A batch file is a file that contains one or more commands to be executed subsequently. Instead of typing those commands in Command Prompt ...