microsoft/sudo

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

reynoldskr opened this issue · 1 comments

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

Thank you for letting us know -- for the time being, this is as design from a security standpoint.

This is great feedback, and we will revisit it when the time is appropriate.