How to run winget as admin in powershell

24 January 2025

Execute in PS as admin the following:

Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.Winget.Source_8wekyb3d8bbwe

After that. You can upgrade your packages with no problem with the command: winget upgrade --all

More info

Check out more IT nuggets at www.ruizpelaez.com.

A bit (1,0) about me:

I solve IT problems. I make your Company better.