It’s when you have the Windows Updates services configured to auto update the system which runs when you restart/shutdown the system, the Windows 7 or Windows Server 2008 R2 turns hung or takes long time to pass through the updates install if any of the updates are included for drivers.
Microsoft found this is an issue which occurs because of a race condition in the Plug and Play service during the driver update process. Has released an update for this issue.
Update details from MSFT update documentation:
Prerequisites
To apply this update, you must be running one of the following operating systems:
- Windows 7
- Windows 7 Service pack 1 (SP1)
- Windows Server 2008 R2
- Windows Server 2008 R2 Service Pack 1 (SP1)
For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2
Registry information
To use the update in this package, you do not have to make any changes to the registry.
Restart requirement
You must restart the computer after you apply this update.
Update replacement information
This update does not replace a previously released update.
<
p>Reference: A Windows Update that contains drivers times out on a computer that is running Windows 7 or Windows Server 2008 R2