Fix Task Host Window Prevents Shut Down in Windows 10: If you have recently upgraded to Windows 10 or updated your Windows then you may face a problem when you try to shut down your PC and an error message pops up saying “Task Host Window: Closing 1 app and shutting down (To go back and save your work, click Cancel and finish what you need to). Task Host is stopping background tasks"
The taskhost.exe is a Task Host which is a Generic Host Process for Windows 10. When you shut down your PC, then all the software currently running needs to be closed one at a time but sometimes a software may hang up and therefore you are unable to shut down. Basically, the job of the Task Host process is to interrupt the shutdown process in order to check if all the running programs were closed to avoid any data loss.
Task Host is a generic process which acts as a host for processes that run from DLLs rather than EXEs. An example of this would be a Word file or Windows Media Player would be open and while you still attempt to shut down the PC, the task host window will prevent the shutdown and you will see the error message. So without wasting any time let’s see how to Fix Task Host Window Prevents Shut Down in Windows 10 with the help of below-listed methods.
Fix Task Host Window Prevents Shut Down in Windows 10
ตรวจสอบให้แน่ใจว่าได้สร้างจุดคืนค่า เผื่อในกรณีที่มีสิ่งผิดปกติเกิดขึ้น
วิธีที่ 1: ปิดใช้งานการเริ่มต้นอย่างรวดเร็ว
1.กดแป้น Windows + R แล้วพิมพ์ ควบคุม และกด Enter เพื่อเปิด แผงควบคุม
2 คลิกที่ ฮาร์ดแวร์และเสียง จากนั้นคลิกที่ ตัวเลือก Power.
3.Then from the left window pane select “เลือกสิ่งที่ปุ่มเพาเวอร์ทำ"
4. ตอนนี้คลิกที่ “เปลี่ยนการตั้งค่าที่ไม่สามารถใช้งานได้ในขณะนี้"
5.ยกเลิกการเลือก "เปิดใช้งานการเริ่มต้นอย่างรวดเร็ว” และคลิกที่บันทึกการเปลี่ยนแปลง
Method 2: Run Power-Troubleshooter
1. พิมพ์ “การแก้ไขปัญหา” ในแถบค้นหาของ Windows แล้วคลิก การแก้ไขปัญหา.
2.ถัดไป จากบานหน้าต่างด้านซ้าย ให้เลือก ดูทั้งหมด.
3.จากนั้นเลือกรายการแก้ไขปัญหาคอมพิวเตอร์ อำนาจ
4.Follow on-screen instruction and let the Power Troubleshoot run.
5.Reboot your PC when the process is complete and check if you’re able to Fix Task Host Window Prevents Shut Down in Windows 10 Issue.
Method 3: Start your PC into Safe Mode
Once your PC boot into Safe Mode, try to run the applications which you generally run and use them for few minutes then try to turn off your PC. If you are able to shut down the PC without any errors then the issue is caused because of a conflict with the third-party application.
Method 4: Perform a clean boot
Sometimes 3rd party software can conflict with System and therefore can cause this issue. In order to Fix Task Host Window Prevents Shut Down in Windows 10 Issuesคุณต้องทำการคลีนบูตบนพีซีของคุณและวินิจฉัยปัญหาทีละขั้นตอน
วิธีที่ 5: เรียกใช้ SFC และ DISM
1.กด Windows Key + X จากนั้นคลิกที่ พรอมต์คำสั่ง (ผู้ดูแลระบบ)
2. พิมพ์คำสั่งต่อไปนี้ใน cmd แล้วกด Enter:
Sfc /scannow sfc /scannow /offbootdir=c: /offwindir=c:windows (หากด้านบนล้มเหลว ให้ลองใช้วิธีนี้)
3. รอให้กระบวนการข้างต้นเสร็จสิ้นและเมื่อเสร็จแล้วให้รีสตาร์ทพีซีของคุณ
4. เปิด cmd อีกครั้งแล้วพิมพ์คำสั่งต่อไปนี้แล้วกด Enter หลังจากแต่ละรายการ:
a) Dism /Online /Cleanup-Image /CheckHealth b) Dism /Online /Cleanup-Image /ScanHealth c) Dism /Online /Cleanup-Image / RestoreHealth
5. ปล่อยให้คำสั่ง DISM ทำงานและรอให้คำสั่งเสร็จสิ้น
6. หากคำสั่งข้างต้นไม่ได้ผล ให้ลองคำสั่งด้านล่าง:
Dism /Image:C:offline /Cleanup-Image /RestoreHealth /Source:c:testmountwindows Dism /Online /Cleanup-Image /RestoreHealth /แหล่งที่มา:c:testmountwindows /LimitAccess
หมายเหตุ แทนที่ C:RepairSourceWindows ด้วยตำแหน่งของแหล่งการซ่อมแซมของคุณ (แผ่นดิสก์การติดตั้งหรือการกู้คืน Windows)
7.รีบูตเครื่องพีซีของคุณเพื่อบันทึกการเปลี่ยนแปลงและดูว่าคุณสามารถ Fix Task Host Window Prevents Shut Down in Windows 10.
Method 6: Edit WaitToKillServiceTimeout
1.กดแป้น Windows + R แล้วพิมพ์ regedit และกด Enter เพื่อเปิด Registry Editor
2. ไปที่คีย์รีจิสทรีต่อไปนี้:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl
3.อย่าลืมเลือก Control than in the right window pane double-click on WaitToKillServiceTimeout
4.Change it’s value to 2000 จากนั้นคลิกตกลง
5.Now navigate to the following path:
HKEY_CURRENT_USERControl PanelDesktop
6.Right-click on Desktop then select ใหม่> ค่าสตริง. Name this String as WaitToKillServiceTimeout
7.Now double click on it to change it’s value to 2000 และคลิกตกลง
8.Exit Registry Editor and reboot to save changes.
Method 7: Modify Account Settings
If you have recently updated your Windows to Creators Fall Update 1709 then changing the account settings seems to fix the issue.
1.กด Windows Key + I เพื่อเปิด Settings จากนั้นคลิกที่ บัญชี.
2.จากเมนูด้านซ้ายมือ คลิกที่ ตัวเลือกการลงชื่อเข้าใช้
3.Scroll down to Privacy then turn off or disable the toggle for "ใช้ข้อมูลการลงชื่อเข้าใช้ของฉันเพื่อสิ้นสุดการตั้งค่าอุปกรณ์ของฉันโดยอัตโนมัติหลังจากอัปเดตหรือรีสตาร์ท"
4.รีบูตเครื่องพีซีของคุณเพื่อบันทึกการเปลี่ยนแปลงและดูว่าคุณสามารถ Fix Task Host Window Prevents Shut Down in Windows 10 Issue.
วิธีที่ 8: ตรวจสอบให้แน่ใจว่า Windows เป็นเวอร์ชันล่าสุด
1.กด Windows Key + I จากนั้นเลือก อัปเดตและความปลอดภัย
2.ถัดไป คลิกอีกครั้ง ตรวจหาการปรับปรุง และตรวจสอบให้แน่ใจว่าได้ติดตั้งการอัปเดตที่ค้างอยู่
3. หลังจากติดตั้งการอัปเดตแล้ว ให้รีบูทพีซีของคุณและดูว่าคุณสามารถทำได้หรือไม่ Fix Task Host Window Prevents Shut Down in Windows 10 Issue.
วิธีที่ 9: เรียกใช้ CCleaner และ Malwarebytes
1.ดาวน์โหลดและติดตั้ง CCleaner & Malwarebytes
2. เรียกใช้ Malwarebytes และปล่อยให้มันสแกนระบบของคุณเพื่อหาไฟล์ที่เป็นอันตราย
3.หากพบมัลแวร์ มันจะลบออกโดยอัตโนมัติ
4.ตอนนี้วิ่ง CCleaner และในส่วน "ตัวทำความสะอาด" ใต้แท็บ Windows เราขอแนะนำให้ตรวจสอบตัวเลือกต่อไปนี้เพื่อทำความสะอาด:
5.เมื่อคุณได้ตรวจสอบจุดที่ถูกต้องแล้ว เพียงคลิก เรียกใช้โปรแกรมทำความสะอาด และปล่อยให้ CCleaner ดำเนินการต่อไป
6.หากต้องการทำความสะอาดระบบของคุณเพิ่มเติม ให้เลือกแท็บ Registry และตรวจสอบให้แน่ใจว่าได้ตรวจสอบสิ่งต่อไปนี้แล้ว:
7.เลือก Scan for Issue และอนุญาตให้ CCleaner สแกน จากนั้นคลิก แก้ไขปัญหาที่เลือก.
8.เมื่อ CCleaner ถาม “คุณต้องการเปลี่ยนแปลงการสำรองข้อมูลรีจิสทรีหรือไม่?” เลือกใช่
9.เมื่อการสำรองข้อมูลของคุณเสร็จสิ้น ให้เลือก แก้ไขปัญหาที่เลือกทั้งหมด
10.รีสตาร์ทพีซีของคุณเพื่อบันทึกการเปลี่ยนแปลงและดูว่าคุณสามารถทำได้หรือไม่ Fix Task Host Window Prevents Shut Down in Windows 10 issue.
Method 10: Create New User Account
1.กด Windows Key + I เพื่อเปิด การตั้งค่า แล้วคลิก บัญชี
2 คลิกที่ แท็บครอบครัวและคนอื่น ๆ ในเมนูด้านซ้ายและคลิก เพิ่มคนอื่นในพีซีเครื่องนี้ ภายใต้บุคคลอื่น
3.Click ฉันไม่มีข้อมูลการลงชื่อเข้าใช้ของบุคคลนี้ ที่ด้านล่าง
4.Select เพิ่มผู้ใช้ที่ไม่มีบัญชี Microsoft ที่ส่วนลึกสุด.
5.ตอนนี้พิมพ์ชื่อผู้ใช้และรหัสผ่านสำหรับบัญชีใหม่แล้วคลิกถัดไป
ที่แนะนำ:
นั่นคือคุณประสบความสำเร็จ Fix Task Host Window Prevents Shut Down in Windows 10 หากคุณยังคงมีคำถามเกี่ยวกับคู่มือนี้ อย่าลังเลที่จะถามพวกเขาในส่วนความคิดเห็น