Add zero-UAC elevation: Run as Admin and Admin Command Prompt features - #1068
Open
heartacker wants to merge 1 commit into
Open
Add zero-UAC elevation: Run as Admin and Admin Command Prompt features#1068heartacker wants to merge 1 commit into
heartacker wants to merge 1 commit into
Conversation
heartacker
force-pushed
the
feature/zero-uac-elevation
branch
2 times, most recently
from
August 29, 2026 03:42
1371171 to
bb1f298
Compare
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
force-pushed
the
feature/zero-uac-elevation
branch
from
August 29, 2026 03:46
bb1f298 to
238ac77
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements zero-UAC privilege elevation via the Windhawk background service.
Features
Allows users to open the Windhawk UI directly with administrative privileges without triggering a UAC 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