Posted On November 12, 2020

PowerShell: 1-Liner to Restore All Windows 10 Default Apps

kimconnect 0 comments
blog.KimConnect.com >> Windows >> PowerShell: 1-Liner to Restore All Windows 10 Default Apps
Issue:

A user has complained that many of the default Windows applications such as the below are missing:

$GoodApps = "store|calculator|sticky|windows.photos|soundrecorder|mspaint|screensketch|cortana|connect|Alarms & Clock|Mail|Maps|Messaging|Edge|Remote.Desktop|Skype|Video.Editor"
First thing to try: restore apps from the App Store
Get-AppxPackage -allusers|%{Add-AppxPackage -Register "$($_.InstallLocation)\AppXManifest.xml" -DisableDevelopmentMode}
Second try: registry fix
scanreg /fix
scanreg /restore
Third try: restore computer
PS C:\WINDOWS\system32> Get-ComputerRestorePoint

CreationTime Description SequenceNumber EventType RestorePointType
------------ ----------- -------------- --------- ----------------
11/5/2020 9:57:22 PM Windows Update 1 BEGIN_SYSTEM_C... 17
11/11/2020 10:17:10 AM Windows Update 2 BEGIN_SYSTEM_C... 17

PS C:\WINDOWS\system32> Restore-Computer -RestorePoint 1
...
Done

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Last Logon Dates of List of AD Accounts

import-module activedirectory$output=""Get-Content C:\Users\kimconnect\Desktop\targetAccounts.txt | Foreach-Object -Process{ #  cast an array object as string before using…

Resolving Active Directory Replication Issues

In Windows Active Directory 2008+ mode, Distributed File System Replication  (DFSR) succeeds the legacy File…

HPE: Gen8 Bios Settings to Prepare Host for Virtualization Role

Proliant Gen8 Blade Servers HP Servers are often chosen as VMWare & Hyper-V hosts. To…