[Windows 11 Insider Beta] Access Denied when Admin Protection is on
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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