microsoft / microsoft/sudo

sudo for windows doesn't work with the new administrator protection feature

Open
#112 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Resolution-By-Design
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.27754.0

Other Software

No response

Steps to reproduce
  1. Enable administrator protection on a canary build of windows per doc
  2. Ensure sudo is enabled
  3. Try to run a command like sudo cmd
Expected Behavior

cmd to launch as administrator

Actual Behavior

sudo prints Unknown error: Access is denied. (0x80070005)

Image

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

No source file or test is named. Start by reproducing sudo cmd on Windows build 10.0.27754.0 with administrator protection enabled, then trace the elevation behavior that returns 0x80070005. Done means cmd launches as administrator instead of reporting “Access is denied.”

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.