Skip to content

Add UIAccess flag to allow managing admin windows without running as admin #538

Open
@eugenesvk

Description

There is a simpler way to manage other admin windows without becoming an admin app yourself (and doing admin task scheduler stuff), thus reducing the risk associated with admin

AutoHotkey does it to allow rebinding hotkeys in admin windows:

  • you add a manifest to your exe in a specific format with uiaccess flag (disabled)
  • use AutoHotkey and it's EnableUIAccess script to self-sign AltSnap (without this uiaccess doesn't work)
  • (same script also) turns the uiaccess flag on
  • relocate it to Program Files (also required)

Then AltSnap will be able to run without being admin, yet control other apps even admin

You could add it as part of the installation as AHK does it or just make the users do it manually

You could also sign your binary yourself to avoid this trouble, but then as far as I know there are no free certificates to allow open source devs do that

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions