Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Calculator disappears although it's whitelisted #172

Open
davidchoo12 opened this issue Jul 12, 2019 · 3 comments
Open

Calculator disappears although it's whitelisted #172

davidchoo12 opened this issue Jul 12, 2019 · 3 comments

Comments

@davidchoo12
Copy link

Using the GUI, I customized the white/blacklist such that WindowsCalculator is whitelisted.
Screenshot of the list as of now (only Calculator in the whitelist is not "Installed"):
image

I saved it and clicked Remove Bloatware With Customized Blacklist. After running the script, the Calculator app disappeared from the start menu and searching it doesn't show up.

I tried running the script from Fix Whitelisted Apps:
Get-AppxPackage -allusers Microsoft.WindowsCalculator | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
but it outputs error:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CF9)
NOTE: For additional information, look for [ActivityId] a1b30de5-383a-0000-9bd5-b4a13a38d501 in the Event Log or use
the command line Get-AppPackageLog -ActivityID a1b30de5-383a-0000-9bd5-b4a13a38d501
At line:1 char:66
+ ...  | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

I ran the command line to view the log as suggested from the output above
Get-AppPackageLog -ActivityID a1b30de5-383a-0000-9bd5-b4a13a38d501
Then I notice the following lines at the bottom of the log

12/7/2019 6:51:12 AM      763          Windows cannot install package
                                       Microsoft.WindowsCalculator_10.1905.28.0_neutral_~_8wekyb3d8bbwe because the
                                       package is currently paused. The package must be Staged in order to proceed.
12/7/2019 6:51:12 AM      605          The last successful state reached was BundleProcessed. Failure occurred before
                                       reaching the next state Indexed. hr: 0x80073CF9
12/7/2019 6:51:12 AM      401          Deployment Register operation with target volume C: on Package
                                       Microsoft.WindowsCalculator_10.1905.28.0_neutral_~_8wekyb3d8bbwe from:
                                       (AppxBundleManifest.xml)  failed with error 0x80073CF9. See
                                       http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
                                       deployment issues.

What to do to get Calculator back?

@adam-djangophi
Copy link

I ran this in powershell
Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
This added the calculator back. But A definite plus one for this issue!

@Jmhm17
Copy link

Jmhm17 commented Mar 22, 2021

I ran this in powershell
Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
This added the calculator back. But A definite plus one for this issue!

I tried this and it did not work. Any suggestions? I too experienced the same issue as above. Sorry to raise this from the dead but looking for some assistance.

@Sycnex
Copy link
Owner

Sycnex commented Mar 23, 2021 via email

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

No branches or pull requests

4 participants