23

I uninstalled the Calculator app like this in PowerShell:

Get-AppxPackage *windowscalculator* | Remove-AppxPackage

How do I reinstall it?

4
  • 1
  • Thanks. Any idea what the calculator store name is?
    – jv-k
    Sep 27, 2015 at 18:40
  • See this page
    – Moab
    Sep 27, 2015 at 20:32
  • Thanks but as I mentioned below, I don't want to reinstall all the store apps. And the store name windowscalculator doesn't work with the script posted below. I tried Microsoft.windowscalculator, didn't work
    – jv-k
    Sep 27, 2015 at 20:43

8 Answers 8

36

This one worked for me, just combined the commands from the other answers found here. Note: you have to use the -Allusers option with the Get-AppxPackage command since it is not installed anymore under your current user account:

Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
3
  • Here's another variant of this answer: get-appxpackage -allusers windowscalc |foreach {$_.InstallLocation+"\AppxManifest.xml"} |add-appxpackage -disabledevelopmentmode -register Apr 19, 2018 at 2:42
  • Make sure to run the PowerShell as an administrator. Otherwise, it might not work.
    – Sathish
    Apr 19, 2018 at 14:14
  • It can raise an error: "Get-AppxPackage : The trust relationship between this workstation and the primary domain failed. (Exception from HRESUL T: 0x800706FD)". Probably should reinstall Microsoft Store.
    – CoolMind
    Jun 20, 2021 at 19:02
5

Here is the MS Store link to the Windows Calculator.

Note: This will only work if you have the Windows Store app installed.

1
  • Currently this link leads not to calculator.
    – CoolMind
    May 3 at 11:54
2

To reinstall an individual app use PowerShell and run it in admin mode. Screenshots:

http://imgur.com/a/mAKZe

Next get the full name of all apps, e.g. Windows Calculator paste this snippet in PowerShell and hit enter:

get-appxpackage -allusers | Select Name, PackageFullName

For single full name of the desired app name, e.g. Windows Calculator paste this snippet in PowerShell and hit enter:

Get-AppxPackage *windowscalculator*

Now copy the full name that looks like this: Microsoft.WindowsCalculator_10.1601.49020.0_x64__8wekyb3d8bbwe

Finally the we are going to install that app again with this snippet:

Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsAlarms_10.1603.12020.0_ x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode

Re-installed app is available without restart of the PC!

N.b: To remove individual apps use this code: Get-AppxPackage *alarms* | Remove-AppxPackage

A list of all apps when removing is (Here)

1
  • Are you reinstalling WindowsAlarms or WindowsCalculator? I get Add-AppxPackage : Cannot find path 'C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1712.3351.0_x64__8wekyb3d8bbwe\appxmanifest.xml' because it does not exist.
    – ajeh
    Apr 12, 2018 at 20:03
0

Try Get-AppxPackage *windowscalculator* | Add-AppxPackage

or the following to install all default apps: Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

3
  • 1
    Thanks. I already tried Add-AppxPackage but there is no success or fail message - nothing happens. Unless I have to restart windows, which I haven't tried since I have a lot open/running. I know it's possible to reinstall everything, but there should surely be a command to install individual core apps?
    – jv-k
    Sep 27, 2015 at 18:17
  • The first command does nothing, the second one wants installation media.
    – ajeh
    Apr 12, 2018 at 20:00
  • @ajeh It's important to run the commands in PowerShell, as an admin (right click and "Run as Administrator"). Not sure why it would ask for installation media, but in the worst case, you can always flash a USB with with Windows 10: microsoft.com/en-gb/software-download/windows10
    – Arty2
    Apr 13, 2018 at 8:02
0

I had the same issue where I installed a stripped version of Windows 10 (for performance gains and lower latency) and the Calculator was missing.

I managed to find the old Windows 7 calculator and install it easily. Just google "old calculator for windows 10" and the first link should be from winaero website.

0

Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1906.53.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode

1
  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Apr 20 at 10:40
-1

Just install it from the Windows Store if you have that installed. Windows Calculator | https://www.microsoft.com/store/apps/9wzdncrfhvn5

-1

Just as an FYI, the other answers above work, BUT if you're on an AD domain and a VPN, going to Microsoft Store may not work because you could be blocked. Try the command line if the store blocks you.

1
  • 1
    Please provide additional details in your answer. As it's currently written, it's hard to understand your solution.
    – Community Bot
    Sep 1, 2021 at 18:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.