Closed youngunix closed 7 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Can you share the output from the following command? I find it very odd that Get-AppxPackage
wouldn't be working, as that has nothing to do with winget. Does Get-AppxPackage *Microsoft.UI.Xaml*
work?
systeminfo | findstr /B /C:"OS Name" /B /C:"OS Version"
Can you share the output from the following command? I find it very odd that
Get-AppxPackage
wouldn't be working, as that has nothing to do with winget. DoesGet-AppxPackage *Microsoft.UI.Xaml*
work?systeminfo | findstr /B /C:"OS Name" /B /C:"OS Version"
It has been over 5min and Get-AppxPackage *Microsoft.UI.Xaml*
still hanging with no output.
OS Name: Microsoft Windows 11 Enterprise
OS Version: 10.0.22631 N/A Build 22631
Definitely seems like it must be something on the OS side then, since the Get-AppxPackage
shouldn't hang like that. Explorer also shouldn't be freezing on launch. The only thing I can think may help fix those issues is a clean install
Well, the command Get-AppxPackage *Microsoft.UI.Xaml*
just now displayed the output but it's still hanging, which means it's still searching or working on whatever it needs to do.
I want to blame the SSD but it's not fair since 3rd party apps work fine.
I am suspecting one of the group policies I activated is the culprit.
I wasn't able to figure out what caused this issue, but I was able to solve it.
Steps to fix this problem if anyone finds themselves in the same situation:
Brief description of your issue
Issuing commands such as
winget upgrade -r -u
orwinget list
does nothing, just the cursor blinking. I tried installing winget viaAdd-AppxPackage -Patch C:\Users\dev\Downloads\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
and still nothing.I am also noticing that explorer freezes on launch and is unusable & launching notepad does nothing.
Prior to this issue:
Steps to reproduce
undetermined.
Expected behavior
execute the commands successfully and output the results.
Actual behavior
nothing happens.
Environment