microsoft / microsoft/PowerToys
Cannot uninstall
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
99.1
### Installation method
PowerToys auto-update
### Area(s) with issue?
General
### Steps to reproduce
Unable to uninstall Power toys. Microsoft tech fixed my computer files were missing or corrupted. The uninstaller points me to this.6298:6DE4][2026-07-24T20:30:22]i001: Burn x64 v5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78, Windows v10.0 x64 (Build 26220: Service Pack 0), path: C:\Users\jd901\AppData\Local\Package Cache\{41E2C2B7-4438-47DF-A75A-8AC206DC754A}\PowerToysUserSetup-0.99.1-x64.exe
[6298:6DE4][2026-07-24T20:30:22]i000: Initializing formatted variable 'InstallFolder' to value '[LocalAppDataFolder]PowerToys'
[6298:6DE4][2026-07-24T20:30:22]i000: Initializing string variable 'BundleUpgradeCode' to value '6341382d-c0a9-4238-9188-be9607e3fab2'
[6298:6DE4][2026-07-24T20:30:22]i000: Initializing version variable 'MinimumVersion' to value '0.0.0.0'
[6298:6DE4][2026-07-24T20:30:22]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.99.1'
[6298:6DE4][2026-07-24T20:30:22]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[6298:6DE4][2026-07-24T20:30:22]i000: Initializing version variable 'DetectedPowerToysUserVersion' to value '0.0.0.0'
[6298:6DE4][2026-07-24T20:30:22]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0'
[6298:6DE4][2026-07-24T20:30:22]i009: Command Line: '/uninstall'
[6298:6DE4][2026-07-24T20:30:22]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\jd901\AppData\Local\Temp\powertoys-bootstrapper-msi-0.99.1_20260724203022.log'
[6298:3A5C][2026-07-24T20:30:22]i000: WIXSTDBA: LoadBAFunctions() - BAFunctions DLL C:\Users\jd901\AppData\Local\Temp\{D5C0578E-10C8-4188-B255-01BD86581877}\.ba\SilentFilesInUseBAFunction.dll
[6298:3A5C][2026-07-24T20:30:22]i000: *** CREATEBAFUNCTIONS CALLED *** BA Function DLL is being loaded!
[6298:3A5C][2026-07-24T20:30:22]i000: *** BA FUNCTION CONSTRUCTOR *** CSilentFilesInUseBAFunctions created
[6298:3A5C][2026-07-24T20:30:22]i000: *** CREATEBAFUNCTIONS *** Created CSilentFilesInUseBAFunctions object
[6298:3A5C][2026-07-24T20:30:22]i000: *** CREATEBAFUNCTIONS *** OnCreate completed successfully
[6298:3A5C][2026-07-24T20:30:22]i000: *** CREATEBAFUNCTIONS SUCCESS *** BA Function system initialized
[6298:3A5C][2026-07-24T20:30:22]i000: Setting version variable 'WixBundleFileVersion' to value '5.0.2.0'
[6298:3A5C][2026-07-24T20:30:22]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[6298:6DE4][2026-07-24T20:30:22]i100: Detect begin, 3 packages
[6298:3A5C][2026-07-24T20:30:22]i000: *** CUSTOM BA FUNCTION SYSTEM ACTIVE *** Running detect begin BA function. fCached=1, registrationType=2, cPackages=3, fCancel=0
[6298:6DE4][2026-07-24T20:30:22]i000: Setting version variable 'DetectedPowerToysUserVersion' to value '0.99.1'
[6298:6DE4][2026-07-24T20:30:22]i000: Product or related product not found: {42B84BF7-5FBF-473B-9C8B-049DC16F7708}
[6298:6DE4][2026-07-24T20:30:22]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.0.0.0'
[6298:6DE4][2026-07-24T20:30:22]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '26220'
[6298:6DE4][2026-07-24T20:30:22]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1
[6298:6DE4][2026-07-24T20:30:22]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}'
[6298:6DE4][2026-07-24T20:30:22]i000: Setting numeric variable 'HasWebView2PerUser' to value 0
[6298:6DE4][2026-07-24T20:30:22]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true.
[6298:6DE4][2026-07-24T20:30:22]i101: Detected package: TerminatePowerToys, state: Absent, cached: No, install registration state: (permanent), cache registration state: (permanent)
[6298:6DE4][2026-07-24T20:30:22]i101: Detected package: WebView2, state: Present, cached: Yes, install registration state: (permanent), cache registration state: (permanent)
[6298:6DE4][2026-07-24T20:30:22]i101: Detected package: PowerToysUserSetup_0.99.1_x64.msi, state: Present, cached: Yes, install registration state: Present, cache registration state: Present
[6298:3A5C][2026-07-24T20:30:22]i052: Condition 'MinimumVersion >= DetectedPowerToysVersion' evaluates to true.
[6298:3A5C][2026-07-24T20:30:22]i052: Condition 'TargetPowerToysVersion >= DetectedPowerToysUserVersion OR WixBundleInstalled' evaluates to true.
[6298:3A5C][2026-07-24T20:30:22]i052: Condition 'DetectedWindowsBuildNumber >= 19041 OR WixBundleInstalled' evaluates to true.
[6298:6DE4][2026-07-24T20:30:22]i199: Detect complete, result: 0x0, registration state: Full, cached: Yes, eligible for cleanup: No
[6298:3A5C][2026-07-24T20:30:22]i052: Condition 'WixStdBAUpdateAvailable' evaluates to false.
[6298:6DE4][2026-07-24T20:30:25]i200: Plan begin, 3 packages, action: Uninstall
[6298:3A5C][2026-07-24T20:30:25]i000: *** CUSTOM BA FUNCTION SYSTEM ACTIVE *** Running plan begin BA function. cPackages=3, fCancel=0
[6298:3A5C][2026-07-24T20:30:25]i000: WIXSTDBA: Planned package: PowerToysUserSetup_0.99.1_x64.msi, wixstdba requested: Absent, bafunctions requested: Absent
[6298:3A5C][2026-07-24T20:30:25]i000: WIXSTDBA: Planned package: WebView2, wixstdba requested: Absent, bafunctions requested: Absent
[6298:3A5C][2026-07-24T20:30:25]i000: WIXSTDBA: Planned package: TerminatePowerToys, wixstdba requested: Absent, bafunctions requested: Absent
[6298:3A5C][2026-07-24T20:30:25]i000: WIXSTDBA: Planned rollback boundary: WixDefaultBoundary, wixstdba requested transaction: No, bafunctions requested transaction: No
[6298:3A5C][2026-07-24T20:30:25]i052: Condition 'false' evaluates to false.
[6298:3A5C][2026-07-24T20:30:25]i000: WIXSTDBA: Planned MSI package: PowerToysUserSetup_0.99.1_x64.msi, wixstdba requested: actionMsiProperty=1;uiLevel=258;disableExternalUiHandler=no, bafunctions requested: actionMsiProperty=1;uiLevel=258;disableExternalUiHandler=no
[6298:6DE4][2026-07-24T20:30:25]i000: Setting string variable 'WixBundleRollbackLog_PowerToysUserSetup_0.99.1_x64.msi' to value 'C:\Users\jd901\AppData\Local\Temp\powertoys-bootstrapper-msi-0.99.1_20260724203022_000_PowerToysUserSetup_0.99.1_x64.msi_rollback.log'
[6298:3A5C][2026-07-24T20:30:25]i052: Condition 'false' evaluates to false.
[6298:3A5C][2026-07-24T20:30:25]i000: WIXSTDBA: Planned MSI package: PowerToysUserSetup_0.99.1_x64.msi, wixstdba requested: actionMsiProperty=4;uiLevel=258;disableExternalUiHandler=no, bafunctions requested: actionMsiProperty=4;uiLevel=258;disableExternalUiHandler=no
[6298:6DE4][2026-07-24T20:30:25]i000: Setting string variable 'WixBundleLog_PowerToysUserSetup_0.99.1_x64.msi' to value 'C:\Users\jd901\AppData\Local\Temp\powertoys-bootstrapper-msi-0.99.1_20260724203022_000_PowerToysUserSetup_0.99.1_x64.msi.log'
[6298:6DE4][2026-07-24T20:30:25]w321: Skipping dependency registration on package with no dependency providers: WebView2
[6298:6DE4][2026-07-24T20:30:25]w321: Skipping dependency registration on package with no dependency providers: TerminatePowerToys
[6298:6DE4][2026-07-24T20:30:25]i222: Planned rollback boundary: 'WixDefaultBoundary', vital: Yes, transaction: No (default: No)
[6298:6DE4][2026-07-24T20:30:25]i201: Planned package: PowerToysUserSetup_0.99.1_x64.msi, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, default cache strategy: Keep, ba requested strategy: Keep, cache: NonVital, uncache: Yes, dependency: Unregister, expected install registration state: Absent, expected cache registration state: Absent
[6298:6DE4][2026-07-24T20:30:25]i201: Planned package: WebView2, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, default cache strategy: Keep, ba requested strategy: Keep, cache: No, uncache: No, dependency: None, expected install registration state: (permanent), expected cache registration state: (permanent)
[6298:6DE4][2026-07-24T20:30:25]i201: Planned package: TerminatePowerToys, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, default cache strategy: Remove, ba requested strategy: Remove, cache: No, uncache: Yes, dependency: None, expected install registration state: (permanent), expected cache registration state: (permanent)
[6298:6DE4][2026-07-24T20:30:25]i299: Plan complete, result: 0x0
[6298:6DE4][2026-07-24T20:30:25]i300: Apply begin
[6298:6DE4][2026-07-24T20:30:25]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{41E2C2B7-4438-47DF-A75A-8AC206DC754A}, options: 0x2, disable resume: No
[6298:6DE4][2026-07-24T20:30:25]i320: Registering bundle dependency provider: {41E2C2B7-4438-47DF-A75A-8AC206DC754A}, version: 0.99.1
[6298:6DE4][2026-07-24T20:30:25]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{41E2C2B7-4438-47DF-A75A-8AC206DC754A}, resume: Active, restart initiated: No, disable resume: No
[6298:4D04][2026-07-24T20:30:25]i304: Verified existing payload: PowerToysUserSetup_0.99.1_x64.msi at path: C:\Users\jd901\AppData\Local\Package Cache\{9BEF4F7B-FD8A-466E-B441-98390E7FFF0A}v0.99.1\PowerToysUserSetup-0.99.1-x64.msi.
[6298:3A5C][2026-07-24T20:30:25]i000: *** CUSTOM BA FUNCTION SYSTEM ACTIVE *** Running execute begin BA function. cExecutingPackages=1, fCancel=0
[6298:6DE4][2026-07-24T20:30:25]i326: Removed dependency: {41E2C2B7-4438-47DF-A75A-8AC206DC754A} on package provider: {9BEF4F7B-FD8A-466E-B441-98390E7FFF0A}_v0.99.1, package PowerToysUserSetup_0.99.1_x64.msi
[6298:6DE4][2026-07-24T20:30:25]i329: Removed package dependency provider: {9BEF4F7B-FD8A-466E-B441-98390E7FFF0A}_v0.99.1, package: PowerToysUserSetup_0.99.1_x64.msi
[6298:6DE4][2026-07-24T20:30:25]i301: Applying execute package: PowerToysUserSetup_0.99.1_x64.msi, action: Uninstall, path: (null), arguments: ' BOOTSTRAPPERINSTALLFOLDER="C:\Users\jd901\AppData\Local\PowerToys" MSIRESTARTMANAGERCONTROL="Disable" BUNDLEINFO="6341382d-c0a9-4238-9188-be9607e3fab2" ARPSYSTEMCOMPONENT="1" BURNMSIUNINSTALL=1 REBOOT=ReallySuppress IGNOREDEPENDENCIES=ALL'
[6298:6DE4][2026-07-24T20:30:25]e000: Error 0x80070654: Failed to uninstall MSI package.
[6298:6DE4][2026-07-24T20:30:25]e000: Error 0x80070654: Failed to configure per-user MSI package.
[6298:6DE4][2026-07-24T20:30:25]i319: Applied execute package: PowerToysUserSetup_0.99.1_x64.msi, result: 0x80070654, restart: None
[6298:6DE4][2026-07-24T20:30:25]e000: Error 0x80070654: Failed to execute MSI package.
[6298:6DE4][2026-07-24T20:30:25]i318: Skipped rollback of package: PowerToysUserSetup_0.99.1_x64.msi, action: Install, already: Present
[6298:6DE4][2026-07-24T20:30:25]i319: Applied rollback package: PowerToysUserSetup_0.99.1_x64.msi, result: 0x0, restart: None
[6298:6DE4][2026-07-24T20:30:25]i323: Registering package dependency provider: {9BEF4F7B-FD8A-466E-B441-98390E7FFF0A}_v0.99.1, version: 0.99.1, package: PowerToysUserSetup_0.99.1_x64.msi
[6298:6DE4][2026-07-24T20:30:25]i325: Registering dependency: {41E2C2B7-4438-47DF-A75A-8AC206DC754A} on package provider: {9BEF4F7B-FD8A-466E-B441-98390E7FFF0A}_v0.99.1, package: PowerToysUserSetup_0.99.1_x64.msi
[6298:6DE4][2026-07-24T20:30:25]i373: Calculating whether to keep registration
[6298:6DE4][2026-07-24T20:30:25]i374: package: TerminatePowerToys, install registration state: (permanent), cache registration state: (permanent)
[6298:6DE4][2026-07-24T20:30:25]i374: package: WebView2, install registration state: (permanent), cache registration state: (permanent)
[6298:6DE4][2026-07-24T20:30:25]i374: package: PowerToysUserSetup_0.99.1_x64.msi, install registration state: Present, cache registration state: Present
[6298:6DE4][2026-07-24T20:30:25]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{41E2C2B7-4438-47DF-A75A-8AC206DC754A}, resume: ARP, restart: None, disable resume: No, default registration: Full, ba requested registration: Full
[6298:6DE4][2026-07-24T20:30:25]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{41E2C2B7-4438-47DF-A75A-8AC206DC754A}, resume: ARP, restart initiated: No, disable resume: No
[6298:3A5C][2026-07-24T20:30:25]i000: Setting string variable 'WixStdBARestartRequired' to value ''
[6298:6DE4][2026-07-24T20:30:26]i399: Apply complete, result: 0x80070654, restart: None, ba requested restart: No
[6298:3A5C][2026-07-24T20:30:26]i052: Condition 'WixBundleAction = 2' evaluates to false.
[6298:3A5C][2026-07-24T20:30:26]i052: Condition 'WixBundleAction = 3' evaluates to false.
[6298:3A5C][2026-07-24T20:30:26]i052: Condition 'WixBundleAction = 4' evaluates to true.
[6298:3A5C][2026-07-24T20:30:26]i052: Condition 'WixStdBARestartRequired' evaluates to false.
### ✔️ Expected Behavior
Uninstalling Power toys since it is suspect
### ❌ Actual Behavior
_No response_
### Upload Bug Report ZIP-file
_No response_
### Additional Information
_No response_
### Other Software
_No response_
Contributor guide
Research direction
Start with the attached Burn log for PowerToysUserSetup-0.99.1-x64.exe and the /uninstall entry point, focusing on the MSI failure 0x80070654. Reproduce the uninstall failure and determine whether the per-user MSI can be removed; done means PowerToys uninstalls successfully without the reported error.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100