Just wanted to pass on this tip I found since it was hard to come by (only saw it in on one site).
Many of us know the trick about creating a shortcut with administrator privileges through the Task Scheduler to get around the UAC prompt. Elevated Program Shortcut without UAC Prompt - Create
But the annoying thing is when you open the program from this shortcut the window won't be focused and will open in the background if there are windows on top.
This trick will create the same admin level shortcut and focus the window as well.
Follow the tutorial as usual but when you get to the Actions tab, in the Program/script box enter:
In the Add arguments (optional) box enter:
/c start "TaskName" "Program Path"
For example: /c start "StartChrome" "C:\Program Files\Chrome\Chrome.exe"
This will open up cmd.exe and pass the arguments to it, because /c is specified it will run those arguments and then close. Since 'start' will give anything started with it focus, the program will come up with its window focused.
Do everything else in the tutorial the same and that's it. Hope this helps somebody else, because the unfocused window was really bugging me.