Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win10 應用商店帳號閃退、小娜離線?PowerShell 重新註冊 UWP 應用解決

編輯:關於 Windows

Win10 應用商店未登入帳號、小娜提示「暫時無法使用興趣」或「離線狀態」,常因 UWP 應用註冊損毀。以下為 PowerShell 修復指令:

修復步驟

  1. Win+R → 輸入 powershell → Ctrl+Shift+Enter (以系統管理員身分執行)。
  2. 複製貼上以下指令並按 Enter:
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  1. 等待指令執行完成 (可能顯示紅字錯誤訊息,通常可忽略)。
  2. 重新嘗試登入應用商店、開啟小娜。

管理員 PowerShell

執行指令

完成

原理說明

指令遍歷所有使用者的 UWP 應用套件,重新註冊其 AppXManifest.xml,修復損毀的應用程式資訊清單與註冊資料,相當於「重裝」所有內建 UWP 應用但保留使用者資料。

注意事項

  • 必須以系統管理員身分執行 PowerShell,否則權限不足無法註冊系統級應用。
  • 執行過程中畫面可能停留數分鐘,請勿關閉視窗。
  • 若問題持續,可嘗試建立新本機使用者帳號測試,若新帳號正常則為原帳號設定檔損毀,建議遷移資料後棄用舊帳號。

相關推薦

  • 如何讓 Win10 小娜只聽你的話?
  • Win10 預覽版語音助手 Cortana 小娜最新測試
  • Win10 正式版小娜沒聲音、開啟按鈕灰色怎麼辦?
Copyright © Windows教程網 All Rights Reserved