54 Responses to “How to reinstall all the Windows default apps with PowerShell”

  • AP says:

    Get-AppxPackage -allusers | foreach {Add-AppxPackage -register “$($_.InstallLocation)\appxmanifest.xml” -DisableDevelopmentMode}

    You need to add the backslash behind appxmanifest, I had it come up with ItemNotFound for all apps.

    The above fixed it for me.

  • BDMCGaming says:

    Add-AppxPackage : Cannot find path ‘C:\Program Files\WindowsApps\Microsoft.XboxGamingOverlay_5.420.11032.0_x64__8wekyb3d8bbweappxmanifest.xml’ because it does not
    exist.
    At line:1 char:38
    + … | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmanif …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (C:\Program File…ppxmanifest.xml:String) [Add-AppxPackage], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Can you please help me? This happened with almost every app.

  • yes says:

    THANKS FOR SOME REASON THE SEARCHUI.EXE WAS REMOVED THANKSSSSSSSSSS

  • gotsquats says:

    this is a good article for those wanting to re-install for the currently logged on user. Any other new user profile that logs on to the win10 box will not have access to the app.

  • Philip says:

    God bless you u very much. It has been my greatest headache bringing back removed apps on my windows 10..But with ur guide I’ve been able to do it with ease. Thank you

  • Doug Fisher says:

    It worked! Your clear and accurate advice is greatly appreciated.

  • tero says:

    removing apps for all users:

    Get-AppxPackage -allusers | foreach {Remove-AppxPackage -allusers -package $_}

    and after that, you surely can’t add packages pack with that your add all back line because none user has those packages, so you can’t list get-packages which to add. you have to list those packages in manifest or something which tells all the default packages, and add them all to all users by somehow.. not sure yet how to do that..

  • Doris says:

    Nothing of the above helped.

  • sayaji says:

    in my case it says that ths poweshell is runnin so it cannot be modified

  • tsaconas Spiros says:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed InputApp_1000.18890.1000.0_neutral_neutral_cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] c87932c9-47c2-0001-f5b7-79c8c247d501 in the Event Log or use the command line Get-AppPackageLog -ActivityID c87932c9-47c2-0001-f5b7-79c8c247d501 At line:1 char:38 + … | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmani … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:WindowsSyst…ppxmanifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed
    Microsoft.Windows.StartMenuExperienceHost_10.0.18890.1000_neutral_neutral_cw5n1h2txyewy.
    NOTE: For additional information, look for [ActivityId] c87932c9-47c2-0000-53ff-79c8c247d501 in the Event Log or use
    the command line Get-AppPackageLog -ActivityID c87932c9-47c2-0000-53ff-79c8c247d501
    At line:1 char:38
    + … | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmani …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (C:WindowsSyst…ppxmanifest.xml:String) [Add-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand …///… this is what i get…can you help me ?

  • klva says:

    Does not work. Powershell downloads but fails to install apps because newer versions are already installed.

  • Natascha says:

    Thank you, you fixed my problem. One quick command which does what it should. GREAT. Wish all guides were as useful as this one.

  • Peanut says:

    Thanks!

  • Farzaneh says:

    Hi, thank you.
    I entered the command, and this is the error I get. The apps didn’t come back.

    Add-AppxPackage : Cannot find path ‘C:appxmanifest.xml’ because it does not exist.
    At line:1 char:38
    + … | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmani …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (C:appxmanifest.xml:String) [Add-AppxPackage], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it
    modifies are currently in use.
    error 0x80073D02: Unable to install because the following apps need to be closed
    Microsoft.Windows.Cortana_1.10.7.17134_neutral_neutral_cw5n1h2txyewy.
    NOTE: For additional information, look for [ActivityId] da34d5ee-98a3-0002-6b4c-35daa398d401 in the Event Log or use
    the command line Get-AppxLog -ActivityID da34d5ee-98a3-0002-6b4c-35daa398d401
    At line:1 char:38
    + … | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmani …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (C:WindowsSyst…ppxmanifest.xml:String) [Add-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

  • John says:

    When I run the command, I get the error message 0x80073cf9. Help?

  • michelle says:

    Thanks!! Full name package install was the needed lock combination. Once I figured out how to enable ‘Run as Administrator’ on the PowerShell (with a Right click – clever, sneaky devils), I entered the complete code and voila! my apps were back. Wish I had backed up all my lost contacts, notes, etc. 🙁

    Get-AppxPackage -allusers | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmanifest.xml” -DisableDevelopmentMode}

  • yome black says:

    sir/maam
    thank you very much. this info was very useful and it helped my computer to use the non working apps again..
    THANK YOU…

  • Ronnette says:

    Worked! I had removed xbox overlay and not only got an annoying pop up when trying to play games, but also i wanted to use the game bar! This brought it back and fixed the errors , thank you!

  • Spoorthi Achar says:

    Thank you for the method that you have shown above,it helped me to resolve my problem but there is a mistake in the command that you have given

    Get-AppxPackage -allusers | foreach {Add-AppxPackage -register $($_.InstallLocation)appxmanifest.xml” -DisableDevelopmentMode}

    here in the above command you have missed the starting qoutes before $ i.e, the correct command is as below

    Get-AppxPackage -allusers | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmanifest.xml” -DisableDevelopmentMode}

    Thank you.

  • Mat says:

    My Apps still do not work, calculator, camers, photos, ms store – zilch. So frustrating. Any other way to fix?

    Thanks.

  • Kiran Manandhar says:

    I am testing on Windows 1- Version 1803.
    During installation I removed all Apps with Remove-AppXPackge.

    Now I can not restore any of the Apps.

  • Haji says:

    Thanks a lot man! That’s work for me! I was really confused about it 🙂

  • Kant Agostinho says:

    Hello, I’ve tried running Powershell with your command line, but when I restart the computer, the missing apps are not restored. What can I do to fix this?

  • Mar says:

    The comments scared me so i didn’t continue

  • Asisipho says:

    I followed the steps bt it displays an error or something different from yours. What shuld i do niw

  • Jake says:

    Adding -ForceApplicationShutdown can also be helpful.

  • This method.... says:

    I tried it many times but it doesn’t work.

  • ali says:

    thanks guys this worked finally after seeing so much shit on internet this thing worked

  • Shasank Neupane says:

    No it wasn’t helpful at all.

  • Electroblade says:

    Yep, not working… Probably because I deleted some directory but still. Can you make a fix for using DWS?

  • senior citizen says:

    Easy even for me

  • Vikas Chaudhary says:

    I am working with Microsoft.
    I wanna update you, there is a way to reinstall the store app.

  • GoldenKatze says:

    Would this work for applications like AMD Catalyst and HP software that was installed before use?

  • Ryan says:

    Rubbish it didn’t work.

  • Ajit says:

    Wow
    Thanks
    It worked for me

  • paul says:

    somebody is laughing at me because this never worked i tried it 3 times. and each time it came back with a differant msg

  • Jotiba Patil says:

    Thanks Sir, Thank you very much

  • Allan Southern says:

    I have tried every way to get the apps to run. For some reason the Movie app stopped. When I start it up it comes on and vanishes in a split second. As does store and solitaire collection. I tried this fix and it now comes on for about 3 seconds then stops again. Please help. Laptop only 1 month old.

  • John says:

    It didn’t work. End of story.

  • Bhavin Dholakiya says:

    It does not work for me.

  • Tom Hilton says:

    After updating from Office 10 to Office 13, all my win10 apps went missing. I tried you script to install them again, but no dice, they are not showing up. Any suggestions except install Win 10 again. I have the latest latest update with creators version X64 Pro.
    Thanks Tom

    • Thomas Hilton says:

      They are still on the computer and can be seen in the list of applications and even run from their. I can drag them back to the display window and they will then show up.

  • George says:

    Tried this but only got the following message:

    Get-AppXPackage : The dependency service or group failed to start.
    The dependency service or group failed to start.
    At line:1 char:1
    + Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -R …
    + ~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Get-AppxPackage], Exception
    + FullyQualifiedErrorId : System.Exception,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand

  • Dominik Švagr says:

    Thanks, I just uninstalled all the preinstalled apps on my PC.

  • Arpan Desai says:

    Never do it it deleted all my app licenses and now none of the default apps are opening

  • Brian_KC says:

    I was getting ready to wipe! Several sites had these directions, but the strings was incorrect.

    Thank you very much!

    • Ciprian Adrian Rusen says:

      Happy to help!. Don’t hesitate to subscribe to our website and discover more useful guides.

  • ProGamer525 says:

    did what it told me to do, still no apps, they are like permanently gone

  • Hafthor says:

    I uninstalled mail and calendar app with this powershell method. I did it just to reset it as i was trying to change my microsoft account email. When i entered the command to reinstall all apps as shown above and rebooted my pc the mail app came back but almost all the other built in apps lost their path or something, they won’t run anymore anymore.

Leave a Reply