gsudo is a Windows command-line utility that provides Unix-style sudo functionality for executing commands with elevated privileges. It allows users to run administrative operations within their existing terminal session or open a separate elevated console. Supported environments include Command Prompt, PowerShell, PowerShell Core, Git Bash, and Cygwin. Optional credential caching reduces repeated User Account Control prompts during authorized administrative sessions. Configurable security settings support alternative user accounts and Windows integrity levels. PowerShell integration enables elevated script execution with serialized object input and output. The utility preserves standard input, output, and error redirection for compatible commands. Additional functionality includes customizable elevated prompts, diagnostic logging, and session status inspection.

Features

  • Windows command-line privilege elevation within existing terminal sessions or separate administrative console windows
  • Multiple shell compatibility including Command Prompt, PowerShell, PowerShell Core, Git Bash, and Cygwin
  • Configurable credential caching for reducing repeated User Account Control prompts during authorized administrative sessions
  • Flexible execution under alternative user accounts with configurable Windows security integrity levels
  • PowerShell script block elevation with serialized object handling and standard input or output redirection
  • Customizable elevated command prompts with session status inspection and configurable diagnostic logging

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow gsudo

gsudo Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. Developers get access to both Gemini and third-party models.
Get started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gsudo!

Additional Project Details

Operating Systems

Windows

Programming Language

C#

Related Categories

C# Systems Administration Software, C# Command Line Tools

Registered

1 day ago