How to know if windows update is waitng for installation [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Best way of detecting if Windows has Windows Updates ready to download/install? I am using C# .net 3.5. How can I know if there are updates ready to be installed in Windows Update? On windows 8, when Windows Update is waiting to install updates, the sleep option is disabled. Instead of the regular 3 options: 1. Sleep 2. Restart 3. Shutdown, there are only 2 options: 1. Restart and update 2. Shutdown and update.