Having a problem the past 2 or 3 days when I go to either shutdown Windows or logoff my UserID in Windows 10. Says that “Task Host Window” is preventing shutdown and I can wait for it to finish or return to Windows. It went a whole night without finishing and shutting down, so something must be wrong. I can tell windows to shutdown without waiting for program to finish, but not sure if that causes more harm. A google search says I should try running something called Restoro to check for corrupt files, but can I trust that to fix my file system? Any suggestions on how to solve this problem?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Task Host Window Preventing Shutdown/Logoff
Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » Task Host Window Preventing Shutdown/Logoff
- This topic has 10 replies, 6 voices, and was last updated 7 months, 1 week ago.
AuthorTopicViewing 8 reply threadsAuthorReplies-
CADesertRat
AskWoody Plus -
AJ
Guest
-
CADesertRat
AskWoody PlusTry this, use command prompt (run as Administrator) and run this command-
DISM /Online /Cleanup-Image /RestoreHealth
If that comes back clean, type in sfc /scannow and see if that fixes anything.
Don't take yourself so seriously, no one else does 🙂
All W10 Pro at 22H2,(2 Desktops, 1 Laptop).Rick Corbett
AskWoody_MVPA google search says I should try running something called Restoro to check for corrupt files, but can I trust that to fix my file system?
I suggest you read the following Restoro review article, especially the ‘CONS’, before considing using Restoro.
Hope this helps…
Drcard:))
AskWoody PlusIs Fast Startup enabled? Fast Startup has caused “hangs” in shutdowns.
Try this to test:
Create a new shortcut on the Desktop.
Make the location shutdown /s /t:30
Name the shortcut Shutdown.Clicking this shortcut will by pass making the Fast Startup file and gives open programs 30 seconds to shutdown before a forced shutdown occurs.
HTH, Dana:))
HTH, Dana:))
AJ
GuestThanks to all the people that gave me very quick replies to this problem. After persisting for 2 to 3 days with about 5 or 6 shutdown attempts, problem just disappeared on its own. I did not do anything specific. As far as I know, I do not have Fast Startup enabled, but will try the above recommendation for a shortcut if it happens again.
1 user thanked author for this post.
I’m not a Robot
GuestDo not worry, this “Task Host Window” hang is a Windows quirk and so far there has not been any damage caused by forcing it to quit, although the warning has persisted until Windows does it normal shutdown operation.
1 user thanked author for this post.
flyingdutchgirl
AskWoody PlusThis just happened to me yesterday. After reading all the posts, especially the one from I’m not a Robot, I clicked the Shut Down Anyway button. Waited 5 minutes, started the computer with no problem. (I did a restart for good measure, but probably had no effect.) Shut down had no Task Host message. Started up this morning, no problem.
marklang
AskWoody PlusI just started having this same problem a couple of days ago. I usually have a few items that come up before shutdown, but they clear themselves if I wait a minute or so. The one Task Host Window does not clear after even 5 minutes. Forced shutdown does seem to work, with no consequences when I later reboot. However, I wish I could find a way around this. I hate to do the force shutdown.
By the way, most messages I found on the internet tie this back to a Windows Update issue. However, I have not made any updates since Sept 9 when I installed the August updates. I also tried DISM and sfc, sfc reported it found no issues. I ran the Windows Update Troubleshooting yesterday. It said that it made a change, but I still had the issue when I shutdown last evening. I ran it again today, and it said it could not detect any problems.
marklang
AskWoody PlusThis problem just disappeared for me a few days ago. I am not aware that I did anything specific to fix the problem. I did update Thunderbird, Firefox, and a Logitech driver. I also applied the September updates, but the problem had already disappeared before I did that. I guess I just chalk it up to the vagaries of Microsoft.
Viewing 8 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Spyboy Defense Evasion Tool Advertised Online
by
Alex5723
2 hours, 27 minutes ago -
Gigabyte motherboards backdoor
by
Alex5723
4 hours, 37 minutes ago -
numbering in a table
by
RopyDavits
7 hours, 30 minutes ago -
LMDE 5 32-bit dual boot on seperatd drives
by
bassmanzam
5 hours, 39 minutes ago -
Microsoft ends 2017 Surface Book 2 support
by
Alex5723
18 hours, 46 minutes ago -
My monitors won’t turn on
by
Rush2112
12 hours, 10 minutes ago -
AMD Software Failed to Launch Because Windows Update Has Replaced the AMD…
by
Alex5723
1 day, 4 hours ago -
Microsoft : New macOS vulnerability, Migraine, could bypass System Integrity…
by
Alex5723
1 day, 6 hours ago -
Remove One Drive
by
crudolphy
1 day, 12 hours ago -
Firefox users on Windows 7, 8 and 8.1 moving to Extended Support Release
by
Alex5723
22 minutes ago -
How to change “User Account Control:Run as administrator”
by
DKThompson
1 day, 16 hours ago -
Two monitors, want different “fixed” wallpaper on each one
by
MauryS
1 day, 23 hours ago -
Microsoft forcing move to Microsoft account?
by
Tom
1 day, 21 hours ago -
Event 2545 Device Management – Enterprise – Diagnostics – Provider
by
Tex265
2 days ago -
QBot malware exploits Windows WordPad EXE to take over
by
Alex5723
2 days, 20 hours ago -
Laptop powers off during KB5026361 update
by
dhunter
2 days, 19 hours ago -
How to enable Sleep in Shut down menu?
by
Alex5723
2 days, 21 hours ago -
Beware of Google’s .ZIP domain and password-embedded URLs
by
B. Livingston
5 hours, 4 minutes ago -
Longstanding feature requests, and their status
by
Mary Branscombe
3 days, 5 hours ago -
Three typing tutors — no more “hunt and peck”
by
Deanna McElveen
3 days, 4 hours ago -
Is online banking secure?
by
Susan Bradley
21 hours, 55 minutes ago -
Bluetooth audio not working on older Lenovo T420 with Win 10
by
WSmsc0357
2 days, 10 hours ago -
Using wildcards in search and replace
by
Bob Karrow
3 days, 14 hours ago -
How is Windows XP a security risk?
by
Curious
5 hours, 28 minutes ago -
Is using VPN a good idea?
by
Tex265
3 days, 11 hours ago -
How to prevent/disable Bitlocker Automatic Device Encryption?
by
EricB
3 days, 22 hours ago -
Unexplained aspects of installing the latest update of Office 2021
by
TonyC
3 days, 22 hours ago -
Getting started with macOS Disk Utility: RAID, images, and repairs
by
Alex5723
4 days, 7 hours ago -
Getting started with macOS Disk Utility: Resizing, snapshots, and journaling
by
Alex5723
4 days, 7 hours ago -
Are you ready for AI?
by
Susan Bradley
1 day ago
Recent blog posts
- Beware of Google’s .ZIP domain and password-embedded URLs
- Longstanding feature requests, and their status
- Three typing tutors — no more “hunt and peck”
- Is online banking secure?
- Are you ready for AI?
- MS-DEFCON 4: Skip those Secure Boot scripts
- Getting started with winget
- No NumLock key? Problem solved! Here’s the fix.
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2023 by AskWoody Tech LLC. All Rights Reserved.