Project Description
SharpUAC is a tool that offers 3 ways to circumvent UAC without disabling it.




If you like this tool, leave me a note, rate this project or write a review or Donate to SharpUAC.

Donate to SharpUAC

If you've encountered problems, leave a (detailed) issue in the Issue Tracker.

Having to control PC's on which kids play games lead to some issues with UAC. I like to keep them normal (non-admin) users so they cannot create to much problems (and they cannot install games).

Personally I do not mind installing a game (gives me a little control and I cannot expect my kids to see every sneaky way malware tries to c-install these days). But what I do mind is games that, once installed, still need elevation either to run or to update themselves an popup an UAC dialog with a password prompt. To solve this use-case wrote ShapUAC.

SharpUAC offers 3 ways of circumventing UAC without disabling it.

  • SharpUAC can create an elevated task in the Windows Task Scheduler based on the information in the selected shortcut (*.lnk) file and create a new shortcut that starts the newly created task.


The result is that the program runs elevated without a UAC prompt.

Drawback of this method is that it only works for a user that gets to see UAC dialogs without prompts as one users tasks are not visible to another user and non-admin users are not allowed to create elevated tasks.

SharpUAC itself need to run elevated in order to be able to create the tasks in the Windows Task Scheduler.

  • Runas is a shell command that lets you run a program under different credentials. As credentials can be stored by runas, it can runs programs under different credentials without re-asking for a password.


I use runas to run SharpUAC under an administrative account.

  • The most powerful option is temporary impersonation of another user and start a shortcut during this brief period of time. The result is that a non-admin user can start programs that need elevated access. These users get to see the UAC dialog but without a prompt for a password. This is exactly what I want, ,my kids still get a warning something important is going to happen, but they can run or update their game and I am still the one performing initial installs.


Off-course there are other areas where SharpUAC could be useful.

TODO's

  • Improve user-interface.
  • Add selecting shortcuts to SharpUAC.
  • Add click-once installer.
  • Add portable executable.
  • Move shortcut list to %appdata%\SharpUAC so the app can be installed under program files.
  • more

Last edited Aug 29, 2015 at 7:47 PM by wvd_vegt, version 8