To counter this, Microsoft has added a feature of running Batch files on their operating systems. These batch files are also run by a number of software in the background to execute multiple tasks. But if you are running an independent script, you might need administrator-level privileges to execute them. This is what we are going to talk about in the guide. If you wish to Run a batch file as an Administrator one time, simply right-click on the batch file that you wish to run and select Run as Administrator.
It will start executing that batch file with administrator rights.
Always Run Batch file as Administrator in Windows 10
If you wish to automatically elevate a Batch File and make it run as Administrator, follow these steps:
Now, whenever you run the shortcut, the batch file will always Run as Administrator. That’s all!