CNET's Forum on Windows 7 is the best source for finding help or troubleshooting advice from a community of experts. Discussions cover Windows installation, driver problems, crashes, upgrading, service packs, and other Windows 7-related questions.
• You have a computer that is running Windows 7 or Windows Server 2008 R2. • You try to shut down, restart, or log off the computer.
In this scenario, the logoff process stops for about six seconds. Additionally, you receive the following message:
1 program still needs to close: (Waiting for) Task Host Window
This problem occurs because the TaskHost.exe process stops handling messages during system shutdown, during system restart, and during system logoff.
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.