From within my InstallAware 15 install script, I need to be able to detect pending “Important” and “Critical” updates as seen by the Windows 8 system. These are the same 2 items listed when Windows Update is run from the Action menu. I also need to know if a pending reboot is about to happen and if the next power cycle or reset of the machine will be updating the OS. While I am certain some or all of these values are in the Registry, I cannot information to answer my questions.
Any ideas?
Detect pending OS updates and reboot info
-
- Posts: 21
- Joined: Sat Jun 25, 2011 5:21 pm
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Detect pending OS updates and reboot info
Dear User,
Honestly, I never faced a similar situation.
For what I know pending Windows update reboot should be stored under;
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Anyway, I know that it is possible to use the "Windows Update Agent API SDK" for that;
http://msdn.microsoft.com/en-us/library/aa387099.aspx
In addition, I may suggest you to have a look at the following link, where a similar matter has been discussed (seems to be available a VB script code snippet as well).
http://stackoverflow.com/questions/14989145/checking-windows-updates-directly-through-wsus
Hope this helps you.
Regards
Honestly, I never faced a similar situation.
For what I know pending Windows update reboot should be stored under;
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Anyway, I know that it is possible to use the "Windows Update Agent API SDK" for that;
http://msdn.microsoft.com/en-us/library/aa387099.aspx
In addition, I may suggest you to have a look at the following link, where a similar matter has been discussed (seems to be available a VB script code snippet as well).
http://stackoverflow.com/questions/14989145/checking-windows-updates-directly-through-wsus
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 86 guests