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


How to Elevate Windows Batch Scripts to Run it with Admin Rights at Startup

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. He blogs at LinuxWays.

Leave a Reply

Your email address will not be published. Required fields are marked *