You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sudo just runs on Windows 10. Configuration can be done via the command line tool itself.
So, that should clear up the first part of the problem. But I guess you would like to have a friendly config UI for it.
Reacted by Thomas P., Hayden Barnes, Alex, SamiG42 and 145a
Yep! sudo.exe doesn't do anything Windows 11-specific. The Settings app changes are the hardest part (since there was a pretty massive UI rejuv between 10 and 11).
That's certainly something to look at going forward. I'd want to make sure that the GPO stuff we have in-box with the OS is also something that could be delivered via winget. Otherwise, we'd have to consider the scenario where someone can install sudo, but then there's no way to manage it from an organization's standpoint. Something for us to work out in the coming months ☺️
Okay I definitely get that it's valuable - but I'm gonna go ahead and delete links to 3p builds of sudo. Sorry, I just think it's a terrible idea to have folks downloading builds from potentially untrusted third parties. Seems like a recipe for a supply chain vulnerability.
I'm back from vacation this week1. Getting officially signed installers up on our releases page and winget is my priority this month.
Footnotes
though, it's a pair of short weeks for me. So, things will be a bit slower than usual ↩
Reacted by David Maas, Sujal Gurung, Pavel Zadorski, rbarbrow and Samarth Bhatia
The original code is not modified, it is compiled by cloning the original
repository, you can check the github action
El lun, 1 jul 2024, 13:58, Mike Griese ***@***.***> escribió:
Okay I definitely get that it's valuable - but I'm gonna go ahead and
delete links to 3p builds of sudo. Sorry, I just think it's a terrible idea
to have folks downloading builds from potentially untrusted third parties.
Seems like a recipe for a supply chain vulnerability.
I'm back from vacation this week1
<#m_3850150494985816041_user-content-fn-1-089848b151adfe8425ac3b456e3c296b>.
Getting officially signed installers up on our releases page and winget
is my priority this month.
Footnotes
1.
though, it's a pair of short weeks for me. So, things will be a bit
slower than usual ↩
<#m_3850150494985816041_user-content-fnref-1-089848b151adfe8425ac3b456e3c296b>
—
Reply to this email directly, view it on GitHub
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQG6PDT4HSLXRGBMRYXORXDZKE75JAVCNFSM6AAAAABC4WSPG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZHE2TCMZRGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
IMO: Doesn't matter if it's not changed now. In the wake of the xz thing, I'm not gonna have folks take any chances on untrusted third-parties. Even ones that are well intended now may well later become compromised.
Sudo just runs on Windows 10. Configuration can be done via the command line tool itself. So, that should clear up the first part of the problem. But I guess you would like to have a friendly config UI for it.
We have two users on Windows : a standard user and an admin user.
After typing these 2 commands as an administrator :
PS C:\WINDOWS\system32> sudo config --enable enable
Sudo is currently in Inline mode on this machine
PS C:\WINDOWS\system32> sudo config --enable forceNewWindow
Sudo is currently in Force New Window mode on this machine
PS C:\WINDOWS\system32>
And now I get this when I get back to the normal user (another user) :
PS C:\> sudo cmd
You are not allowed to run sudo
PS C:\>
Unfortunenatly, there is no -u | --user {username} Run as the specified user. Asks for password. For local admins shows UAC unless '-i Medium' option like in the gerardog gsudo.
Any updates? The experience of publishing and retrieving sudo using winget should be quite good, which could simplify the operation of many Windows CLI programs.
Reacted by sebma, barnabeepickle, 145a, qian zhan and Sokwva
Yep! sudo.exe doesn't do anything Windows 11-specific. The Settings app changes are the hardest part (since there was a pretty massive UI rejuv between 10 and 11).
Mike Griese (@zadjii-msft) why not release the first version sudo for win10 without any UI settings? it is a CLI tool, I think no need to design settings GUI for it,it should be configured via the command line.
Activity
Jevil7452 commentedon Feb 8, 2024
Sudo just runs on Windows 10. Configuration can be done via the command line tool itself.

So, that should clear up the first part of the problem. But I guess you would like to have a friendly config UI for it.
zadjii-msft commentedon Feb 8, 2024
Yep!
sudo.exedoesn't do anything Windows 11-specific. The Settings app changes are the hardest part (since there was a pretty massive UI rejuv between 10 and 11).zadjii-msft commentedon Feb 9, 2024
When we get this backported to the Windows 10 branches, you can make sure we'll post here 😄
gerardog commentedon Feb 9, 2024
I see sudo.exe is (currently) portable and works on Windows 10. So why ship it with windows? Why not ship it as a Winget package?
zadjii-msft commentedon Feb 9, 2024
That's certainly something to look at going forward. I'd want to make sure that the GPO stuff we have in-box with the OS is also something that could be delivered via☺️
winget. Otherwise, we'd have to consider the scenario where someone can install sudo, but then there's no way to manage it from an organization's standpoint. Something for us to work out in the coming monthsrbarbrow commentedon Jun 30, 2024
Any update on the winget front?
zadjii-msft commentedon Jul 1, 2024
Okay I definitely get that it's valuable - but I'm gonna go ahead and delete links to 3p builds of sudo. Sorry, I just think it's a terrible idea to have folks downloading builds from potentially untrusted third parties. Seems like a recipe for a supply chain vulnerability.
I'm back from vacation this week1. Getting officially signed installers up on our releases page and
wingetis my priority this month.Footnotes
though, it's a pair of short weeks for me. So, things will be a bit slower than usual ↩
LeonardoIz commentedon Jul 1, 2024
zadjii-msft commentedon Jul 1, 2024
IMO: Doesn't matter if it's not changed now. In the wake of the
xzthing, I'm not gonna have folks take any chances on untrusted third-parties. Even ones that are well intended now may well later become compromised.Neustradamus commentedon Jul 27, 2024
It will be nice to have for Windows 10 and Windows Server too.
git-78 commentedon Jan 4, 2025
We are now 11 months after. Any news? What's about to publish an exe version, here or through winget ?
sebma commentedon Aug 6, 2025
Kris (@Jevil7452) I see no sudo github release there : how did you "install" this
sudoon Windows 10 ?Jevil7452 commentedon Aug 6, 2025
Take the EXE from Windows 11.
sebma commentedon Aug 12, 2025
Kris (@Jevil7452) OK Thanks, I'll do this tomorrow :
sebma commentedon Aug 13, 2025
Kris (@Jevil7452) As you suggest, I just copied
sudo.exefrom Windows 11 into my Windows 10 and here is what I get :But I see no
Enable sudoparameter in the Developer Settings of my Windows 10 :plutonium-239 commentedon Aug 13, 2025
Maybe this can help? : https://www.elevenforum.com/t/enable-or-disable-sudo-command-in-windows-11.22329/
It includes 2 methods other than the settings UI (through the CLI and through the registry)
sebma commentedon Aug 13, 2025
We have two users on Windows : a standard user and an admin user.
After typing these 2 commands as an administrator :
And now I get this when I get back to the normal user (another user) :
Unfortunenatly, there is no
-u | --user {username} Run as the specified user. Asks for password. For local admins shows UAC unless '-i Medium'option like in thegerardog gsudo.Related #127
plutonium-239 commentedon Aug 14, 2025
I guess that depends on the implementation itself, saw the issue.
If you used it as the user with admin privileges but from a non-admin shell, does it let you escalate?
sebma commentedon Aug 28, 2025
Samarth Bhatia (@plutonium-239) Didn't have the time, they had already schedule the upgrade of my laptop upto Windows 11.
Maybe someone else with a Windows 10 can test what you asked.
Jy-EggRoll commentedon Oct 26, 2025
Any updates? The experience of publishing and retrieving sudo using winget should be quite good, which could simplify the operation of many Windows CLI programs.
iamqiz commentedon Sep 9, 2026
Mike Griese (@zadjii-msft) why not release the first version sudo for win10 without any UI settings? it is a CLI tool, I think no need to design settings GUI for it,it should be configured via the command line.