1. Download the PowerToys and extract the contents of an EXE file in your desired folder.
2. Create a batch script with the following command,
"C:\Program Files\Elevation\elevate.cmd" "C:\My batch files\<batch file name say batch.bat>"
batch.bat contains all the commands you would like to run with administrative privileges.
3. Copy batch.bat to the following startup folder,
C:\Users\[your user name]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
The post How to Elevate Windows Batch Scripts to Run it with Admin Rights at Startup appeared first on FAQforge.