Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Disable UAC Plugin

View File

I have a lot of Pre-Win 7 games that need admin rights to run.
So i've made up this dirty solution. Basically, with this plugin, when you run an exe game with launchbox it will lower UAC for 10 sec. That way, launchbox can launch games that need elevated privilege without running as admin itself.

Be aware, this is not something secure !

You end up with a scheduled task that anybody can run that temporary remove UAC !

But if that's something that bother you and the only alternative that was on your mind was removing the UAC entirely, well, remove it for 10 sec is better than having it off.

How to use the plugin

It's bundled with an exe : UACTemporaryDisable.exe, run it as admin it will generate a task called TempDisableUAC. If you move the file, you will have to rerun it as admin.
Source code is here if you want to compile it yourself : https://github.com/nixxou/UACTemporaryDisable

Once it's done, the plugin should work (basically, just run the the task and wait until "Software\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin" go to 0)

 


 

  • 1 month later...
  • 1 month later...
Posted

Sure, but when you have a whole bunch to pass as admin, it simplify the task (like lightgun game where you need to run demulshooter as admin to hook)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...