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.按Windows鍵+ R然後輸入 控制 然後按Enter打開 控制面板。
2。點擊 硬件和聲音 然後點擊 電源選項.
3.然後從左側窗格中選擇“選擇電源按鈕的功能。“
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,您需要在PC上執行乾淨啟動並逐步診斷問題。
方法 5:運行 SFC 和 DISM
1.按Windows鍵+ X然後點擊 命令提示符(管理員)。
2.現在在cmd中輸入以下內容並回車:
Sfc /scannow sfc /scannow /offbootdir=c: /offwindir=c:windows (如果以上失敗,那麼試試這個)
3.等待上述過程完成,完成後重新啟動您的電腦。
4.再次開啟cmd並鍵入以下指令,並在每個指令後按下回車鍵:
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 /Source:c:testmountwindows /LimitAccess
注意: 將 C:RepairSourceWindows 替換為修復來源(Windows 安裝或還原光碟)的位置。
7.重啟你的電腦以保存更改,看看你是否能夠 Fix Task Host Window Prevents Shut Down in Windows 10.
Method 6: Edit WaitToKillServiceTimeout
1.按Windows鍵+ R然後輸入 註冊表編輯器 並按 Enter 打開註冊表編輯器。
2.導航到以下註冊表項:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl
3.確保選擇 控制 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鍵+ I打開設置然後點擊 帳戶。
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 鍵 + I,然後選擇 更新和安全性。
2.下一步,再次點擊 檢查更新 並確保安裝所有待處理的更新。
3.安裝更新後,重新啟動您的電腦,看看是否能夠 Fix Task Host Window Prevents Shut Down in Windows 10 Issue.
方法 9:運行 CCleaner 和 Malwarebytes
2.執行 Malwarebytes 並讓它掃描您的系統是否有有害檔案。
3.如果發現惡意軟體,它將自動刪除它們。
4.現在運行 CCleaner 在「Windows」標籤下的「清理」部分中,我們建議檢查以下要清理的選項:
5.一旦您確定檢查了正確的點,只需單擊 運行更清潔, 讓 CCleaner 順其自然。
6.要清理系統,請進一步選擇「註冊表」標籤並確保選取以下內容:
7.選擇掃描問題並允許CCleaner掃描,然後按一下 修復選定的問題。
8.當CCleaner詢問“您想要對註冊表進行備份更改嗎?”選擇是。
9.備份完成後,選擇「修復所有選定的問題」。
10.重新啟動您的電腦以儲存變更並查看是否能夠 Fix Task Host Window Prevents Shut Down in Windows 10 issue.
Method 10: Create New User Account
1.按Windows鍵+ I打開 設定 然後單擊 賬戶。
2。點擊 家庭和其他人標籤 在左側菜單中,然後單擊 將其他人添加到此PC 在其他人之下。
3.Click 我沒有此人的登錄信息 在底部。
4.Select 添加沒有Microsoft帳戶的用戶 在底部。
5.現在輸入新帳戶的使用者名稱和密碼,然後按一下「下一步」。
推薦:
這樣你就成功了 Fix Task Host Window Prevents Shut Down in Windows 10 但如果您對本指南仍有任何疑問,請隨時在評論部分提問。