Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

[HOWTO] Run HearthRanger as admin with no security prompts (startup folder convenience)
glurph
#1 Posted : Tuesday, August 16, 2016 2:02:06 PM(UTC)
Rank: Member

Groups: Registered
Posts: 15

Thanks: 17 times
Was thanked: 10 time(s) in 5 post(s)
HearthRanger requires admin privileges.

Admin privileges require user confirmation... which can be annoying, especially if you want to run HearthRanger (and battle.net) automatically on boot.


Easy:

Download this .exe. It's a compiled AHK script...

http://www.filedropper.com/runasadmintask-hr

... and put it in the same directory as HearthRanger and ___run it once as admin___. (Running it more than once as admin doesn't hurt anything.)

When you run it for the first time as admin, the script creates a trusted Windows task for HearthRanger.exe and then executes that task.

Then, now that the trusted task is created, each time you run the AHK script (with normal privileges; not as admin), that trusted task is triggered, causing HeartRanger to run without UAC or permission prompts. You can now put a shortcut to the AHK script exe in your startup folder.

If you move or rename the AHK script, you must rerun it as admin to create the trusted task with the new filename.


Paranoid/Secure:

-- Download and Install AutoHotKey

-- Download this script: https://autohotkey.com/boards/viewtopic.php?t=4334

-- Add two lines add to the very end: 1) "RunAsTask()" and 2) "Run HearthRanger.exe" (without the quotes)

-- Save the script in the same directory as Hearthranger.exe

-- Run the script as admin once to create the registry entries.
1 user thanked glurph for this useful post.
contagious86 on 8/16/2016(UTC)
contagious86
#2 Posted : Tuesday, August 16, 2016 2:17:06 PM(UTC)

Rank: Advanced Member

Groups: Registered
Posts: 40

Thanks: 13 times
Was thanked: 17 time(s) in 15 post(s)
I guess it also works if you disable UAC and set admin rights.
glurph
#3 Posted : Tuesday, August 16, 2016 2:48:07 PM(UTC)
Rank: Member

Groups: Registered
Posts: 15

Thanks: 17 times
Was thanked: 10 time(s) in 5 post(s)
> disable UAC

A lot of people don't want that massive reduction in security.

> set admin rights

You mean for the user? Or for the .exe? EDIT: Either way, I'm pretty sure you'll still get a pop-up unless you disable UAC entirely...

... or use that hack I posted.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.048 seconds.