Error code
Like many others i tweaked with the permissions on the windowsapp folder (thanks to all those websites who said it wouldn't amount to much) and i'm trying to fix most of my apps not opening anymore by running your script Not sure if you still answer to issues but this is the error message that i got after running the command and i haven't seen it anywhere else PAExec v1.29 - Execute Programs Remotely Copyright (c) 2012-2021 Power Admin LLC www.poweradmin.com/PAExec
Connecting to {local server}... Failed to impersonate [] - continuing anyway. The handle is invalid. [Err=0x6, 6] Failed to copy [C:\Program Files\PA Server Monitor\PAExec.exe] to [C:\WINDOWS\PAExec-21688-LAPTOP-MP14BU94.exe] -- going to try to continue anyway. Access is denied. [Err=0x5, 5] Starting PAExec service on {local server}... Failed to connect to Service Control Manager on {local computer}. Access is denied. [Err=0x5, 5] Failed to install service on {local computer} The handle is invalid. [Err=0x6, 6]
PAExec returning exit code -6
Hmm maybe try with PsExec? https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
I had an error message when i tried to do it with PsExec, not really sure why but in the end even with the error it did fix it! Microsoft store and all my apps are opening again. Thank you for your help!
I have the same error using paexec. When I try with psexec, it can't even launch the psexec. Not sure about where the problem is.
C:\WindowsAppsUnfukker-main>paexec -s -i cmd /C powershell -ExecutionPolicy Bypass -File "C:\WindowsAppsUnfukker-main\WindowsAppsUnfukker.ps1" "%LocalAppData%" ^|^| pause
PAExec v1.31 - Execute Programs Remotely Copyright (c) 2012-2023 Power Admin LLC www.poweradmin.com/PAExec
Connecting to {local server}... Failed to copy [C:\WindowsAppsUnfukker-main\paexec.exe] to [C:\WINDOWS\PAExec-4240-LAPTOP-3027E4ES.exe] -- going to try to continue anyway. Access is denied. [Err=0x5, 5] Starting PAExec service on {local server}... Failed to connect to Service Control Manager on {local computer}. Access is denied. [Err=0x5, 5] Failed to install service on {local computer} The handle is invalid. [Err=0x6, 6]
PAExec returning exit code -6
C:\WindowsAppsUnfukker-main>psexec -s -i cmd /C powershell -ExecutionPolicy Bypass -File "C:\WindowsAppsUnfukker-main\WindowsAppsUnfukker.ps1" "%LocalAppData%" ^|^| pause
PsExec v2.43 - Execute processes remotely Copyright (C) 2001-2023 Mark Russinovich Sysinternals - www.sysinternals.com
Couldn't install PSEXESVC service: Access is denied.