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:
Open Start Menu and type powershell
Right-click on PowerShell and select "Run as Administrator" option. or you can press Ctrl+Shift+Enter keys together to launch PowerShell as Administrator.
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.