Windows 10: Powershell installation via winget is stuck at finalizing stage

Discus and support Powershell installation via winget is stuck at finalizing stage in Windows 10 Gaming to solve the problem; I have tried installing Powershell many times, both via winget and by downloading the .msi installer but it apparently never completes succesfully. The... Discussion in 'Windows 10 Gaming' started by 9iovaferra, Dec 27, 2024.

  1. Powershell installation via winget is stuck at finalizing stage


    I have tried installing Powershell many times, both via winget and by downloading the .msi installer but it apparently never completes succesfully. The installer always gets stuck at the very last stage a few seconds remaining, according to the progress bar, no matter how long I wait I once let it run overnight.Is there something I can try other than doing a fresh reinstall of Windows?This is the log from 'C:\Users\<user>\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.PowerShell.7.4.6.0-2024-12-27-17-08-05.823.log':=== Log

    :)
     
    9iovaferra, Dec 27, 2024
    #1

  2. powershell error running winget opens a "open with" window in windows 11

    Troubleshooting here:

    winget-cli/doc/troubleshooting at master · microsoft/winget-cli · GitHub

    Specifically, something related to this:

    1. The App Installer did not automatically add the PATH environment variable. You should add the path environment variable. The value to add is "%userprofile%\AppData\Local\Microsoft\WindowsApps". You can verify this by running %LOCALAPPDATA%\Microsoft\WindowsApps\winget from a command-prompt or & "$env:LOCALAPPDATA\Microsoft\WindowsApps\winget" from a powershell. If the command runs then, but not before, then you very likely have a missing PATH environment component.
     
    Sumit (Volunteer Moderator), Dec 27, 2024
    #2
  3. RickC Win User
    winget

    Go to Settings > Apps > Apps & features then, in the right-hand pane, click on the link for Manage app execution aliases.

    If the winget client has installed properly then you should see this:


    Powershell installation via winget is stuck at finalizing stage 335311d1622406093t-winget-winget.png


    If you don't see this then either the installer hasn't added itself to the PATH environment variable or you haven't signed out/signed in (or both... there are issues reported with this first release).

    Try installing it again:

    https://github.com/microsoft/winget-...bwe.appxbundle

    You should see this:


    Powershell installation via winget is stuck at finalizing stage 335320d1622408455t-winget-winget_install.png


    If it installs successfully then you should see this:


    Powershell installation via winget is stuck at finalizing stage 335321d1622408472t-winget-winget_install_success.png


    In a console (PowerShell or CMD), the command winget list should result in something like this:


    Powershell installation via winget is stuck at finalizing stage 335322d1622408489t-winget-winget_list.png


    Hope this helps...
     
    RickC, Dec 27, 2024
    #3
  4. Bree Win User

    Powershell installation via winget is stuck at finalizing stage

    winget

    You have installed it first, haven't you? It doesn't come with Windows. If so, try a Command Prompt rather than Powershell.

    https://docs.microsoft.com/en-us/win...anager/winget/
     
Thema:

Powershell installation via winget is stuck at finalizing stage

Loading...
  1. Powershell installation via winget is stuck at finalizing stage - Similar Threads - Powershell installation via

  2. Powershell installation via winget is stuck at finalizing stage

    in Windows 10 Software and Apps
    Powershell installation via winget is stuck at finalizing stage: I have tried installing Powershell many times, both via winget and by downloading the .msi installer but it apparently never completes succesfully. The installer always gets stuck at the very last stage a few seconds remaining, according to the progress bar, no matter how...
  3. Dev Home Installation failed via winget from PowerShell

    in Windows 10 Gaming
    Dev Home Installation failed via winget from PowerShell: Hello Everyone:I was trying to install all updates/upgrades via PowerShell Winget, but it failed with below error message:--------------------------------------------------------Installing dependencies: This package requires the following dependencies: - Packages...
  4. Dev Home Installation failed via winget from PowerShell

    in Windows 10 Software and Apps
    Dev Home Installation failed via winget from PowerShell: Hello Everyone:I was trying to install all updates/upgrades via PowerShell Winget, but it failed with below error message:--------------------------------------------------------Installing dependencies: This package requires the following dependencies: - Packages...
  5. Fresh w10 install crashes in final stage

    in Windows 10 Gaming
    Fresh w10 install crashes in final stage: So I have a fujitsu q520 that was running w10 and used a tv screen via dp adaptor and hdmi. i bought a monitor and didn't get an image through that cable so I used a dvi lead and all was good kind of during the changing of leads because i had no screen i had to power off...
  6. Fresh w10 install crashes in final stage

    in Windows 10 Software and Apps
    Fresh w10 install crashes in final stage: So I have a fujitsu q520 that was running w10 and used a tv screen via dp adaptor and hdmi. i bought a monitor and didn't get an image through that cable so I used a dvi lead and all was good kind of during the changing of leads because i had no screen i had to power off...
  7. Fresh w10 install crashes in final stage

    in Windows 10 Installation and Upgrade
    Fresh w10 install crashes in final stage: So I have a fujitsu q520 that was running w10 and used a tv screen via dp adaptor and hdmi. i bought a monitor and didn't get an image through that cable so I used a dvi lead and all was good kind of during the changing of leads because i had no screen i had to power off...
  8. Winget error, i cannot install some apps in windows terminal or regular powershell using winget

    in Windows 10 Ask Insider
    Winget error, i cannot install some apps in windows terminal or regular powershell using winget: [ATTACH] I am the only account on my windows 10 home and am administrator. I get this error while trying to install discord, it's not happening with every app though, only a few. In regular powershell ran as admin it's giving me the same error with path :...
  9. Install Debian LXSS via PowerShell

    in Windows 10 Installation and Upgrade
    Install Debian LXSS via PowerShell: Hello, I googled and found instructions on how to install Ubuntu LXSS via PowerShell with Code: Get-AppxPackage https://aka.ms/Ubuntu...[/quote] (I dont rememer exact wording here). Now I want to do the same with Debian? Which command to be used to LIST SEARCH Debian LXSS...
  10. Office 2016 installation stuck "Finalizing Installation"

    in Microsoft Office and 365
    Office 2016 installation stuck "Finalizing Installation": Microsoft Office 2016 won't finish installing, it has been stuck on "finalizing installation. This may take a few minutes" for over a half an hour now. the progress bar is about three quarters full and has been for more than a half an hour. I googled the problem but only junk...