terminal: error 0x80070002 - register windows.sharedFonts file not found

Environment

Microsoft Windows [Version 10.0.18362.356]

Steps to reproduce

Attempting to install via the Chocolatey package (pre-built msxibundle)

Expected behavior

Install Succeeds

Actual behavior

Install gets to 89% and then fails with the following message: error 0x80070002: While processing the request, the system failed to register the windows.sharedFonts extension due to the following error: The system cannot find the file specified.

There is no reference to which file it is looking for.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 3
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Solved exactly the same error by installing it NOT as admin.

Hi there, I’m having this issue too on a corporate laptop : I’ve tried with and elevated ps prompt (wich use a different account because users haven’t administrators rights) with no luck. The same without admin rights … At last, i tried while logged on with an administrator account and the installation complete successfully.

Another way is to locate file and manually install it : dism.exe /online /Add-ProvisionedAppxPackage /PackagePath:"C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\Microsoft.WindowsTerminal_1.0.1401.0_8wekyb3d8bbwe.msixbundle" /SkipLicense

WIN+R and wt

i’m also having this issue with the same error log. p.s. this is also corporate laptop