
windows應用商店修復

Though it’s had its share of flaky behavior since being introduced in Windows 8, the Windows Store has gotten more reliable over time. It still has the occasional problems, though. One of the more irritating issues is when an app update (or install) gets stuck. Here’s how to fix that.
盡管自Windows 8引入以來,它就具有一些易變的行為,但Windows Store隨著時間的推移變得越來越可靠。 不過,它仍然偶爾會出現問題。 較煩人的問題之一是應用程序更新(或安裝)卡住了。 解決方法如下。
The Windows Store offers a pretty solid collection of apps, even if it doesn’t offer desktop apps just yet. For the most part, the store works well, but you’ll still run into occasional problems like downloads and updates getting stuck. We’ve got a few handy solutions for you to try. Before getting into them, however, take some time to address a few potential issues that can sometimes interfere with the Windows Store.
Windows應用商店提供了相當不錯的應用程序集合,即使它尚不提供桌面應用程序也是如此。 在大多數情況下,該商店都可以正常運行,但是您仍然會偶爾遇到諸如下載和更新卡住的問題。 我們有一些方便的解決方案供您嘗試。 但是,在深入探討這些問題之前,需要花一些時間來解決一些可能會干擾Windows應用商店的潛在問題。
- Make sure your system clock is set properly. Especially if you sync apps with another Windows computer, the Windows Store relies on your time, date, and time zone being accurate. 確保系統時鐘設置正確。 特別是如果您將應用程序與另一臺Windows計算機同步,則Windows應用商店將取決于您的時間,日期和時區是否準確。
- It’s rare, but sometimes third-party antivirus programs can get in the way of app updates. Try?disabling your AV temporarily to see if it fixes the problem. 這種情況很少見,但有時第三方防病毒程序可能會妨礙應用程序更新。 嘗試暫時禁用AV,看看它是否可以解決問題。
- Some third-party firewall programs can block the Windows Store, as well. While Windows Firewall already has a built-in exception to allow the Windows Store to communicate, but third party firewall programs may not. You’ll have to create that exception yourself. 一些第三方防火墻程序也可以阻止Windows應用商店。 盡管Windows防火墻已經具有允許Windows應用商店進行通信的內置例外,但是第三方防火墻程序可能沒有。 您必須自己創建該異常。
If none of those work, it’s time to pull out some bigger guns. Give the procedures in the following sections a try. Before you get started, though, you should create a system restore point. None of these procedures are really risky or?destructive, but if you like playing it safe, go ahead and back up your computer, too.
如果這些都不起作用,是時候抽出一些大槍了。 嘗試以下各節中的過程。 不過,在開始之前,您應該創建一個系統還原點。 這些過程都不是真正危險或具有破壞??性的過程,但是如果您喜歡安全玩耍,請繼續進行操作并備份計算機。
從命令提示符中清除Windows應用商店緩存 (Clear the Windows Store Cache from the Command Prompt)
Windows includes a small utility for clearing the Windows Store local cache from the Command Prompt. To open Command Prompt, right-click the Start menu (or press Windows+X), choose “Command Prompt (Admin)”, and then click Yes to allow it to run with administrative privileges. At the Command Prompt, type (or copy and paste) the following command and then hit Enter to clear the cache.
Windows包含一個小型實用程序,用于從命令提示符處清除Windows應用商店本地緩存。 要打開命令提示符,請右鍵單擊“開始”菜單(或按Windows + X),選擇“命令提示符(管理員)”,然后單擊“是”以使其以管理權限運行。 在命令提示符處,鍵入(或復制并粘貼)以下命令,然后按Enter鍵以清除緩存。
wsreset.exe

When you run the command, it will process for 30 seconds or so, and then the Windows Store window will open automatically. Check your updates to see if they work.
當您運行該命令時,它將處理30秒鐘左右,然后Windows Store窗口將自動打開。 檢查您的更新,看看它們是否有效。
使用Windows Store Apps疑難解答修復Windows Store (Repair the Windows Store with the Windows Store Apps Troubleshooter)
If clearing the cache doesn’t solve your problem, you can try the Windows Store Apps troubleshooter. Windows includes a number of built-in troubleshooters that help find and repair various problems. The Windows Store Apps troubleshooter is not built into Windows, but you can download it from Microsoft for free. They have both a Windows 10 version and a Windows 8 version, so make sure you grab the right one.
如果清除緩存不能解決問題,則可以嘗試使用Windows Store Apps故障排除程序。 Windows包括許多內置的疑難解答程序,可幫助您查找和修復各種問題。 Windows并未內置Windows Store Apps故障排除程序,但您可以從Microsoft免費下載它。 它們同時具有Windows 10版本和Windows 8版本,因此請確保您掌握了正確的版本。
After you download the troubleshooter, double-click?the file to run it. In the Windows Store Apps troubleshooter window, click Next to start scanning for problems.
下載疑難解答后,雙擊該文件以運行它。 在“ Windows Store應用程序疑難解答”窗口中,單擊“下一步”開始掃描問題。

The troubleshooter works through its process and then lets you know whether it could identify and fix the problem. Most of the time, the troubleshooter can successfully repair a stuck update. Go ahead and open the?Windows Store and try updating your app. Even if the troubleshooter says it couldn’t identify the problem, it’s possible that the actions of starting and stopping the service and clearing out the cache did the trick.
故障排除程序將貫穿其整個過程,然后讓您知道它是否可以識別并解決問題。 大多數情況下,疑難解答程序可以成功修復卡住的更新。 繼續并打開Windows應用商店,然后嘗試更新您的應用。 即使疑難解答程序表示無法識別問題,啟動和停止服務以及清除緩存的操作也有可能成功。

If the Windows Store Apps troubleshooter doesn’t fix the problem, another troubleshooter might. A stuck app can sometimes result from a problem with Windows Update. You should also try running the Windows Update Troubleshooter while you’re at it. It doesn’t take much time and may help.
如果Windows Store Apps故障排除程序不能解決問題,則可能是另一個故障排除程序。 Windows Update有時會導致應用程序卡住。 您還應該嘗試在運行Windows Update疑難解答時使用它。 它不需要很多時間,可能會有所幫助。
使用PowerShell重新注冊Windows應用商店 (Re-Register the Windows Store with PowerShell)
If all else fails, you can try re-registering the Windows Store, which is as close as you can get to reinstalling it. To do this, you’ll need to use PowerShell, a powerful scripting language built into Windows. It’s a bit different from the Command Prompt, but it’s not too hard to figure out.
如果所有其他方法均失敗,則可以嘗試重新注冊Windows應用商店,該應用商店與重新安裝Windows應用商店的距離非常近。 為此,您需要使用PowerShell ,這是Windows內置的功能強大的腳本語言。 它與命令提示符有些不同,但是并不太難發現。
To perform these steps, you’ll need to start PowerShell with administrative privileges. Click Start, type “powershell”, right-click on the PowerShell icon in the search results, and then click “Run as administrator.” Click Yes to allow it administrative privileges.
要執行這些步驟,您需要使用管理特權啟動PowerShell。 單擊“開始”,鍵入“ powershell”,右鍵單擊搜索結果中的PowerShell圖標,然后單擊“以管理員身份運行”。 單擊“是”以授予其管理特權。

If you’re running Windows 10, type (or copy and paste) the following command and then hit Enter:
如果您運行的是Windows 10,請鍵入(或復制并粘貼)以下命令,然后按Enter鍵:
"& {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

Since the Windows Store can be installed to different folders in Windows 10, that command tells PowerShell to find the location of the Windows Store installation and then re-register it.
由于可以將Windows應用商店安裝到Windows 10中的其他文件夾中,因此該命令告訴PowerShell查找Windows應用商店安裝的位置,然后重新注冊。
If you’re running Windows 8, the Windows Store will only be installed in one location, so the command is simpler. Windows 8 users should type the following command instead and then hit Enter:
如果您正在運行Windows 8,則Windows應用商店將僅安裝在一個位置,因此命令更簡單。 Windows 8用戶應改為鍵入以下命令,然后按Enter鍵:
Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.XML
And that’s pretty much it. Those procedures?usually work to clear a stuck update. If you’re still having trouble with the Windows Store, you might want to try scanning for corrupt system files or restarting into Safe Mode and using some of the procedures in this article again.
就是這樣。 這些過程通常可以清除卡住的更新。 如果您在使用Windows應用商店時仍遇到問題,則可能要嘗試掃描損壞的系統文件或重新啟動進入安全模式,然后再次使用本文中的某些過程。
翻譯自: https://www.howtogeek.com/249690/how-to-fix-a-stuck-download-in-the-windows-store/
windows應用商店修復