How do I reinstall all Windows modern app completely from ISO?

Long story short, I ended up deleting some of the files from C:\Windows\InfusedApps\ and C:\Program Files\WindowsApps.

Now I am hoping if there is a way to completely reinstall all the apps from the Windows ISO.

I know there is an option to "Reset your PC". But I want to avoid that and reinstall only the modern apps


Solution 1:

You can completely reinstall all the modern apps by following these steps:

  1. Open Start Menu and type powershell

  2. Right-click on PowerShell and select "Run as Administrator" option. or you can press Ctrl+Shift+Enter keys together to launch PowerShell as Administrator.

  3. Please run this command:

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

All modern apps contain this appxmanifest.xml XML file.

This command will take a few moments and will reinstall all built-in apps. Ignore any error message.

You may also need to restart after that.

Hope this helps.

Thank you.