microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.93k stars 6.59k forks source link

0x80070005 - access denied #33891

Open HaruNaruing opened 4 months ago

HaruNaruing commented 4 months ago

Microsoft PowerToys version

v0.82.1

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

Installer

Steps to reproduce

Opening the installer as an admin.

✔️ Expected Behavior

Normal instalation

❌ Actual Behavior

if I don't run it as an admin it gives me that screen but if I do run it as an admin I get a bunch of errors and I can't open PowerToys image_2024-07-17_201734104 image image_2024-07-17_201840667 image_2024-07-17_201849163

Other Software

No response

github-actions[bot] commented 4 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!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

HaruNaruing commented 4 months ago

[44CC:360C][2024-07-17T20:23:05]i001: Burn v3.14.1.8722, Windows v10.0 (Build 22631: Service Pack 0), path: C:\Users\lismo\AppData\Local\Temp{199D0902-F352-4AEF-BACA-0CD21398BF30}.cr\PowerToysUserSetup-0.81.0-x64.exe [44CC:360C][2024-07-17T20:23:05]i000: Initializing string variable 'InstallFolder' to value '[LocalAppDataFolder]PowerToys' [44CC:360C][2024-07-17T20:23:05]i000: Initializing string variable 'MsiLogFolder' to value '[LocalAppDataFolder]\Microsoft\PowerToys\' [44CC:360C][2024-07-17T20:23:05]i000: Initializing version variable 'MinimumVersion' to value '0.0.0.0' [44CC:360C][2024-07-17T20:23:05]i000: Initializing version variable 'TargetPowerToysVersion' to value '0.81.0' [44CC:360C][2024-07-17T20:23:05]i000: Initializing version variable 'DetectedPowerToysVersion' to value '0.0.0.0' [44CC:360C][2024-07-17T20:23:05]i000: Initializing version variable 'DetectedPowerToysUserVersion' to value '0.0.0.0' [44CC:360C][2024-07-17T20:23:05]i000: Initializing version variable 'DetectedWindowsBuildNumber' to value '0' [44CC:360C][2024-07-17T20:23:05]i009: Command Line: '-burn.clean.room=C:\Users\lismo\OneDrive\Bureau\PowerToysUserSetup-0.81.0-x64.exe -burn.filehandle.attached=760 -burn.filehandle.self=764' [44CC:360C][2024-07-17T20:23:05]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\lismo\OneDrive\Bureau\PowerToysUserSetup-0.81.0-x64.exe' [44CC:360C][2024-07-17T20:23:05]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\lismo\OneDrive\Bureau\' [44CC:360C][2024-07-17T20:23:05]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\lismo\AppData\Local\Temp\powertoys-bootstrapper-msi-0.81.0_20240717202305.log' [44CC:360C][2024-07-17T20:23:05]i000: Setting string variable 'WixBundleName' to value 'PowerToys (Preview) x64' [44CC:360C][2024-07-17T20:23:05]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation' [44CC:3CD8][2024-07-17T20:23:05]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033 [44CC:3CD8][2024-07-17T20:23:05]i000: Setting version variable 'WixBundleFileVersion' to value '0.81.0.0' [44CC:360C][2024-07-17T20:23:06]i100: Detect begin, 3 packages [44CC:360C][2024-07-17T20:23:06]i000: Product or related product not found: {D8B559DB-4C98-487A-A33F-50A8EEE42726} [44CC:360C][2024-07-17T20:23:06]i000: Setting version variable 'DetectedPowerToysUserVersion' to value '0.0.0.0' [44CC:360C][2024-07-17T20:23:06]i000: Product or related product not found: {42B84BF7-5FBF-473B-9C8B-049DC16F7708} [44CC:360C][2024-07-17T20:23:06]i000: Setting version variable 'DetectedPowerToysVersion' to value '0.0.0.0' [44CC:360C][2024-07-17T20:23:06]i000: Setting string variable 'DetectedWindowsBuildNumber' to value '22631' [44CC:360C][2024-07-17T20:23:06]i000: Registry key not found. Key = 'Software\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' [44CC:360C][2024-07-17T20:23:06]i000: Setting numeric variable 'HasWebView2PerUser' to value 0 [44CC:360C][2024-07-17T20:23:06]i000: Setting numeric variable 'HasWebView2PerMachine' to value 1 [44CC:360C][2024-07-17T20:23:06]i052: Condition 'HasWebView2PerMachine OR HasWebView2PerUser' evaluates to true. [44CC:360C][2024-07-17T20:23:06]i101: Detected package: TerminatePowerToys, state: Absent, cached: None [44CC:360C][2024-07-17T20:23:06]i101: Detected package: WebView2, state: Present, cached: None [44CC:360C][2024-07-17T20:23:06]i101: Detected package: PowerToysUserSetup_0.81.0_x64.msi, state: Absent, cached: None [44CC:360C][2024-07-17T20:23:06]i052: Condition 'MinimumVersion >= DetectedPowerToysVersion' evaluates to true. [44CC:360C][2024-07-17T20:23:06]i052: Condition 'TargetPowerToysVersion >= DetectedPowerToysUserVersion OR WixBundleInstalled' evaluates to true. [44CC:360C][2024-07-17T20:23:06]i052: Condition 'DetectedWindowsBuildNumber >= 19041 OR WixBundleInstalled' evaluates to true. [44CC:360C][2024-07-17T20:23:06]i199: Detect complete, result: 0x0 [44CC:3CD8][2024-07-17T20:23:07]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1 [44CC:360C][2024-07-17T20:23:07]i200: Plan begin, 3 packages, action: Install [44CC:360C][2024-07-17T20:23:07]w321: Skipping dependency registration on package with no dependency providers: TerminatePowerToys [44CC:360C][2024-07-17T20:23:07]i000: Setting string variable 'WixBundleLog_TerminatePowerToys' to value 'C:\Users\lismo\AppData\Local\Temp\powertoys-bootstrapper-msi-0.81.0_20240717202305_000_TerminatePowerToys.log' [44CC:360C][2024-07-17T20:23:07]w321: Skipping dependency registration on package with no dependency providers: WebView2 [44CC:360C][2024-07-17T20:23:07]i000: Setting string variable 'WixBundleRollbackLog_PowerToysUserSetup_0.81.0_x64.msi' to value 'C:\Users\lismo\AppData\Local\Temp\powertoys-bootstrapper-msi-0.81.0_20240717202305_001_PowerToysUserSetup_0.81.0_x64.msi_rollback.log' [44CC:360C][2024-07-17T20:23:07]i000: Setting string variable 'WixBundleLog_PowerToysUserSetup_0.81.0_x64.msi' to value 'C:\Users\lismo\AppData\Local\Temp\powertoys-bootstrapper-msi-0.81.0_20240717202305_001_PowerToysUserSetup_0.81.0_x64.msi.log' [44CC:360C][2024-07-17T20:23:07]i201: Planned package: TerminatePowerToys, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None [44CC:360C][2024-07-17T20:23:07]i201: Planned package: WebView2, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None [44CC:360C][2024-07-17T20:23:07]i201: Planned package: PowerToysUserSetup_0.81.0_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register [44CC:360C][2024-07-17T20:23:07]i299: Plan complete, result: 0x0 [44CC:360C][2024-07-17T20:23:07]i300: Apply begin [44CC:360C][2024-07-17T20:23:07]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{abedd4df-a926-4829-9723-67c993c1b425}, options: 0x7, disable resume: No [44CC:360C][2024-07-17T20:23:07]e000: Error 0x80070005: Failed to create cache directory: C:\Users\lismo\AppData\Local\Package Cache{abedd4df-a926-4829-9723-67c993c1b425}\ [44CC:360C][2024-07-17T20:23:07]e000: Error 0x80070005: Failed to create completed cache path for bundle. [44CC:360C][2024-07-17T20:23:07]e000: Error 0x80070005: Failed to cache bundle from path: C:\Users\lismo\AppData\Local\Temp{B8E14EBD-0230-4BF5-AE34-B5786346347B}.be\PowerToysUserSetup-0.81.0-x64.exe [44CC:360C][2024-07-17T20:23:07]e000: Error 0x80070005: Failed to begin registration session. [44CC:360C][2024-07-17T20:23:07]e000: Error 0x80070005: Failed to register bundle. [44CC:360C][2024-07-17T20:23:08]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart: No

paul-d-ray commented 4 months ago

Issue

I am having the same issue. I wanted to update to 82.1 from 82.0. I can not uninstall 82.0 (either manually or by running the 82.1 installer)

Solution

I followed the instructions on the Powertoys home page to extract the msi and placing it in the folder in the 'Package Cache' with the correct name.

crutkas commented 1 month ago

@paul-d-ray did you run some type of cleanup tool on your computer

paul-d-ray commented 1 month ago

I just run the Windows Disk Cleanup program occasionally but no other cleanup program.