Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไขข้อผิดพลาด "ms-windows-store:PurgeCaches, The application didn't start" ใน Windows Store

ms-windows-store:purgecaches เป็นคำสั่งล้างแคช Windows Store ที่สะสมไปเรื่อยๆ ข้อผิดพลาดนี้มักเกิดเมื่อ Store มีปัญหา ผู้ใช้มักลองใช้ wsreset.exe แต่เจอข้อความ: "ms-windows-store:PurgeCaches, The application didn't start."

แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store

ข้อผิดพลาดนี้เพิ่มขึ้นหลังอัปเดต Windows 10 บางรุ่น และอาจมาจากกระบวนการอัปเกรด หากคุณกำลังเผชิญปัญหานี้ บทความนี้มีวิธีแก้ที่น่าเชื่อถือ ลองตามลำดับจนแก้ได้

1. เปิดใช้งาน License Manager Service

ปัญหานี้อาจเกิดจาก License Manager Service ถูกปิดโดยโปรแกรมปรับแต่งระบบ (Tweaker/Optimizer) ทำให้ Store หยุดทำงาน

  1. ค้นหา Command Prompt > Run as administrator
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  2. พิมพ์คำสั่ง:
    sc config LicenseManager start= demand
  3. Restart เครื่อง > ตรวจสอบว่าปัญหาหายหรือยัง

2. ซ่อมสิทธิ์ผ่าน Registry Editor

เนื่องจาก Windows ไม่สามารถ Reset แคชแอปได้ เราแก้ผ่าน Registry โดยซ่อมสิทธิ์ Packages

  1. Win+R > regedit > Enter > Yes (UAC)
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  2. ไปที่:
    HKEY_CURRENT_USER \ Software \ Classes \ Local Settings \ Software \ Microsoft \ Windows \ CurrentVersion \ AppModel\ Repository \ Packages
  3. คลิกขวา Packages > Permissions
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  4. คลิก Advanced
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  5. คลิก Change (Owner) > ตั้ง Owner เป็น System (พิมพ์ System > Check Names > OK)
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  6. ติ๊ก Replace all child object permission entries with inheritable permission entries from this object (ล่างสุด)
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  7. Apply > OK > ปิด Registry > Reboot

ยังไม่หาย? ลองวิธีต่อไป

3. ใช้ Windows Store Troubleshooter + PowerShell Re-register

วิธีนี้จาก Microsoft Professional ช่วยหลายคน

  1. เปิด Settings (Win+I หรือไอคอนเฟือง)
  2. Update & Security > Troubleshoot > Additional troubleshooters
  3. รัน Windows Store Apps troubleshooter ตามหน้าจอ
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  4. รัน Internet Connections troubleshooter ด้วย (เผื่อปัญหาเน็ต)

ต่อด้วย PowerShell Re-register Store:

  1. คลิกขวา Start > Windows PowerShell (Admin)
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  2. Copy คำสั่งนี้ Enter:
    $manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest
  3. Restart > ตรวจสอบ Store

4. อัปเดต Windows

หลายคนเจอปัญหาหลัง Build ใด Build หนึ่ง แล้ว Build ใหม่ก็แก้ไขได้ ติดตั้ง Update ทั้งหมดดู

  1. PowerShell (Admin) > พิมพ์ cmd เข้าสภาพแวดล้อม cmd
  2. รัน:
    wuauclt.exe /updatenow
  3. รออย่างน้อย 1 ชม. ดูว่ามี Update ติดตั้งหรือไม่

ทางเลือก: Settings > Update & Security > Windows Update > Check for updates

5. ติดตั้ง Default Apps ใหม่ด้วย PowerShell

วิธีขั้นสูง แต่มีผลหากทำถูกต้อง

  1. C:\Program Files\WindowsApps > Properties > Security > Advanced > เปลี่ยน Owner เป็น User ของคุณ
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  2. ติ๊ก Replace owner on subcontainers and objects > OK
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  3. Security tab > Edit > เพิ่ม User ของคุณ > Full Control > Apply

จากนั้น PowerShell (Admin) รัน:

Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register $($_.InstallLocation)\AppXManifest.xml}
  1. ตรวจสอบว่าปัญหาหายหรือยัง

6. สร้างบัญชีใหม่ทดสอบ (竒招)

บางคน Store เสียบนบัญชีเดิม แต่บัญชีใหม่ใช้ได้ และ wsreset บนบัญชีใหม่ช่วยแก้บัญชีเก่าได้!

  1. Settings > Accounts > Family & other users > Add someone else > Sign in without Microsoft account
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  2. สร้าง Local Account (ไม่ต้องรหัสผ่านก็ได้)
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  3. Finish > Restart > Login บัญชีใหม่ > รัน wsreset จาก Start menu > ดูว่าหายหรือยัง

7. รีเซ็ตสิทธิ์ (icacls)

บางครั้งสิทธิ์โฟลเดอร์ WindowsApps ผิด ต้อง Reset

  1. Win+R > cmd > Ctrl+Shift+Enter (Admin)
    แก้ไขข้อผิดพลาด  ms-windows-store:PurgeCaches, The application didn t start  ใน Windows Store
  2. รัน:
    icacls "C:\Program Files\WindowsApps" /reset /t /c /q
  3. ตรวจสอบปัญหา