Comments (4)
At that point, it's beyond my reach. You could use Process Monitor to investigate where is PsExec trying to look and why it's not resolving it. Other people have also recommended PAExec instead, maybe give that a try.
from windowsappsunfukker.
It means Powershell cannot access the path to the script. In my experience, the usual culprit is network drives. I would say, try to move the script to a different drive.
from windowsappsunfukker.
@AgentRev Hey, thanks for responding. I don't actually have any network drives. Just two SSDs and two HDDs, all local. I have tried moving the script to different locations on every drive, but it's the exact same error every time.
If you'd like to see any log file or system information that might help you identify the issue, I'd be happy to provide it. I really have no idea what's going wrong.
from windowsappsunfukker.
It wasn't PowerShell being unable to access the path to the script; it was rather PsExec being unable to access PowerShell.
I just added the full path to powershell.exe in the command, and it ended up working.
So, instead of
.\psexec.exe -s -i powershell -ExecutionPolicy Bypass -File "C:\WindowsAppsUnfukker-main\WindowsAppsUnfukker.ps1
I used
.\psexec.exe -s -i "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -File "C:\WindowsAppsUnfukker-main\WindowsAppsUnfukker.ps1
(I guess my environment variables are messed up as well? Because I had to add the System32 folder to "Path" under User Variables for takeown command to work when I was manually trying to fix the permissions earlier.)
from windowsappsunfukker.
Related Issues (20)
- Successfully processed but still "Paramater Incorrect Error" HOT 8
- can i reuse your code to another application with modification HOT 2
- you are a legend HOT 5
- script cannot run HOT 2
- WARNING: AppData Packages not found HOT 2
- Minor Issue - Rest everything works well! HOT 1
- Worked great, except I had to run the script from PowerShell not CMD
- [Question] Why does "This app can't open Check the Windows Store..." appear after file modification?
- Error creating key file HOT 1
- Didn't help, errors when trying to update or uninstall apps HOT 3
- Didn't work all the way HOT 2
- There's another component to fix HOT 1
- Unable to Run HOT 2
- Failed Processing xx files HOT 2
- Microsoft Store still not working
- YOU ARE A REAL HERO THANK YOU.
- We need this awesome magic for XboxGames folder HOT 1
- Permission error pesists after running the script. HOT 1
- Confusion
- no effect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windowsappsunfukker.