KB975777: There is a delay when you shut down, restart, or log off a computer that is running Windows 7 or Windows Server 2008 R2
Add a comment
October 14th, 2010
If your users are having trouble loging out form your servers, getting the message
1 program still needs to close:
(Waiting for) Task Host Window
Then this KB is for you. This will patch taskhost.exe to handle the problem.
From the KB article:
Symptoms:
Consider the following scenario:
- 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
Cause:
This problem occurs because the TaskHost.exe process stops handling messages during system shutdown, during system restart, and during system logoff.
Here is the link to the KB.