Gamer Geek Wizardry and UAC Bypass

Fig. 1 - Shortcut to the batch file

As I posted on Twitter earlier today, I’ve set up a few of my games to obtain admin privileges while bypassing the UAC prompt on Windows 7. How? Read on, MacDuff!

The solution uses tasks and a batch file, with a shortcut to the batch file so that it runs minimized and can be started from the desktop. It’s a simple process once you know it.

The advantage of doing this is that once it’s set up, you don’t have to click to allow elevation for your game ever again. No more UAC annoyance for the programs you use all the time!

Set Up Your Tasks

For each game or program you want this bypass to work on, do the following:

  1. Type “task” into the start menu search and it’ll bring up the Task Scheduler
  2. Create New
  3. Name it something like “AdminGAME” and select “Run with highest privileges”
  4. Move to the “Actions” tab
  5. Add new… start program is selected by default and that’s what you want… browse to your game’s launcher .exe and select it, hit ok
  6. Move on over to the “Conditions” tab for clarity, and remove the checkmarks about battery and power so it’s all blank.
  7. Move on over to the “Settings” tab and triple-check that on your machine, “Allow tasks to be run on demand” is checked.
  8. Hit ok. Your new task should state “ready” as it’s status.

I set up tasks invidually for Rift, SWTOR, Fraps, and etc.

Set Up Da Bomb – er, Batch

Because I have AutoHotKey and use keymappings for games, I have a directory where I keep all my keymappings. I put the batch files there too for ease of finding all my game-related code bits. You can put it anywhere you want, even the desktop – though for less desktop clutter put it somewhere else.

@echo off
cd "C:\Windows\System32\"
schtasks.exe /run /tn "AdminFraps"

schtasks.exe /run /tn "AdminRift"



The above example is my runrift.bat – it opens Fraps first, then Rift, then my AutoHotKey file for Rift. You can set up something similar for whatever game or program you want!

Set Up Your Shortcut

Now, instead of pointing your game shortcut to your game, you point it to the batch file. Then select the icon for your game and VOILA! Pretty and functional shortcut.

I’ve noticed the batch file won’t exit until after all three items are closed, however since it starts minimized it’s not intrusive. Any tips on making it close after running those commands are appreciated!


One thought on “Gamer Geek Wizardry and UAC Bypass

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s