So here’s how you can get the HEVC codec for free on windows.

  1. Click “Get the link to the HEVC product from the microsoft store and copy it”
  2. In my case HEVC link its: https://apps.microsoft.com/detail/9N4WGH0Z6VHQ
  3. Paste it on https://store.rg-adguard.net/ “Online link generator for Microsoft Store.”
  4. You’ll get a list, download the latest .appxbundle
  5. If double clicking it does not install it, use the following command (assuming your download is on the DOWNLOADS folder, if not, correct the path.
Add-AppxPackage -Path "$env:USERPROFILE\Downloads\Microsoft.HEVCVideoExtension_2.4.39.0_neutral_~_8wekyb3d8bbwe.AppxBundle"

METHOD 2

Method 2: If you get a dependency error (rare on Win10 22H2/21H2)Run these two commands one after the other:

powershell

Add-AppxPackage https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage "$env:USERPROFILE\Downloads\Microsoft.HEVCVideoExtension_2.4.39.0_neutral_~_8wekyb3d8bbwe.AppxBundle"