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
Assegureu-vos de crear un punt de restauració, per si alguna cosa va malament.
Mètode 1: desactiva l'inici ràpid
1.Premeu la tecla Windows + R i després escriviu controlar i premeu Retorn per obrir Panell de control.
2.Click Maquinari i so després feu clic a Opcions d'alimentació.
3. A continuació, al panell esquerre de la finestra, seleccioneu "Trieu el que fan els botons d'alimentació."
4. Ara feu clic a "Canvieu la configuració que actualment no estigui disponible."
5.Desmarca-ho "Activa l'inici ràpid” i feu clic a Desa els canvis.
Method 2: Run Power-Troubleshooter
1.Escriviu "resolució de problemes" a la barra de cerca de Windows i feu clic a Resolució de problemes.
2.A continuació, seleccioneu al panell esquerre de la finestra Veure tot.
3.A continuació, seleccioneu a la llista Resolució de problemes de l'ordinador Potència.
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, heu de fer un arrencada net al vostre PC i diagnosticar el problema pas a pas.
Mètode 5: executeu SFC i DISM
1.Premeu la tecla Windows + X i després feu clic a Símbol del sistema (administrador).
2.Ara escriviu el següent al cmd i premeu Enter:
Sfc /scannow sfc /scannow /offbootdir=c: /offwindir=c:windows (Si a dalt falla, proveu-ho)
3. Espereu que finalitzi el procés anterior i, un cop fet, reinicieu el vostre PC.
4.Torneu a obrir cmd i escriviu l'ordre següent i premeu Enter després de cada un:
a) Dism /Online /Cleanup-Image /CheckHealth b) Dism /Online /Cleanup-Image /ScanHealth c) Dism /Online /Cleanup-Image /RestoreHealth
5.Deixeu que s'executi l'ordre DISM i espereu que acabi.
6. Si l'ordre anterior no funciona, proveu el següent:
Dism /Imatge:C:fora de línia /Cleanup-Image /RestoreHealth /Source:c:testmountwindows Dism /En línia /Cleanup-Image /RestoreHealth /Source:c:testmountwindows /LimitAccess
Nota: Substituïu C:RepairSourceWindows per la ubicació de la font de reparació (disc d'instal·lació o de recuperació de Windows).
7.Reinicieu el vostre PC per desar els canvis i veure si podeu Fix Task Host Window Prevents Shut Down in Windows 10.
Method 6: Edit WaitToKillServiceTimeout
1.Premeu la tecla Windows + R i després escriviu regedit i premeu Enter per obrir l'Editor del registre.
2.Navegueu a la següent clau de registre:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl
3.Assegureu-vos de seleccionar Control than in the right window pane double-click on WaitToKillServiceTimeout.
4.Change it’s value to 2000 i, a continuació, feu clic a D'acord.
5.Now navigate to the following path:
HKEY_CURRENT_USERControl PanelDesktop
6.Right-click on Desktop then select Nou> Valor de cadena. Name this String as WaitToKillServiceTimeout.
7.Now double click on it to change it’s value to 2000 i feu clic a D'acord.
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.Premeu la tecla Windows + I per obrir Configuració i feu clic a Compte
2.Des del menú de l'esquerra, feu clic a Opcions d'inici de sessió.
3.Scroll down to Privacy then turn off or disable the toggle for "Use my sign-in info to automatically finish setting up my device after an update or restart".
4.Reinicieu el vostre PC per desar els canvis i veure si podeu Fix Task Host Window Prevents Shut Down in Windows 10 Issue.
Mètode 8: assegureu-vos que Windows estigui actualitzat
1.Premeu la tecla Windows + I i després seleccioneu Actualització i seguretat.
2.A continuació, torneu a fer clic Buscar actualitzacions i assegureu-vos d'instal·lar les actualitzacions pendents.
3.Un cop instal·lades les actualitzacions, reinicieu el vostre PC i comproveu si podeu fer-ho Fix Task Host Window Prevents Shut Down in Windows 10 Issue.
Mètode 9: executeu CCleaner i Malwarebytes
1.Descarregueu i instal·leu CCleaner & Malwarebytes.
2. Executeu Malwarebytes i deixeu-lo escanejar el vostre sistema per trobar fitxers nocius.
3.Si es troba programari maliciós, l'eliminarà automàticament.
4.Ara corre CCleaner i a la secció "Netejador", a la pestanya Windows, us suggerim que comproveu les següents seleccions a netejar:
5.Un cop us hàgiu comprovat que els punts adequats estan marcats, feu clic Executar Cleaner, i deixeu que CCleaner segueixi el seu curs.
6. Per netejar encara més el vostre sistema, seleccioneu la pestanya Registre i assegureu-vos que estigui marcat el següent:
7.Seleccioneu Scan for Issue i permet que CCleaner escanegi i, a continuació, feu clic Solucioneu els problemes seleccionats.
8. Quan CCleaner demana "Voleu canvis de còpia de seguretat al registre?” seleccioneu Sí.
9.Un cop finalitzada la còpia de seguretat, seleccioneu Arregla tots els problemes seleccionats.
10. Reinicieu l'ordinador per desar els canvis i veure si podeu Fix Task Host Window Prevents Shut Down in Windows 10 issue.
Method 10: Create New User Account
1.Premeu la tecla Windows + I per obrir Configuració i feu clic a Comptes.
2.Click Pestanya Família i altres persones al menú de l'esquerra i feu clic Afegiu a algú a aquesta PC sota Altres persones.
3.Click No tinc informació d’inici de sessió d’aquesta persona al fons.
4.Seleccioneu Afegir un usuari sense un compte de Microsoft a la part inferior.
5.Ara escriviu el nom d'usuari i la contrasenya del compte nou i feu clic a Següent.
Recomanat:
Això és el que tens amb èxit Fix Task Host Window Prevents Shut Down in Windows 10 però si encara teniu cap pregunta sobre aquesta guia, no dubteu a preguntar-les a la secció de comentaris.