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?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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, 7 voices, and was last updated 11 months 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
-
What happened to the manual?
by
Susan Bradley
43 minutes ago -
Waters of March, at the onset of Fall
by
Myst
7 hours, 8 minutes ago -
OK to Restore Files From a Possibly Hacked Computer?
by
kc27
1 hour, 47 minutes ago -
Startup loop after adding new user and installing File Explore Patch
by
PFC
7 hours, 31 minutes ago -
RoboCops comes to NYPD. You have the right to remain cyborg
by
Alex5723
13 hours, 6 minutes ago -
iOS 17 : New Safari Privat Search Engines
by
Alex5723
14 hours, 12 minutes ago -
Photos App running in background
by
Tom
5 hours, 44 minutes ago -
IPV6 Issue Win10 22H2 August Update
by
Win7and10
12 hours, 24 minutes ago -
Windows 11 Insider Preview build 23550 released to DEV
by
joep517
1 day, 12 hours ago -
Windows 11 Build 22621.2361 (22H2) released to Release Preview
by
joep517
1 day, 12 hours ago -
Lately I’ve been getting qr code spam attacks
by
Susan Bradley
1 day, 15 hours ago -
ghacks Wants Edge – FF Browser Update to View – hack/redirect
by
CraigS26
13 hours, 30 minutes ago -
iOS 17 : If your new iPhone gets stuck on the Apple logo when you transfer…
by
Alex5723
1 day, 23 hours ago -
Apple zero days out – September 2023
by
Susan Bradley
1 day, 18 hours ago -
No shortcuts to files on Taskbar in Win11
by
KingGeorgeN
1 day, 15 hours ago -
“New” Google Sites vs Network Solutions: domain resolution
by
Towson_Steve
1 day, 1 hour ago -
Topic: Privacy Report on Modern Cars
by
oldfry
2 days, 4 hours ago -
Microsoft’s massive Windows 11 update, featuring Copilot AI, begins rolling out
by
Alex5723
2 days, 1 hour ago -
MailStore Home updates
by
Alex5723
3 days, 1 hour ago -
T-Mobile users say they see other people’s account information
by
Alex5723
3 days, 12 hours ago -
Retirement of Exchange Web Services in Exchange Online
by
Alex5723
4 days, 1 hour ago -
What Remote Desktop credentials do I use to access a MS Account computer
by
JP
2 days, 14 hours ago -
Office 2003 Compatibility with One Drive in Windows 11
by
langsjw
4 days, 11 hours ago -
Has KB5030219 been pulled for Windows 11 Pro for Workstations?
by
jharri46
1 day, 14 hours ago -
By default encryption on Apple
by
Susan Bradley
4 days, 5 hours ago -
KB5029331 Macrium/Reflect
by
fpefpe
4 days, 6 hours ago -
Windows 10 Build 19045.3513 (22H2) to Release Preview Channel
by
joep517
4 days, 17 hours ago -
Microsoft worker accidentally exposes 38TB of sensitive data in GitHub blunder
by
Nibbled To Death By Ducks
4 days, 3 hours ago -
Change CPU/Mainboard without reinstallation of OS and Apps – Win10
by
schmersa
4 days, 8 hours ago -
Mouse slows to crawl if Edge in focus
by
bryash
5 days, 13 hours ago
Recent blog posts
Key Links
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.