New
#120
I'm glad you eventually got it sorted. Too bad it took a reset to do so.
Hi, I'm trying to install the calculator but I get this error.
Code:PS C:\Windows\system32> PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCalcu lator*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}" = : El término '=' no se reconoce como nombre de un cmdlet, función, archivo de script o programa ejecutable. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso, compruebe que dicha ruta es correcta e inténtelo de nuevo. En línea: 1 Carácter: 5 + & { = (Get-AppxPackage *WindowsCalculator*).InstallLocation + '\AppxM ... + ~ + CategoryInfo : ObjectNotFound: (=:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException cmdlet Add-AppxPackage en la posición 1 de la canalización de comandos Proporcione valores para los parámetros siguientes: Path:
Also tried from the Windows console directly and did not work
Code:Microsoft Windows [Versión 10.0.17134.112] (c) 2018 Microsoft Corporation. Todos los derechos reservados. C:\Windows\system32>PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsCalculator*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}" Add-AppxPackage : No se encuentra la ruta de acceso 'C:\AppxManifest.xml' porque no existe. En línea: 1 Carácter: 94 + ... fest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manife ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\AppxManifest.xml:String) [Add-AppxPackage], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand C:\Windows\system32>
In both cases the console was run as an administrator.
Could you give me a hand?
Hello Zontir,
You might see if you may be able to install "Calculator" from the Windows Store linked below instead.
Windows Calculator | Microsoft Store
In that case, you could try doing a repair install to fix Windows and restore its default apps without losing anything.
Repair Install Windows 10 with an In-place Upgrade | Windows 10 Tutorials
My tv and movies and photos app have become corrupted. I cannot reinstall them through the MS store. When trying to run the commands above to re-register them I get Cannot find path 'C:\AppxManifest.xml' because it does not exist.
Hello Bob,
If you haven't already, you might see if resetting the app using the method in the tutorial below may fix them.
Reset App in Windows 10 | Windows 10 Tutorials
Hello, I used a PS method on found online to reinstall all default win 10 apps. That fixed the issue.