Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

App-V 應用程式無法啟動,並且 Log 資料夾下方的 Microsoft-AppV-Client\Debug 記錄檔中記錄錯誤 0xc0000225: Applications and ServicesLogs\Microsoft\AppV\ServiceLog。

解決方案

建立可新增睡眠延遲的 MaxAttachWaitTimeInMillisecond 登錄機碼,以解決關閉後快速地重新啟動虛擬環境,但基礎磁碟區無法提供列舉使用時的時間問題。

請使用本機系統管理員的認證來建立並設定下列登錄機碼:

登錄子機碼: HKLM\SOFTWARE\Microsoft\AppV\MAV\Configuration

登錄機碼名稱: MaxAttachWaitTimeInMilliseconds

登錄類型: DWORD

設定為非零值將可修正問題。 預設值為零,最大值為 10,000 (登錄中不含逗號)。

MaxAttachWaitTimeInMilliseconds 值 1 通常足以消除應用程式啟動失敗的情形。 如果應用程式持續發生失敗並出現相同的啟動錯誤,請逐漸增加值,以提高驅動程式在列舉檢查之間進入睡眠狀態的時間量。 此外,您也可以在 Log 資料夾下方的 Microsoft-AppV-Client\Debug 記錄檔中檢閱詳細資訊事件: Applications and ServicesLogs\Microsoft\AppV\ServiceLog\,以查看所用/所需的睡眠時間,然後依此重新調整 MaxAttachWaitTimeInMilliseconds。

注意

過大的 MaxAttachWaitTimeInMilliseconds 值可能會造成應用程式出現沒有回應的情形。

 

先決條件

若要使用 MaxAttachWaitTimeInMilliseconds,請安裝 2019 年 3 月 19 日以後發行的最新累積更新 (LCU),例如:

  • 適用於 Windows 10 1607 版和 Windows Server 2016 的 KB4489889 或更高版本的 LCU。

  • 適用於 Windows 10 1703 版的 KB4489888 或更高版本的 LCU。

  • 適用於 Windows 10 1709 版的 KB4489890 或更高版本的 LCU。

  • 適用於 Windows 10 1803 版的 KB4489894 或更高版本的 LCU。

  • 適用於 Windows 10 1809 版和 Windows Server 2019 的 KB4482887 或更高版本的 LCU。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×