In the Look for icons in this file field, type the following path and press Enter: %systemroot%\system32\shell32. Right-click the newly created shortcut and select the Properties option.Ĭheck the Run as administrator option for the Windows Terminal shortcut. In the path field, type the following path: %LocalAppData%\Microsoft\WindowsApps\wt.exeĬonfirm a name for the shortcut – for example, Windows Terminal. Select the New submenu and choose the Shortcut option.
ADD BASH TO WINDOWS TERMINAL HOW TO
To always run Windows Terminal as an administrator using a shortcut, use these steps: How to Add Git Bash to Windows Terminal Step 1: Download Git Setup Step 2: Run Git Installer Step 3: Start Git Installation Step 4: Enable Git Bash Windows. Always open Windows Terminal as an admin with ShortcutĪlternatively, you can also create a shortcut that you can specify to run as an administrator on Windows 10. Once you complete the steps, the next time you open Command Prompt, PowerShell, or any other command terminal, it will open elevated. Click Restart now when you’re prompted to restart your computer. Enable the Windows Subsystem for Linux option in the list, and then click the OK button. Turn on the “Run this profile as Administrator” toggle switch to run Command Prompt, PowerShell, and any other profile elevated automatically. Assuming you have 64-bit Windows, to get started, head to Control Panel > Programs > Turn Windows Features On Or Off.