File Explorer Terminal Admin Aliases
Launch elevated or custom terminals (cmd, Windows Terminal, PowerShell) directly from the File Explorer address bar with configurable aliases.
Author: RobotsNeverDie
Launch elevated (Administrator) command prompts, Windows Terminal, PowerShell, or custom shells directly from any Windows File Explorer address bar, opened to your active directory.
Just like typing cmd, wt, or powershell into File Explorer—but with administrator privileges and completely customizable aliases!
⚡ Features
- Configurable Aliases: Choose any alias trigger you want (
cmda, wta, psa, pwsha, basha, or your own custom commands).
- Native & Silent Elevation: Intercepts shell execution directly inside File Explorer and launches with native
runas elevation—no background PowerShell spawns, no .bat files, and zero flickering.
- Zero PATH Pollution: Works without needing to edit your system/user
Path environment variable.
- Directory Preservation: Accurately preserves the active directory in elevated sessions, handling spaces, special characters, drive roots, and network UNC paths.
- Virtual Folder Fallback: Automatically defaults to
%USERPROFILE% when launched from virtual folders (e.g., "This PC", "Quick Access", or "Home").
- Clean UAC Cancellation: If you cancel or dismiss the UAC prompt, the mod cleanly suppresses the annoying "Windows cannot find..." error dialog.
- Inline Arguments Supported: Type extra arguments directly in the address bar (e.g.
cmda dir or wta -p PowerShell).
⚙️ Configuration
Open the mod's Settings tab in Windhawk to:
- Customize aliases for Command Prompt, Windows Terminal, PowerShell 5.1, PowerShell 7+, and Git Bash.
- Toggle elevation (
runas) on or off per shell.
- Configure custom aliases for any tool (e.g.
code, wsl, nvim).
- Set an optional profile name for Windows Terminal.