Skip to content

Add zero-UAC elevation: Run as Admin and Admin Command Prompt features - #1068

Open
heartacker wants to merge 1 commit into
ramensoftware:mainfrom
heartacker:feature/zero-uac-elevation
Open

Add zero-UAC elevation: Run as Admin and Admin Command Prompt features#1068
heartacker wants to merge 1 commit into
ramensoftware:mainfrom
heartacker:feature/zero-uac-elevation

Conversation

@heartacker

@heartacker heartacker commented Aug 29, 2026

Copy link
Copy Markdown

Summary

This PR implements zero-UAC privilege elevation via the Windhawk background service.

Features

  • Run as Administrator without UAC Prompt:
    Allows users to open the Windhawk UI directly with administrative privileges without triggering a UAC prompt.
  • Admin Command Prompt:
    Allows users to launch an elevated Command Prompt directly from the tray menu without triggering a UAC prompt.

Implementation Details

The Windhawk service (running under the SYSTEM account) acts as an elevation provider. When requested, the service creates the target process using an elevated token and attaches it to the active interactive user session (\CreateProcessAsUser).

Closes #1063

@heartacker
heartacker force-pushed the feature/zero-uac-elevation branch 2 times, most recently from 1371171 to bb1f298 Compare August 29, 2026 03:42
Implements zero-UAC privilege elevation via the Windhawk service, allowing users to:

- Open Windhawk UI with admin privileges without UAC prompt

- Launch an elevated Administrator Command Prompt without UAC prompt

The service acts as an elevation provider, spawning processes under the SYSTEM account's elevated token and assigning them to the interactive session.

Closes ramensoftware#1063
@heartacker
heartacker force-pushed the feature/zero-uac-elevation branch from bb1f298 to 238ac77 Compare August 29, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

no admin to start uiprogram

1 participant