Skip to content

PowerShell script to fix WindowsApps-related permission errors and crashes.

License

Notifications You must be signed in to change notification settings

AgentRev/WindowsAppsUnfukker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

WindowsAppsUnfukker - Download here

The parameter is incorrect

Are you getting "The parameter is incorrect" errors when trying to run apps?
Are Microsoft Store, Xbox, and other apps refusing to open or install?
Are you getting access denied errors with a bunch of apps?
Then boy do I have a solution for you!

Use this script to whip WindowsApps into submission and finally get rid of these goddamn issues!

Seriously Microsoft, why the fuck is this crap so extremely convoluted? I bet my ass some NTFS nerd creamed his pants at your office while building your steaming pile of permissions garbage.

Jesus Fucking Christ.


How to start the motherfukker

  1. Download the script here
  2. Download PAExec
  3. Open CMD as admin (the real CMD, not PowerShell), then access its folder: cd PAEXEC_PATH_HERE
  4. Adjust FULL_PATH_HERE and execute the script:
    paexec -s -i cmd /C powershell -ExecutionPolicy Bypass -File "FULL_PATH_HERE\WindowsAppsUnfukker.ps1" "%LocalAppData%" ^|^| pause
    
    (If it says exit code -196608, it means the absolute path is invalid, double-check the -File path you entered)

Note: If your objective is to modify files inside an app folder, I don't provide any assistance for that use-case, but there is an extra step required after running the script. You have to rename the app folder by adding -old at the end, make a copy of the folder, and rename the copy back to the original name. This will allow you to modify the files inside if they are not encrypted. I don't why "Full control" permissions alone aren't sufficient, probably just Microsoft eating a bag of dicks as usual. Some app folders are actually read-only Xbox Virtual Disk (XVD) images mounted at the driver level, so don't bother touching those.