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
Certifique-se de criar um ponto de restauração, caso algo dê errado.
Método 1: Desativar inicialização rápida
1.Pressione a tecla Windows + R e digite ao controle e pressione Enter para abrir Painel De Controle.
2.Clique em Hardware e som então clique em Opções de energia.
3.Em seguida, no painel esquerdo da janela, selecione “Escolha o que os botões de energia fazem."
4.Agora clique em “Altere as configurações que estão atualmente indisponíveis."
5.Desmarcar "Ativar inicialização rápida”E clique em Salvar alterações.
Method 2: Run Power-Troubleshooter
1. Digite “solução de problemas” na barra de pesquisa do Windows e clique em Solução de problemas.
2. Em seguida, no painel esquerdo da janela, selecione Ver tudo.
3. Em seguida, na lista Solucionar problemas do computador, selecione Power.
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, you need to perform a clean boot on your PC and diagnose the issue step by step.
Método 5: execute SFC e DISM
1.Pressione a tecla Windows + X e clique em Prompt de Comando (Administrador).
2.Agora digite o seguinte no cmd e pressione Enter:
Sfc /scannow sfc /scannow /offbootdir=c: /offwindir=c:windows (se o procedimento acima falhar, tente este)
3.Aguarde a conclusão do processo acima e, quando terminar, reinicie o PC.
4. Abra novamente o cmd e digite o seguinte comando e pressione Enter após cada um:
a) Dism /Online /Cleanup-Image /CheckHealth b) Dism /Online /Cleanup-Image /ScanHealth c) Dism /Online /Cleanup-Image /RestoreHealth
5.Deixe o comando DISM ser executado e espere que ele termine.
6. Se o comando acima não funcionar, tente o seguinte:
Dism /Image:C:offline /Cleanup-Image /RestoreHealth /Fonte:c:testmountwindows Dism /Online /Cleanup-Image /RestoreHealth /Fonte:c:testmountwindows /LimitAccess
Observação: Substitua C:RepairSourceWindows pelo local da sua fonte de reparo (instalação do Windows ou disco de recuperação).
7.Reinicie o seu PC para salvar as alterações e veja se você consegue Fix Task Host Window Prevents Shut Down in Windows 10.
Method 6: Edit WaitToKillServiceTimeout
1.Pressione a tecla Windows + R e digite regedit e pressione Enter para abrir o Editor do Registro.
2. Navegue até a seguinte chave de registro:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl
3. Certifique-se de selecionar Control than in the right window pane double-click on WaitToKillServiceTimeout.
4.Change it’s value to 2000 e depois clique em OK.
5.Now navigate to the following path:
PanelDesktop HKEY_CURRENT_USERControl
6.Right-click on Desktop then select Novo> Valor da string. Name this String as WaitToKillServiceTimeout.
7.Now double click on it to change it’s value to 2000 e clique em OK.
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.Pressione a tecla Windows + I para abrir Configurações e clique em Conta.
2.No menu à esquerda, clique em Opções de login.
3.Scroll down to Privacy then turn off or disable the toggle for "Usar minhas informações de login para concluir automaticamente a configuração do meu dispositivo após uma atualização ou reinicialização".
4.Reinicie o seu PC para salvar as alterações e veja se você consegue Fix Task Host Window Prevents Shut Down in Windows 10 Issue.
Método 8: certifique-se de que o Windows esteja atualizado
1.Pressione a tecla Windows + I e selecione Atualização e segurança.
2. Em seguida, clique novamente Verificar atualizações e certifique-se de instalar todas as atualizações pendentes.
3. Depois que as atualizações forem instaladas, reinicie o seu PC e veja se você consegue Fix Task Host Window Prevents Shut Down in Windows 10 Issue.
Método 9: execute CCleaner e Malwarebytes
1. Baixe e instale Ccleaner & Malwarebytes.
2.Execute o Malwarebytes e deixe-o verificar se há arquivos prejudiciais em seu sistema.
3.Se for encontrado malware, ele os removerá automaticamente.
4.Agora corra Ccleaner e na seção “Limpador”, na guia Windows, sugerimos verificar as seguintes seleções a serem limpas:
5.Depois de verificar se os pontos corretos foram verificados, basta clicar Execute o limpador, e deixe o CCleaner seguir seu curso.
6.Para limpar ainda mais o seu sistema, selecione a guia Registro e certifique-se de que o seguinte esteja verificado:
7.Selecione Scan for Issue e permita que o CCleaner faça a varredura e clique em Corrigir problemas selecionados.
8.Quando CCleaner pergunta “Você deseja fazer backup das alterações no registro?” selecione Sim.
9.Depois que o backup for concluído, selecione Corrigir todos os problemas selecionados.
10.Reinicie o seu PC para salvar as alterações e veja se você consegue Fix Task Host Window Prevents Shut Down in Windows 10 issue.
Método 10: Criar nova conta de usuário
1.Pressione a tecla Windows + I para abrir Configurações e clique em Contas
2.Clique em Guia Família e outras pessoas no menu à esquerda e clique em Adicione outra pessoa a este PC em Outras pessoas.
3.Clique Não tenho as informações de login dessa pessoa no fundo.
4.Select Adicionar um usuário sem uma conta da Microsoft na parte inferior.
5.Agora digite o nome de usuário e a senha da nova conta e clique em Avançar.
Recomendado:
É isso que você conseguiu com sucesso Fix Task Host Window Prevents Shut Down in Windows 10 mas se você ainda tiver alguma dúvida sobre este guia, sinta-se à vontade para perguntar na seção de comentários.