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

PowerShell: Mapping and Unmapping Network Drives

How to Map Network Drive using Dot Net Framework $driveLetter='T' $smbPath='\\FILESERVER\SHARENAME' $username='DOMAIN\USERNAME' $password='PASSWORD' $networkDrivesObject =…

Remote Desktop Error Code 0x8000FFFF

Symptom: Terminal-Services-ClientActiveXCore Event ID 226 on RDP Server: rdpclient_ssl: an error was encountered when transitioning…

MAC: Setting Google DNS to Bypass ISP Slower Name Resolution

Open System Preferences > Network > DNS > click + (plus sign) under DNS Servers…