How to get around PowerToys update failing?

Linnea Pedersen 0 Reputation points
2024-10-09T07:09:34.2333333+00:00
  1. I cannot install the newest version of PowerToys. My current version is 0.82.0, I want to install v0.85.1.

In the Settings UI (Apps -> Installed Apps), it seems as if I have both versions already - both giving me a "Setup Failed" message when trying to uninstall them.

Installing through the link to MS Store (which opens the app on device), you provided, gives me error Code: 0x8A150006.

This is the log when failing at step 2:

56C4:5530][2024-10-09T08:42:09]i001: Burn v3.14.[56C4:5530][2024-10-09T08:42:09]i001: Burn v3.14.1.8722, Windows v10.0 (Build 22621: Service Pack 0), path: C:\ProgramData\Package Cache\{228b8326-dca9-4139-88df-d5001d11b6eb}\PowerToysSetup-0.85.1-x64.exe
[56C4:5530][2024-10-09T08:42:09]i000: Initializing string variable 'InstallFolder' to value '[ProgramFiles64Folder]PowerToys'
[56C4:5530][2024-10-09T08:42:09]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys\'
[56C4:5530][2024-10-09T08:42:09]i000: Initializing version variable 'MinimumVersion' to value '0.0.0.0'
[56C4:5530][2024-10-09T08:42:09]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.85.1'
[56C4:5530][2024-10-09T08:42:09]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[56C4:5530][2024-10-09T08:42:09]i000: Initializing version variable 'DetectedPowerToysUserVersion' to value '0.0.0.0'
[56C4:5530][2024-10-09T08:42:09]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[56C4:5530][2024-10-09T08:42:09]i009: Command Line: '"-burn.clean.room=C:\ProgramData\Package Cache\{228b8326-dca9-4139-88df-d5001d11b6eb}\PowerToysSetup-0.85.1-x64.exe" -burn.filehandle.attached=568 -burn.filehandle.self=576 /uninstall'
[56C4:5530][2024-10-09T08:42:09]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\DKLPE1\AppData\Local\Temp\powertoys-bootstrapper-msi-0.85.1_20241009084209.log'
[56C4:5530][2024-10-09T08:42:09]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[56C4:BFF8][2024-10-09T08:42:09]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[56C4:BFF8][2024-10-09T08:42:09]i000: Setting version variable 'WixBundleFileVersion' to value '0.85.1.0'
[56C4:5530][2024-10-09T08:42:09]i100: Detect begin, 3 packages
[56C4:5530][2024-10-09T08:42:09]i000: Setting version variable 'DetectedPowerToysUserVersion' to value '0.82.0.0'
[56C4:5530][2024-10-09T08:42:09]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.85.1.0'
[56C4:5530][2024-10-09T08:42:09]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '22621'
[56C4:5530][2024-10-09T08:42:09]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[56C4:5530][2024-10-09T08:42:09]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[56C4:5530][2024-10-09T08:42:09]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1
[56C4:5530][2024-10-09T08:42:09]i102: Detected related bundle: {75eb3a07-342e-40f8-b0a3-45fdd19ca546}, type: Upgrade, scope: PerUser, version: 0.82.0.0, operation: Non
[56C4:5530][2024-10-09T08:42:09]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true.
[56C4:5530][2024-10-09T08:42:09]i101: Detected package: TerminatePowerToys, state: Absent, cached: None
[56C4:5530][2024-10-09T08:42:09]i101: Detected package: WebView2, state: Present, cached: None
[56C4:5530][2024-10-09T08:42:09]i101: Detected package: PowerToysSetup_0.85.1_x64.msi, state: Present, cached: Complete
[56C4:5530][2024-10-09T08:42:09]i052: Condition 'MinimumVersion >= DetectedPowerToysUserVersion' evaluates to false.
[56C4:5530][2024-10-09T08:42:09]e000: PowerToys is already installed on this system for current user. We recommend first uninstalling that version before installing this one.
[56C4:5530][2024-10-09T08:42:09]e000: Error 0x81f40001: Bundle condition evaluated to false: MinimumVersion >= DetectedPowerToysUserVersion
[56C4:5530][2024-10-09T08:42:09]i199: Detect complete, result: 0x0 
[56C4:5530][2024-10-09T08:42:09]i199: Detect complete, result: 0x0

I have posted about this issue here as well (link) - and I found this very forum from this post
(link2). Hope to get an answer :)

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,617 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,286 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Daisy Zhou 26,946 Reputation points Microsoft Vendor
    2024-10-10T07:26:12.24+00:00

    Hello Linnea Pedersen,

    Thank you for posting in Q&A forum.

    The error code 0x8A150006 can often be related to access permissions or conflicts during the installation process.

    1. Clear the temporary files in your system. You can do this by running Disk Cleanup or manually deleting files in the %temp% folder.

    2. Ensure your user account has the necessary permissions to access the %temp% folder. You can do this by navigating to the folder, right-clicking, selecting "Properties," and adjusting the security settings to grant full control to your user account

    3.  Download the installer directly from the official GitHub page and try installing it manually.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


  2. Jannik Meibom 0 Reputation points
    2024-12-27T23:07:34.2033333+00:00

    Hi Linnea, I had the exact same issue today and stumbled across your posts. I had two versions installed 0.87.0 and 0.87.1 I couldn't uninstall any of the two. I got the same error message Setup Failed. As you write, I too, only had one account; my Entra ID account (aka AD account or company account). So, I created a new local user account:

    Go to Computer Management -> Local Users and Groups -> Users and add this user to the Administrator group, thus making him a Local Administrator.

    User's image

    Then...

    1. Switch to the new account.
    2. Go to Apps -> Installed apps.
    3. Search for PowerToysUser's image
    4. I then only had one version of PowerToys.
    5. I was then able to uninstall version 0.87.1.
    6. Switch back to your Entra ID account.
    7. Again, go to Installed apps and there should be only one version, 0.87.0.
    8. Uninstall this version as well (it is not the latest).
    9. Download the latest version from GitHub: https://github.com/microsoft/PowerToys/releases I downloaded the Machine wide - x64 version and installed this.
    10. Note... remember to delete your local administrator account. It might not be your companys policy to have local administrators.

    All is working as intended for me now. I hope it solves your issue.

    /Jannik

     

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.