Download Latest Version gsudo.setup.x86.msi (1.8 MB)
Home / v2.5.0
Name Modified Size InfoDownloads / Week
Parent folder
gsudo.setup.x86.msi.sha256 2024-05-28 66 Bytes
gsudo.setup.x86.msi 2024-05-28 6.7 MB
gsudo.setup.x64.msi 2024-05-28 2.4 MB
gsudo.setup.x64.msi.sha256 2024-05-28 66 Bytes
gsudo.setup.arm64.msi 2024-05-28 2.4 MB
gsudo.setup.arm64.msi.sha256 2024-05-28 66 Bytes
gsudo.portable.zip.sha256 2024-05-28 66 Bytes
gsudo.portable.zip 2024-05-28 12.6 MB
gsudo v2.5.0 source code.tar.gz 2024-05-28 1.0 MB
gsudo v2.5.0 source code.zip 2024-05-28 1.1 MB
README.md 2024-05-28 1.6 kB
Totals: 11 Items   26.1 MB 0

What's Changed

With the release of Microsoft Sudo in Windows 11 24H2, both needs to coexist peacefully. When Microsoft Sudo is present, the sudo command no longer redirects to gsudo by default, so:

  • Added a new config setting PathPrecedence: When set to true, it will ensure gsudo appears first in the PATH variable, ensuring the sudo keyword starts gsudo instead of Microsoft Sudo.
  • Call gsudo config PathPrecedence true to activate. Please restart all your consoles to ensure the change makes effect.
    • There is a bug, so this change works only after log-off or restart. Sorry! Will be fixed in v2.5.1
  • Set it back to false to go back to normal.

If a user with ms-sudo muscle memory, accidentally runs gsudo, let's ensure gets a good user experience with:

  • Added support for ms-sudo styled arguments such as --inline, --disable-input, --preserve-env, --new-window
  • Added the ability to start the elevation in a specified folder with --chdir {directory} (or uppercase -D {directory}) in https://github.com/gerardog/gsudo/pull/355

Also:

  • Added text descriptions to gsudo config command, so users can read each config use, in https://github.com/gerardog/gsudo/pull/354
  • Added SecurityEnforceUacIsolation/DisableInput handling also in Attached and TokenSwitch elevation Modes.
  • For some reason Windows doesn't focus the UAC popup if it is configured as Do Not Dim. The fix (#85) makes gsudo focus the popup.

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.4...v2.5.0

Source: README.md, updated 2024-05-28