Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error code #42

Open
Zorusaki opened this issue Jun 28, 2024 · 2 comments
Open

Error code #42

Zorusaki opened this issue Jun 28, 2024 · 2 comments

Comments

@Zorusaki
Copy link

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

@AgentRev
Copy link
Owner

Hmm maybe try with PsExec? https://learn.microsoft.com/en-us/sysinternals/downloads/psexec

@Zorusaki
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants