Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> การบำรุงรักษาคอมพิวเตอร์

แก้ไขข้อผิดพลาดการปรับใช้ Windows 10 Shell Experience Host 0x80073D02

บน Windows 10 แอป 'Windows Shell Experience Host' ไม่สามารถติดตั้งใหม่ (re-register) ได้โดยใช้คำสั่ง PowerShell "Add-AppxPackage" พร้อมข้อผิดพลาด: "Microsoft.Windows.ShellExperienceHost Deployment failed with HRESULT 0x80073D02. The package could not be installed because resources it modifies are currently in use" (Event ID 401, 404, 419)

ข้อผิดพลาดการปรับใช้ 0x80073D02 อาจปรากฏ เมื่อคุณพยายาม re-register ทุกแอป built-in ของ Windows 10* หรือ เมื่อพยายาม register เฉพาะแอป "Windows Shell Experience Host"**:

* เพื่อ register (ติดตั้งใหม่) ทุก built-in apps ที่ current user:

  • Get-AppxPackage | Foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}

** เพื่อ re-register เฉพาะแอป 'Windows Shell Experience Host' ที่ current user:

  • Get-AppxPackage Microsoft.Windows.ShellExperienceHost | Foreach{Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

แก้ไขข้อผิดพลาดการปรับใช้ Windows 10 Shell Experience Host 0x80073D02

บทช่วยสอนนี้มีคำแนะนำเพื่อแก้ไขข้อผิดพลาดต่อไปนี้ใน PowerShell และ Event Viewer หลังจากรันคำสั่ง "Add-AppxPackage" เพื่อ register แอป 'Windows Shell Experience Host' ใน Windows 10:

Windows.ShellExperienceHost PowerShell Error 0x80073D02 :

  • "Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use.
    error 0x80073D02: Unable to install because the following apps need to be closed
    Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy.

Windows.ShellExperienceHost Event Viewer Errors 0x80073D02:
(Applications and Services Logs\Microsoft\Windows\AppXDeploymentServer\Microsoft-Windows-AppXDeploymentServer/Operational):

  • Event ID 419: error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy.
  • Event ID 401: Deployment Register operation with target volume C: on Package Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy from: (AppXManifest.xml) failed with error 0x80073D02. See https://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
  • Event ID 404: AppX Deployment operation failed for package Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy with error 0x80073D02. The specific error text for this failure is: error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.Windows.ShellExperienceHost_10.0.17134.112_neutral_neutral_cw5n1h2txyewy.

วิธีแก้: Microsoft.Windows.ShellExperienceHost Deployment Failed with Error: 0x80073D02

ข้อผิดพลาด "Microsoft.Windows.ShellExperienceHost Deployment failed with HRESULT: 0x80073D02" เกิดขึ้น เพราะแอป Windows Shell Experience Host กำลังทำงานอยู่ในขณะที่รันคำสั่ง "Add-AppxPackage"

ดังนั้น วิธีเดียวที่จะข้ามข้อผิดพลาด "0x80073D02" คือ ปิดแอป 'Windows Shell Experience Host' โดยใช้ Task Manager และจากนั้นรันคำสั่ง "Add-AppxPackage" ทันที วิธีทำดังนี้:

1. เปิด PowerShell เป็น Administrator และคัดลอก/วางคำสั่ง "Get-AppXPackage" ด้านล่าง เพื่อติดตั้งใหม่แอป 'Windows Shell Experience Host' แต่ อย่า กด Enter จนกว่าจะถึงขั้นตอน

  • Get-AppxPackage Microsoft.Windows.ShellExperienceHost | Foreach{Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

2. จากนั้นกด Ctrl+ALT+DEL และเปิด Task Manager

3. (ตอนนี้คุณต้องเร็ว...) ...

1. ที่แท็บ Processes คลิกขวา ที่ Windows Shell Experience Host และคลิก End Task

2. จากนั้น คลิก ทันที ที่หน้าต่าง PowerShell และกด Enter

แก้ไขข้อผิดพลาดการปรับใช้ Windows 10 Shell Experience Host 0x80073D02

4. ปกติแล้ว ตอนนี้ 'Windows Shell Experience Host' จะถูกติดตั้งใหม่โดยไม่มีข้อผิดพลาด

เสร็จแล้ว! แจ้งให้ทราบว่าคู่มือนี้ช่วยได้หรือไม่ โดยแสดงความคิดเห็นจากประสบการณ์ของคุณ กรุณาไลก์และแชร์คู่มือนี้เพื่อช่วยผู้อื่น