Disassembler0 / Win10-Initial-Setup-Script

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019
MIT License
4.7k stars 1.08k forks source link

Can't open Calculator App, or install .appx packages #177

Closed tryptc closed 5 years ago

tryptc commented 5 years ago

Like the title says, I cannot open the calculator App, or install .appx packages.

I'm sorry I've been bothering you with issues. Your quick response is very admirable.

Is it possible to donate to you?

Disassembler0 commented 5 years ago

What message are you getting (if any) or what does it do when you attempt to open the calculator or install appx? Which Windows build do you use? Are you using custom preset or any custom tweaks or just the default?

tryptc commented 5 years ago

Windows 10 Home | Default Preset

For the calculator: "You'll need a new app to open this calculator"

For the appx: "Windows can't open this type of file(appx) Try an app on this PC"x

Disassembler0 commented 5 years ago

I haven't been able to replicate the problem and I have been trying pretty hard to break as many things as possible. I'm 99% sure this wasn't caused by the script. The message about appx suggests that you're missing Store and DesktopAppInstaller (either the whole applications or just the associations), which might be caused by UninstallWindowsStore tweak, but that tweak is not included in the default preset. About the calculator I have no clue at all. Looks like corrupted cache or again missing some associations.

Take a look here - https://appuals.com/fix-youll-need-new-app-open-calculator/ . Maybe whatever helps to fix the calculator will help the other problem too.