Yes, you're able to run a batch file with administrative rights. Unfortunately, you can't do this directly from the batch file it self. You would need to first create a shortcut of that batch file and change the properties for that shortcut in order to make this work.
To create a shortcut, there are many ways but the simplest and the fastest way is by using the Send to option in the context menu.
Right click batch file > Send to > Desktop (create shortcut)
Of course you can send the shortcut to where ever you would like. To elevate the batch file to run as admin, follow the steps below:
- Right-click the shortcut you just created (should be on the desktop or where ever you send it)
- Under the Shortcut tab, click the Advanced... button.
- Check the Run as administrator checkbox and press OK to both the modal window and the main properties window.
- Run the shortcut by double-clicking it and the batch file should run as administrator.