Monday, 9 April 2018

powershell - How can I reinstall Windows 10's calculator app?


I uninstalled the Calculator app like this in PowerShell:


Get-AppxPackage *windowscalculator* | Remove-AppxPackage

How do I reinstall it?



Answer



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”}

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...