Force Batch File To Run As Admin «HOT Collection»

At 12:03 AM, he watched the logs roll in. Server after server, the batch files were elevating themselves, running with full admin fury, and vanishing the log files like digital ghosts.

The script ran. Logs vaporized. Drives cleared. force batch file to run as admin

Alan had three choices: rewrite the script in PowerShell (too late), stay up until 3 AM clicking "Yes" on a UAC prompt (no), or force the batch file to demand admin rights itself. At 12:03 AM, he watched the logs roll in