Software⏱️ 3 min read📅 2026-06-11

How to Fix 0xc0000022 Error – Lauch Windows Terminal via alias "wt.exe" from win+r causes error 0xc0000022

Windows Terminal error 0xc0000022 fix

Quick Answer: Check permissions and ensure correct path to vcruntime140.dll in Windows Terminal package folder.

The error code 0xc0000022 occurs when attempting to launch Windows Terminal via alias 'wt.exe' or 'wt' from the Win+R shortcut. This issue affects users who have installed Windows Terminal and are experiencing difficulties launching it through this method.

This error is frustrating because it prevents users from using a convenient and familiar shortcut to launch their terminal emulator of choice. In this troubleshooting guide, we will walk you through the steps to resolve this issue.

🔍 Why This Happens

  • The primary reason for this error is due to the Windows Terminal package folder not being accessible by the 'wt.exe' alias. This can occur when the package folder's permissions are set incorrectly, preventing the process from reading required DLLs.
  • An alternative cause could be related to a corrupted or outdated version of the Windows Terminal package, which may require further investigation and potential reinstallation.

🔧 Proven Troubleshooting Steps

Resetting Package Folder Permissions

  1. Step 1: Step 1: Open the Command Prompt as an administrator. Press Win+X and select Command Prompt (Admin).
  2. Step 2: Step 2: Navigate to the 'C:\Program Files\\' folder using the command `cd C:\Program Files\`.
  3. Step 3: Step 3: Run the command `icacls C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.11.3471.0_x64__8wekyb3d8bbwe|more` to view the permissions of the package folder.
  4. Step 4: Step 4: Run the command `icacls C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.11.3471.0_x64__8wekyb3d8bbwe\wt.exe /inheritance:r` to reset the permissions for the 'wt.exe' alias.
  5. Step 5: Step 5: Restart the Command Prompt and attempt to launch Windows Terminal via the 'wt.exe' alias again.

Reinstalling Windows Terminal

  1. Step 1: Step 1: Open the Settings app by pressing Win+I.
  2. Step 2: Step 2: Click on 'Apps' and then select 'Apps & features'.
  3. Step 3: Step 3: Locate Windows Terminal in the list of installed apps, click on it, and select 'Uninstall'.
  4. Step 4: Step 4: Wait for the uninstallation process to complete and then restart your system.
  5. Step 5: Step 5: After restarting, go to the Microsoft Store app and reinstall Windows Terminal.

✨ Wrapping Up

To resolve the error code 0xc0000022 when launching Windows Terminal via alias 'wt.exe' or 'wt', first try resetting the package folder permissions by running the 'wt.exe' alias with elevated privileges. If this fails, attempt to reinstall Windows Terminal from the Microsoft Store app. If both methods do not work, further troubleshooting may be necessary.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions