How to run a Windows batch script from command line as administrator?
The most simple way that I have found is to run the script via powershell.
powershell -Command "Start-Process YOUR_BATCH.cmd YOUR_PARAMETERS -Verb RunAs -Wait"
How to run a Windows batch script from command line as administrator?
The most simple way that I have found is to run the script via powershell.
powershell -Command "Start-Process YOUR_BATCH.cmd YOUR_PARAMETERS -Verb RunAs -Wait"