Windows 10 內建應用(照片、郵件、行事曆、計算機等)誤刪後,無需重裝系統,單一 PowerShell 指令即可批次重新註冊安裝:
powershell,右鍵「Windows PowerShell」→「以系統管理員身分執行」。Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}原理:指令會掃描所有使用者的 AppX 套件安裝位置,重新註冊清單檔,相當於重新安裝但保留使用者資料。此法適用於 Windows 10 所有版本(家用版/專業版/企業版)。