AgentRev / WindowsAppsUnfukker

PowerShell script to fix WindowsApps-related permission errors and crashes.
The Unlicense
356 stars 20 forks source link

Literally not an issue #20

Open Axlefublr opened 1 year ago

Axlefublr commented 1 year ago

I will LITERALLY suck you off right now.

I crawled on walls trying to solve fucking windowsapps for multiple hours, and you know what fixed it? Your script!

Not windows with its billion "fix it!" apps, troubleshooting, I even REINSTALLED windows only to be met with the issue still staying the same.

How???????

Essentially, thank you SO MUCH if you're interested in trans girls I will LITERALLY suck you off

Have a good life, rain should fall anywhere but on you, as you're a GOD that SAVED ME and I will literally pray to your existence

junglivre commented 1 year ago

same^^^^^^ i was almost having a heart attack here, but this piece of script saved me

WaiKyaw954 commented 1 year ago

I bout to say the same lol

Willio2000 commented 1 year ago

same thank god i found this at the bottom of some random page while continuing my search for help (this has been like the 3rd or 4th day or smth thank you)

Labraca commented 1 year ago

he is a GOD, we are not worthy of his presence among us

Axlefublr commented 1 year ago

he is a GOD, we are not worthy of his presence among us

omg amogus ඞ

AgentRev commented 1 year ago

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣤⣤⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⠟⠉⠉⠉⠉⠉⠉⠉⠙⠻⢶⣄⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀    ⠀⠙⣷⡀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⡟⠀⣠⣶⠛⠛⠛⠛⠛⠛⠳⣦⡀⠀⠘⣿⡄⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⠁⠀⢹⣿⣦⣀⣀⣀⣀⣀⣠⣼⡇⠀⠀⠸⣷⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⡏⠀⠀⠀⠉⠛⠿⠿⠿⠿⠛⠋⠁⠀⠀⠀⠀⣿ ⠀⠀          ⠀⠀⢠⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⡇⠀                ⠀⠀⣸⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣧⠀ ⠀⠀⠀⠀⠀⠀⠀⢸⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⠀ ⠀⠀⠀⠀⠀⠀⠀⣾⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⣿⠀ ⠀⠀⠀⠀⠀⠀⠀⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀  ⠀⠀⠀⠀⣿⠀ ⠀⠀⠀⠀⠀⠀⢰⣿⠀⠀⠀⠀⣠⡶⠶⠿⠿⠿⠿⢷⣦⠀⠀⠀⠀⠀    ⣿⠀ ⠀⠀⣀⣀⣀⠀⣸⡇⠀⠀⠀⠀⣿⡀⠀⠀⠀⠀⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⣿⠀ ⣠⡿⠛⠛⠛⠛⠻⠀⠀⠀⠀⠀⢸⣇⠀⠀⠀⠀⠀⠀⣿⠇⠀⠀⠀⠀⠀ ⠀⣿⠀ ⢻⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⡟⠀⠀⢀⣤⣤⣴⣿⠀⠀⠀⠀⠀⠀  ⠀⣿⠀ ⠈⠙⢷⣶⣦⣤⣤⣤⣴⣶⣾⠿⠛⠁⢀⣶⡟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡟⠀                                ⠀⠀⠀⠀⠈⣿⣆⡀⠀⠀⠀⠀⠀⠀⢀⣠⣴⡾⠃⠀ ⠀                        ⠀⠀⠀⠀⠀⠀⠀⠈⠛⠻⢿⣿⣾⣿⡿⠿⠟⠋⠁⠀⠀

Axlefublr commented 1 year ago

omg you're so based wtf ahhahahahahahha

root-reindeer-flotilla commented 1 year ago

Oh my god thank you so much. This has been plaguing me for months. I couldnt even open stuff like Windows Terminal without going directly to /WindowsApps and opening the exe.

Now if you could only solve some icons being replaced by the xnview icon, my computer would be perfect.

AgentRev commented 1 year ago

@root-reindeer-flotilla By experience, aside from file associations, icon issues can come from 2 other things; icon overlays, or shell extensions.

Icon overlays can be tweaked with this tool: https://github.com/larspehrsson/ShellIconOverlayIdentifiers/releases

Shell extensions can be tweaked with this tool (Options > Filter By Extension Type > Icon Handler, Icon Overlay Handler): https://www.nirsoft.net/utils/shexview.html#DownloadLinks

root-reindeer-flotilla commented 1 year ago

@AgentRev https://i.imgur.com/GVJ7aSL.png

Both of those programs don't show anything about XnView. I've tried refreshing the icon cache multiple ways. Strangely this only does this when searching for programs but not on the program list when you open the start menu.

Thanks for trying though. I'm stubbornly against reinstalling windows.

AgentRev commented 1 year ago

@root-reindeer-flotilla Hmm, I stumbled upon this, maybe worth a look: https://superuser.com/questions/1319157/some-windows-10-uwp-icons-not-displaying-on-search-or-in-settings

And, if all else fails: https://github.com/Open-Shell/Open-Shell-Menu

root-reindeer-flotilla commented 1 year ago

@AgentRev I'll try that, thanks.

quincynyan commented 11 months ago

+1 ⬆ Just to bump this, I love you so fucking much, this literally saved my life. I have just finished a full windows reinstallation two weeks ago, and wanted to change an app's icon (more specifically, Spotify's icon on the taskbar), messed with the permissions a little bit (all I did was changed the owner of WindowsApp folder to Everyone and turned on child inheritance), and even after that, Windows wouldn't let me change the icon. So I just gave up, won't change the icon anymore but then everything broke, can't even open any (MSstore) apps anymore. Every website, every forum, every "solution" on Google tells me to reinstall windows by wiping the entire C: disk. Like this is a fresh system that I *just* finished setting up, everything is done, all the settings are configured properly, like no I am not doing another windows reinstall any soon. Then found a link to this github on a sketchy blog website, literally saved my life. THANK. YOU. SO. MUCH. If a trans girl is sucking you off already, make that two trans girls gonna suck you off. You should have a buymeacoffee so that we can support you for this!

PS: Also, if anyone knows how to change the taskbar icon for a MSstore app, please tell me how without fucking up this whole thing again. Thx! 💜💜

Axlefublr commented 11 months ago

omg another trans girl? hahahahha sis we're gonna start a harem as things stand now

Seedmanc commented 11 months ago

Is it a prerequisite to start transition for this script to work? 'Cause I fucked up my OS beyond salvation, apparently.

quincynyan commented 11 months ago

@Axlefublr When you're googling this deep into a really obscure windows question, youre either a lifeless middle aged man working in a small computer store, or you're a trans furry girl who uses linux but stuck with windows for some reason (and yet, linux users know more about windows than windows users XD)

quincynyan commented 11 months ago

@Seedmanc You need those programming socks (search them up on google) before you can run the script, or else it won't fix your problem. Estrogens are optional but they help run the script faster.

Axlefublr commented 11 months ago

Is it a prerequisite to start transition for this script to work? 'Cause I fucked up my OS beyond salvation, apparently.

Buy thigh highs and try again, should work

Axlefublr commented 11 months ago

@Axlefublr When you're googling this deep into a really obscure windows question, youre either a lifeless middle aged man working in a small computer store, or you're a trans furry girl who uses linux but stuck with windows for some reason (and yet, linux users know more about windows than windows users XD)

That's so true!!! I'm on linux now too lol. You can probably guess which distro by the abbreviation "btw"

Only thing left is to become a furry (because I already build stuff with rust)

Axlefublr commented 11 months ago

@Seedmanc You need those programming socks (search them up on google) before you can run the script, or else it won't fix your problem. Estrogens are optional but they help run the script faster.

Omg ahahahahaha we had the same exact joke in mind (tbf it's almost not a joke seeing how accurate it often is lol)

quincynyan commented 11 months ago

That's so true!!! I'm on linux now too lol. You can probably guess which distro by the abbreviation "btw"

@Axlefublr omg hey I'm also another arch user (KDE Plasma btw), thinking of trying out Debian but don't know how to copy/replicate the Plasma theme from arch to deb. also still trying to find a way to backup dotfiles to github :3

quincynyan commented 11 months ago

(tbf it's almost not a joke seeing how accurate it often is lol)

https://i.redd.it/zm8gdm3v4zl91.jpg

quincynyan commented 11 months ago

Also, @AgentRev if you have any experience with this, pls halp

Also, if anyone knows how to change the taskbar icon for an MSstore app, please tell me how without fucking up this whole thing again. Thx! 💜💜

AgentRev commented 11 months ago

@quincynyan I haven't personally tried, but this seems like it could do the trick: https://stackoverflow.com/questions/70413031/change-the-taskbar-icon-for-windows-store-apps

Axlefublr commented 11 months ago

That's so true!!! I'm on linux now too lol. You can probably guess which distro by the abbreviation "btw"

@Axlefublr omg hey I'm also another arch user (KDE Plasma btw), thinking of trying out Debian but don't know how to copy/replicate the Plasma theme from arch to deb. also still trying to find a way to backup dotfiles to github :3

I actually have a lot to say a lot about this! Message me on discord (axlefublr) so we can stop terrorising this issue lol

quincynyan commented 11 months ago

@AgentRev Thx! Do you think the method of

renaming the app folder by adding -old at the end, making a copy of the folder, and renaming the copy back to the original name.

will work? I have modified the exe file to have its icon changed but can't copy it back to the WindowsApp folder.