Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winget: The term 'winget' is not recognized as a name of a cmdlet #1428

Closed
insinfo opened this issue Sep 2, 2021 · 7 comments
Closed

winget: The term 'winget' is not recognized as a name of a cmdlet #1428

insinfo opened this issue Sep 2, 2021 · 7 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Attention Issue needs attention from Microsoft
Milestone

Comments

@insinfo
Copy link

insinfo commented Sep 2, 2021

winget: The term 'winget' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

https://github.com/microsoft/winget-cli/releases/download/v1.0.11692/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle

image

image

PS C:\WINDOWS\system32> Get-AppxPackage microsoft.DesktopAppInstaller


Name              : Microsoft.DesktopAppInstaller
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 1.12.11692.0
PackageFullName   : Microsoft.DesktopAppInstaller_1.12.11692.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.12.11692.0_x64__8wekyb3d8bbwe
IsFramework       : False
PackageFamilyName : Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
Dependencies      : {Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x64__8wekyb3d8bbwe,
                    Microsoft.DesktopAppInstaller_1.12.11692.0_neutral_split.scale-100_8wekyb3d8bbwe,
                    Microsoft.DesktopAppInstaller_1.12.11692.0_neutral_split.language-pt_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : Store
Status            : Ok



PS C:\WINDOWS\system32> winget
winget : O termo 'winget' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável.
Verifique a grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1
+ winget
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (winget:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32> AppInstallerCLI.exe
AppInstallerCLI.exe : O termo 'AppInstallerCLI.exe' não é reconhecido como nome de cmdlet, função, arquivo de script
ou programa operável. Verifique a grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto
e tente novamente.
No linha:1 caractere:1
+ AppInstallerCLI.exe
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (AppInstallerCLI.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\system32>
@ghost ghost added the Needs-Triage Issue need to be triaged label Sep 2, 2021
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage Issue need to be triaged labels Sep 2, 2021
@jedieaston
Copy link
Contributor

Does it appear in your App execution aliases?

These instructions should work: https://www.windowscentral.com/how-manage-app-execution-aliases-windows-10

@insinfo
Copy link
Author

insinfo commented Sep 8, 2021

Does it appear in your App execution aliases?
image

@denelon
Copy link
Contributor

denelon commented Oct 1, 2021

@insinfo

We've published the v1.1 release candidate and updated our troubleshooting guide.

Can you confirm if this is still happening?

@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Oct 1, 2021
@denelon denelon added this to To do in Client-Current via automation Oct 1, 2021
@denelon denelon added this to To Do in Client-Bugs via automation Oct 1, 2021
@denelon denelon moved this from To do to Released in Client-Current Oct 1, 2021
@denelon denelon moved this from To Do to Done in Client-Bugs Oct 1, 2021
@denelon denelon added this to the v1.2-Client milestone Oct 1, 2021
@insinfo
Copy link
Author

insinfo commented Oct 1, 2021

image
it's working now

@ghost ghost added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Oct 1, 2021
@insinfo
Copy link
Author

insinfo commented Oct 1, 2021

I upgraded my machine with an SSD and upgraded windows to version 21H1 today so I don't know if the upgrade resolved the issue or was it something else

@denelon
Copy link
Contributor

denelon commented Oct 1, 2021

@insinfo thanks for confirming!

@denelon denelon closed this as completed Oct 1, 2021
Client-Current automation moved this from Released to Done Oct 1, 2021
@denelon denelon removed this from Done in Client-Current Jul 11, 2022
@pimentelleo
Copy link

I am with this issue, but i really need to do something to fix as changing entirely OS isn't an option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Attention Issue needs attention from Microsoft
Projects
Development

No branches or pull requests

4 participants