หากคุณได้รับข้อผิดพลาด Windows Online Troubleshooting Service is disabled, Windows Online Troubleshoot Service is not enabled for this version of Windows เมื่อรัน Troubleshooter บทความนี้จะช่วยคุณ ผมเพิ่งเจอข้อความข้อผิดพลาดนี้บน Windows 10 Pro v1909

Windows Online Troubleshooting Service is disabled
มีหลายวิธีแก้ปัญหานี้ มาดูด้วยกัน:
- ตรวจสอบว่ามันใช้กับ Windows OS Version ของคุณหรือไม่
- เปิดใช้งาน Scripted Diagnostics Policy
- ตั้งค่า Software Publishing State value ด้วย Registry Editor
- รัน SFC & DISM tool
Windows Online Troubleshooting Service สร้าง Troubleshooting scripts ของตัวเอง ฟีเจอร์นี้ถูกเพิ่มใน Feature Update หนึ่ง และคล้ายกับ "Recommended Troubleshooting"
จากข้อมูลการวินิจฉัย และ Algorithm มันสามารถแก้ไขปัญหาบนคอมพิวเตอร์โดยอัตโนมัติหากคุณต้องการ หรือแจ้งเตือนคุณเกี่ยวกับมัน
1] ตรวจสอบว่ามันใช้กับ Windows OS Version ของคุณหรือไม่
หากคุณดาวน์โหลด Troubleshooter จาก Microsoft และได้ข้อความนี้หลังรัน แสดงว่าคุณต้องตรวจสอบว่ามันใช้กับ Windows OS Version ของคุณหรือไม่ บาง Troubleshooters และ Fix-Its ทำให้รันบน Windows 7 เท่านั้น จึงอาจไม่ทำงานบน Vice versa สามารถใช้ทางกลับกันได้เช่นกัน
2] เปิดใช้งาน Scripted Diagnostics Policy

พิมพ์ gpedit.msc ใน Run prompt ตามด้วย Enter เพื่อเปิด Group Policy Editor
ใน GP Editor ไปที่ Computer Configuration > Administrative Templates > System > Troubleshooting and Diagnostics > Scripted Diagnostics
เปิดใช้งาน Policy ที่ระบุว่า —
Troubleshooting: Allow users to access online troubleshooting content on Microsoft servers from the Troubleshooting Control Panel (via the Windows Online Troubleshooting Service – WOTS)
เมื่อเปิดใช้งานแล้ว เมื่อคุณรัน Troubleshooting methods ใดๆ ข้อผิดพลาดจะไม่แสดงอีก
3] ตั้งค่า Software Publishing State value ด้วย Registry Editor

เปิด Registry Editor
ไปที่:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing
ตรวจสอบให้แน่ใจว่าค่าของ State (DWORD) ตั้งเป็น 23c00
หากไม่ใช่ ให้แก้ไขและใส่ค่า คลิก OK และปิด Registry
ต่อไป หากคุณรัน Troubleshooter ข้อผิดพลาดจะไม่โผล่ขึ้นอีก และคุณจะรัน Troubleshooter ได้
4] รัน DISM
เพื่อรัน DISM ทำดังนี้:

ใน Command Prompt รันคำสั่ง DISM:
DISM.exe /Online /Cleanup-image /Restorehealth
รัน Troubleshooter อีกครั้งเพื่อตรวจสอบว่าปัญหาแก้ไขแล้วหรือไม่
หวังว่าคู่มือนี้จะทำตามง่าย และคุณสามารถเปิดใช้งาน Windows Online Troubleshooting Service ได้
