M
Michael Moore
Guest
We have a manually launched process for initiating Automatic Updates. It is
based on a update script from Microsoft:
http://msdn2.microsoft.com/en-us/library/aa387102.aspx.
One of the requirements to the update process is prevent any pop up balloon
notifications that normally appear when running Windows/Automatic Updates.
We have our own window that updates the client with progress information.
We need to do this without rebooting the computer. The client will reboot if
necessary at the end of the process. We have everything working except
suppressing the balloons without a reboot or logoff/logon. The notifications
can be suppressed using a registry key, see:
http://support.microsoft.com/?kbid=307729, or using TweakUI.
Explorer.exe does not pick up on manually changing the registry which is
where the logoff/logon or reboot is needed. When TweakUI makes the change it
also forces explorer.exe to refresh, without killing the process, and the
balloon notification suppression takes place immediately.
We tried using a command from http://www.robvanderwoude.com/rundll.html to
force explorer.exe to refresh and while explorer.exe does re-read the balloon
registry setting it does not make an immediate change.
RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
The user interface to Windows/Automatic updates can also be disabled through
a group policy change but again it does not have an immediate effect.
User Configuration\Administrative Templates\Windows Components\Windows
Update - Remove access to use all Windows Update features
Anyone know how to do what TweakUI does and make the change to suppress
balloon notifications instant? I've searched and cannot find and hits that
reference this. The only requirement is that the option be scriptable from
either a .bat, .cmd, or a .vbs file.
Thank you,
-Mike
based on a update script from Microsoft:
http://msdn2.microsoft.com/en-us/library/aa387102.aspx.
One of the requirements to the update process is prevent any pop up balloon
notifications that normally appear when running Windows/Automatic Updates.
We have our own window that updates the client with progress information.
We need to do this without rebooting the computer. The client will reboot if
necessary at the end of the process. We have everything working except
suppressing the balloons without a reboot or logoff/logon. The notifications
can be suppressed using a registry key, see:
http://support.microsoft.com/?kbid=307729, or using TweakUI.
Explorer.exe does not pick up on manually changing the registry which is
where the logoff/logon or reboot is needed. When TweakUI makes the change it
also forces explorer.exe to refresh, without killing the process, and the
balloon notification suppression takes place immediately.
We tried using a command from http://www.robvanderwoude.com/rundll.html to
force explorer.exe to refresh and while explorer.exe does re-read the balloon
registry setting it does not make an immediate change.
RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
The user interface to Windows/Automatic updates can also be disabled through
a group policy change but again it does not have an immediate effect.
User Configuration\Administrative Templates\Windows Components\Windows
Update - Remove access to use all Windows Update features
Anyone know how to do what TweakUI does and make the change to suppress
balloon notifications instant? I've searched and cannot find and hits that
reference this. The only requirement is that the option be scriptable from
either a .bat, .cmd, or a .vbs file.
Thank you,
-Mike