fbpx
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

UAC

Trigger UAC to Ensure Scripts are run As Administrator in Windows 7

Trigger UAC to Ensure Scripts are run As Administrator in Windows 7

I wanted to post this solution since we run into this problem all the time: Often, our .bat scripts include making registry changes or copying files which require Administrative access. This code will cause the .bat file to trigger a UAC prompt before running...