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.Click 硬件和声音 然后点击 电源选项.
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,您需要在PC上执行干净启动并逐步诊断问题。
方法 5:运行 SFC 和 DISM
1.按 Windows 键 + X,然后单击 命令提示符(管理员)。
2.现在在cmd中输入以下内容并按回车键:
Sfc /scannow sfc /scannow /offbootdir=c: /offwindir=c:windows (如果上述失败,请尝试这个)
3.等待上述过程完成,完成后重新启动电脑。
4.Again open cmd and type the following command and hit enter after each one:
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.Click 家庭和其他人选项卡 在左侧菜单中,然后单击 添加其他人到这台PC 在其他人之下。
3.Click 我没有此人的登录信息 在底部。
4.Select 添加没有Microsoft帐户的用户 在底部。
5.现在输入新帐户的用户名和密码,然后单击“下一步”。
推荐:
这样你就成功了 Fix Task Host Window Prevents Shut Down in Windows 10 但如果您对本指南仍有任何疑问,请随时在评论部分提问。