microsoft / microsoft/sudo

[Windows 11 Insider Beta] Access Denied when Admin Protection is on

Open
#125 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Triage
Dominant language
Rust
Stars
5.9k
Forks
180
Avg merge
1d 7h
Merged PRs (30d)
2

Description

Sudo for Windows version

1.0.1

Windows build number

10.0.26120.4733

Other Software

So far, I've tested with the Developer Command Prompt for Visual Studio 2022 and the

Steps to reproduce
  • Enable Admin Protection.
  • Open the Developer Command Prompt for Visual Studio 2022.
  • Run sudo ngen eqi.
  • Permit changes.
Expected Behavior

The sudo command should run normally. For example, ngen runs runs.

Actual Behavior

Unknown error: Access denied. (0x80070005)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in the Developer Command Prompt for Visual Studio 2022 with Admin Protection enabled by running sudo ngen eqi and permitting changes. Trace the sudo command's handling of this Windows context, then verify that the command completes without Access denied (0x80070005) and that ngen runs normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.