Fix: Windows cannot find ‘wt.exe’.

The error “Windows cannot find ‘wt.exe‘” shows up when you try to open Windows Terminal, but your computer can’t find the file it needs to start it. This usually happens because the shortcut to start Windows Terminal is missing or turned off.

Windows cannot find wt.exe.
Windows cannot find wt.exe.

Other reasons can include problems with the Windows Terminal app, issues with your system files, or wrong settings for the file’s location.

 

1. Repair and Reset Windows Terminal

Windows offers a built-in repair feature that can resolve common issues affecting app launches. Corruption within the Terminal app may prevent Windows from detecting the wt.exe file. Before trying other solutions, use the repair and reset options to address potential app corruption.

  1. Open Windows Settings using the Win + I keys.
  2. Go to Apps > Apps & features.
  3. Type “Terminal” in the search bar.
  4. Click the three-dots icon next to Windows Terminal.
  5. Choose Advanced options.
    Opening terminal advanced options
    Opening terminal advanced options
  6. Under the “Reset” section, click Repair to attempt repairing the app without affecting your settings or data.
    Repairing application
    Repairing application
  7. If the error persists, click Reset to restore the application to its default state.
    Resetting the app will delete your data. Please back up any important settings or profiles before proceeding.
  8. Finally, relaunch Windows Terminal from the Start Menu.

2. Uninstall Windows Terminal Preview

If you have both Windows Terminal and Windows Terminal Preview installed simultaneously, they may conflict and prevent either from launching. To resolve these conflicts, it is recommended to uninstall the preview version.

  1. Press the Windows key to open the Start menu.
  2. Locate Windows Terminal Preview in the “Recently added” section.
  3. Right-click on it and select Uninstall.
    Uninstalling the Windows terminal preview
    Uninstalling the Windows terminal preview
  4. Restart your computer via the Start Menu to ensure changes take effect.
    Restarting the computer
    Restarting the computer
  5. Once your system restarts, try launching Windows Terminal again.

3. Reset Permissions of the ‘WindowsApps’ Folder

The WindowsApps folder stores installed applications, including Windows Terminal. Improper permissions or access control lists (ACLs) can prevent Windows Terminal from launching. Resetting permissions helps restore correct access and can eliminate related errors.

  1. Press the Windows key to access the Start Menu.
  2. Type cmd and choose Run as administrator.
    Running command prompt as administrator
    Running command prompt as administrator
  3. Enter the following command to reset permissions for all files and folders within WindowsApps:
    icacls "C:\Program Files\WindowsApps" /reset /t /c /q

This process restores necessary permissions to ensure Windows Terminal can operate correctly. Addressing permission issues is important for resolving access errors associated with Windows Terminal.

4. Add Registry Path for Windows Terminal

Certain Windows updates or configuration changes may alter Registry keys, affecting how Windows locates wt.exe. If the path in the Registry is incorrect or missing, the Terminal app will not launch properly.

  1. Open the Run dialog by pressing Win + R.
  2. Type regedit and click OK to launch the Registry Editor.
    Opening the registry editor
    Opening the registry editor
  3. Navigate to the following path:
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\wt.exe
  4. In this folder, identify the values named (Default) and Path.
  5. Double-click each value and ensure the path correctly points to your wt.exe file. For most installations, this path will be similar to:
    C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.16.10262.0_x64__8wekyb3d8bbwe
  6. After updating the path, restart your computer to apply the changes.

Correct registry paths allow Windows to locate and launch Windows Terminal without errors.

5. Reinstall Windows Terminal

If the wt.exe file is missing or has a file size of zero, reinstalling Windows Terminal can restore the application with clean files and default settings. This process is effective for resolving persistent launch errors.

5.1. Uninstalling Windows Terminal

  1. Open the Start Menu by pressing the Win key.
  2. Find Windows Terminal under “Recently added.”
  3. Right-click and choose Uninstall.
    Uninstalling the Windows terminal preview
    Uninstalling the Windows terminal preview
    Tip: Restart your computer after uninstalling to ensure all changes are implemented.
  4. Restart your PC after uninstallation is complete.

5.2. Reinstalling Windows Terminal from the Microsoft Store

  1. Launch Microsoft Store from the Start Menu.
  2. Type “Windows Terminal” into the search bar and press Enter.
  3. Click Install and wait for the process to complete.
    Installing Windows Terminal
    Installing Windows Terminal

5.3. Reinstalling Windows Terminal Using PowerShell

  1. Press the Win key to open Start, then type Powershell and choose Run as administrator.
    Running powershell as an administrator
    Running PowerShell as an administrator
  2. Enter the following command to reinstall Windows Terminal:
    get-appxpackage Microsoft.WindowsTerminal -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Reinstalling Windows Terminal ensures that missing or corrupted files are replaced, resolving launch and executable detection issues.

6. Perform an In-Place Upgrade

If all other methods fail, performing an in-place upgrade can repair your Windows installation without affecting your personal files or applications. An in-place upgrade reinstalls system files, resolving deeper issues that standard troubleshooting cannot fix. For detailed instructions, refer to this guide on how to perform an in-place upgrade.

ABOUT THE AUTHOR

Muhammad Zubyan


Muhammad Zubyan is a certified Google IT Support Professional with over 7 years of extensive experience. He has worked on more than 1500 computers, gaining valuable insights that enable him to detect and troubleshoot any complicated root cause of Windows-related issues and errors. In addition to managing Appuals as a Senior Editor, he is currently developing his own Game Optimization program that caters to both gamers and casual users alike.