Reinstall Windows on Windows 11
Even a fresh install can have non working application. Stakes are just a bit higher with a package manager.
For a while Windows has had a builtin package manager called WinGet.
From time to time I have encountered that a newly installed Windows machine s problems running WinGet.
As the old saying says:
Have tried to turn it off and on?
With software you will need to reinstall, in case of WinGet Force Install! There is a install script for WinGet hosted in PSGallery:
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
Install-Script -Name winget-install -Force