重設或修復 MSIX 應用程式Reset or Repair MSIX apps

概觀Overview

Windows 應用程式 (.msix、.msixbundle、*.appx 和 *.appxbundle) 提供稱為「應用程式重設和修復」的功能。Windows Apps (*.msix, *.msixbundle, *.appx, and *.appxbundle) offer functionality known as App Reset, and Repair. 裝置使用者 (沒有提高權限) 在嘗試解決 Windows 應用程式的失敗時,可以執行此功能來重新安裝或重新整理 Windows 應用程式安裝。Which can be performed by the device user (without elevation) to re-install or refresh the Windows App installation in an attempt to resolve a failure with a Windows App.

修復Repair

您可以修復已安裝到線上 Windows 映像的 Windows 應用程式。You can repair Windows Apps that have been installed to an online Windows image. 當您使用 Windows 設定來修復 Windows 應用程式時,會保留應用程式的資料,因為其會嘗試重新載入應用程式。When you use the Windows Settings to repair a Windows App, it will retain the app's data, as it attempts to re-load the application.

修復 Windows 應用程式Repairing a Windows App

使用 Windows 設定修復 Windows 應用程式:Repairing a Windows App using the Windows Settings: 1. 從 [開始] 功能表開啟 [設定] 應用程式。Open the Settings App from the Start Menu. 1. 選取 [應用程式] 功能表項目。Select the Apps menu item. 1. 從左側導覽中,選取 [應用程式和功能] 功能表項目。Select the Apps & Features menu item, from the left side navigation. 1. 選取需要重設的應用程式。Select the App that needs to be reset. 1. 選取 [進階選項] 連結。Select the Advanced options link. 1. 選取 [修復] 按鈕。Select the Repair button.

重設Reset

您可以重設已安裝到線上 Windows 映像的 Windows 應用程式。You can reset Windows Apps that have been installed to an online Windows image. 當您使用 PowerShell Cmdlet 或 Windows 設定應用程式來重設 Windows 應用程式時,將會永久刪除應用程式資料,並重新安裝應用程式。When you use the PowerShell cmdlets, or the Windows Settings app to reset a Windows App, it will permanently delete the apps data, and re-install the app fresh. Windows 應用程式將會遺失喜好設定和/或登入詳細資料等。The Windows App will lose preferences, and/or sign-in details, etc....

重設 Windows 應用程式Resetting a Windows App

使用 Windows Powershell 重設 Windows 應用程式:Resetting a Windows App using Windows Powershell: 1. 開啟系統管理 PowerShell 視窗,然後輸入:Open an administrative PowerShell window, and type: PowerShell Get-AppxPackage -Name "MyEmployees" | Reset-AppxPackage

使用 Windows 設定重設 Windows 應用程式:Resetting a Windows App using the Windows Settings: 1. 從 [開始] 功能表開啟 [設定] 應用程式。Open the Settings App from the Start Menu. 1. 選取 [應用程式] 功能表項目。Select the Apps menu item. 1. 從左側導覽中,選取 [應用程式和功能] 功能表項目。Select the Apps & Features menu item, from the left side navigation. 1. 選取需要重設的應用程式。Select the App that needs to be reset. 1. 選取 [進階選項] 連結。Select the Advanced options link. 1. 選取 [重設] 按鈕。Select the Reset button. 1. 在確認提示中,選取 [重設] 按鈕。In the confirmation prompt, select the Reset button.