Installing Windows Terminal without Microsoft Store.

Windows Terminal is a new terminal designed for convenient work with command-line utilities and shells like cmd.exe and PowerShell. The terminal supports tabs, panes, customization of profiles, styles, and configurations. If you have WSL or Azure Cloud Shell installed, shells for these environments are automatically added to Windows Terminal.

Windows Terminal is pre-installed in Windows 11 and Windows 10 22H2. In other versions of Windows, it needs to be installed manually. Microsoft recommends installing Windows Terminal through the Microsoft Store, as this ensures you get the latest version of the terminal, which will be automatically updated (https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab).

If you have Microsoft Store disabled, absent, or damaged (for example, in Windows 10 LTSC or Windows Server 2022), you can install Windows Terminal:

  • To install Windows Terminal manually, you can download the latest release from GitHub and install the MSIX file in Windows. 
  • Alternatively, you can use package managers like Chocolatey or WinGet to install Windows Terminal.

To manually install Windows Terminal, you need to download the msixbundle package from the official project page on GitHub, which can be found at https://github.com/microsoft/terminal/releases. Locate the latest release of the terminal for your version of Windows in the Assets section and download the file.

You can also manually download the latest version of the Windows Terminal APPX/MSIXbundle from the Microsoft Store.

You can download the file using the Invoke-WebRequest cmdlet: 

Invoke-WebRequest -Uri https://github.com/microsoft/terminal/releases/download/v1.16.10261.0/Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle
You can install the package in Windows using the Add-AppxPackage cmdlet:

Add-AppxPackage -Path .\Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle
You can check if the package has been successfully installed by:

Get-AppxPackage *WindowsTerminal* -AllUsers

If you are using PowerShell Core 7.x, you need to first import the AppX/MSIX package installation module: Import-Module Appx -UseWindowsPowerShell
When manually installing Windows Terminal on older versions of Windows 10, you may encounter an error:

Add-AppPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
Windows cannot install package Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.UWPDesktop" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30035.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.UWPDesktop" currently installed are .....
Before installing the Microsoft.WindowsTerminal package, you need to download and install the VCLibs framework. You can download the VCLibs package from the official download page (https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/cpp/libraries/c-runtime-packages-desktop-bridge) and install it using the command:

Add-AppPackage .\Microsoft.VCLibs.x64.14.00.Desktop.appx
When installing the Microsoft.WindowsTerminal package on Windows Server 2019 or 2016, you may encounter an error:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFD, A Prerequisite for an install could not be satisfied.
Windows cannot install package Microsoft.WindowsTerminal_1.16.10261.0_x64__8wekyb3d8bbwe because this package is not compatible with the device. The package requires OS version 10.0.19041.0 or higher on the Windows.Mobile device family. The device is currently running OS version 10.0.17763.107.

As you can see, the package checks the OS during installation. To install Windows Terminal, you need a build no lower than Windows 1903 (10.0.18362.0). Therefore, it is not possible to install Windows Terminal on Windows Server 2019.

If you encounter error 0x80073CFD in Windows 10 when installing Microsoft.WindowsTerminal, try installing updates or using an earlier version of Microsoft.WindowsTerminal. 
To download and install the latest version of the Microsoft.WindowsTerminal package using WinGet package manager, follow these steps:

winget install --id=Microsoft.WindowsTerminal -e

To install the latest version of Microsoft Windows Terminal using Chocolatey, follow these steps:

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install microsoft-windows-terminal

You can install an older version of the package using the following command:

choco install -y microsoft-windows-terminal --version 1.12.10732.0
During installation of the package through 'choco install' on Windows Server 2019, an error occurs:

ERROR: This package requires at least Windows 10 version 1903/OS build 18362.x.
The install of microsoft-windows-terminal was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyInstall.ps1'.

To launch Windows Terminal, run the command:

wt.exe

Important aspects. 

To properly perform offline integration, you need to download the ZIP PreinstallKit for the corresponding version of Windows, unpack it, and execute the command as an administrator:

DISM.exe /Online /Add-ProvisionedAppxPackage /PackagePath:efc17b22f5144899a8ae73644add609f.msixbundle /DependencyPackagePath:Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe.appx /DependencyPackagePath:Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x86__8wekyb3d8bbwe.appx /LicensePath:efc17b22f5144899a8ae73644add609f_License1.xml

You can simply add the license skip parameter:

/SkipLicense
However, in this case, an internet connection is required for the application to launch after installation. This only applies to free applications.

Отправить комментарий

Добавлять новые комментарии запрещено.*

Новые Старые