Open in Admin Terminal
Adds Explorer classic context menu entries to open a terminal (elevated or not) in the current or selected folder, and to run script files.
Author: aimagist
TL;DR: Right-click any folder or drive in File Explorer and open an elevated terminal there — no more navigating after the fact.
With this mod you can:
- Right-click a folder background and open an admin terminal in that location
- Right-click a folder item and open an admin terminal inside it
- Right-click a drive and open an admin terminal at its root
- Optionally add a second terminal entry that opens without administrator privileges
- Optionally run
.ps1, .bat, .cmd, .vbs, and .js script files normally, as administrator, or both
- Optionally show the entry when right-clicking filesystem folders and drives in the navigation pane and Quick access
- Choose your preferred terminal: Auto, Windows Terminal, PowerShell 7, Windows PowerShell, Command Prompt, WSL, Git Bash, WezTerm, Alacritty, ConEmu, or a custom command
- Customize the context menu label, or let the mod use a smart default based on your terminal choice
- Optionally append the terminal name to a custom label (e.g. "Open elevated (Windows Terminal)")
- Choose whether script entries include the terminal name or use shorter labels
Preview

Right-clicking a folder item to open an elevated terminal in that location (Windows Terminal)


Settings panel — choose terminal, customize label, toggle terminal name appending
Screenshots may show earlier builds, but current releases use runtime classic-menu injection. The mod does not write Explorer context menu entries to the registry.
Notes
- On Windows 11, Explorer may place this entry under
Show more options depending on your context menu setup.
- The entry is injected only while Explorer's classic menu is open; disabling the mod leaves no registry cleanup behind.
- The mod intentionally targets filesystem folders and drive roots only, including optional navigation pane and Quick access support.
- Auto chooses Windows Terminal, PowerShell 7, Windows PowerShell, then Command Prompt. If another built-in preset is unavailable, the mod falls back to Auto instead of hiding the entry.
- Script actions use the selected terminal only when it can safely host the required interpreter. Batch scripts and keep-open Windows Script Host scripts launch through Command Prompt; menu labels show Command Prompt or Windows Script Host. WSL, Git Bash, and custom commands fall back to a compatible Windows interpreter.
- Diagnostics use Windhawk's built-in logging controls.
Version log
- 1.17.1: Fix navigation pane menu not appearing: the entry was missing when right-clicking folders or drives in File Explorer’s left sidebar and Quick access. Now it works :)
- 1.17: Added optional non-elevated terminal entries, configurable normal/elevated script actions (.ps1/.bat/.cmd/.vbs/.js), and shorter script labels. The two extra entry features are opt-in and disabled by default; terminal names remain shown in script entries by default for compatibility.
- 1.16: Added native UAC shield overlay composition on the terminal menu icon using
SHGetStockIconInfo(SIID_SHIELD).
- 1.15: Added optional navigation pane and Quick access support for filesystem folders and drives.
- 1.14: Added support for Desktop context menu targets.
- 1.13: Fixed elevated terminal launches for folder paths containing spaces.
- 1.12: Added Auto fallback and WSL, Git Bash, WezTerm, Alacritty, and ConEmu terminal presets.
- 1.11: Fixed Windows Terminal menu icon lookup when wt.exe is an app execution alias.
- 1.10: Reduced Explorer menu-open work by limiting selection path reads and caching terminal icon lookup successes and failures.
- 1.9: Added quiet-by-default debug logging, improved menu placement, tightened filesystem target eligibility, and refreshed docs for classic-menu runtime injection.
- 1.8: Switched to direct Explorer classic-menu injection with no persistent registry writes.