Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > How does Automatic Updates know I need to reboot?

Reply
Thread Tools Display Modes

How does Automatic Updates know I need to reboot?

 
 
John Straffin
Guest
Posts: n/a

 
      02-21-2007
All,

I'd like to use the "please reboot" functionality of the Windows Upadate
Automatic Updates service as part of a script I've written. Is there any way
to "tell" wuauserv that the computer needs to be rebooted? A registry key
change, or wuauserv command, for example?

- John
 
Reply With Quote
 
 
 
 
MowGreen [MVP]
Guest
Posts: n/a

 
      02-22-2007
John,

Do a search for what's required to offer/force a reboot on MSDN:
http://msdn2.microsoft.com/en-us/default.aspx

The reboot mechanism is not related to wuauserv, rather the installation
of a file that's in use that can not be replaced until the system is
restarted.

MowGreen [MVP 2003-2007]
===============
*-343-* FDNY
Never Forgotten
===============


John Straffin wrote:

> All,
>
> I'd like to use the "please reboot" functionality of the Windows Upadate
> Automatic Updates service as part of a script I've written. Is there any way
> to "tell" wuauserv that the computer needs to be rebooted? A registry key
> change, or wuauserv command, for example?
>
> - John

 
Reply With Quote
 
John Straffin
Guest
Posts: n/a

 
      02-22-2007
"MowGreen [MVP]" wrote:
> Do a search for what's required to offer/force a reboot on MSDN:
> http://msdn2.microsoft.com/en-us/default.aspx
>
> The reboot mechanism is not related to wuauserv, rather the installation
> of a file that's in use that can not be replaced until the system is
> restarted.


That's not quite the "reboot mechanism" I was looking for. I've made changes
to the user's computer that require a restart to take effect, but the user is
actively using the PC and I *can't* force them to stop what they're doing and
restart *now* (well, I *can*, but I may not.) Rather than re-inventing the
wheel, I was hoping to use the already-existing mechanism in wuauserv to bug
the user every however long to "please reboot". I've seen vbscripts to effect
a similar result, but I was hoping to find a magic reg key to flip from 0 to
1, or a wuauserv command to set off the restart message.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling automatic reboot after automatic updates Mokupono Windows Update 4 10-21-2005 02:08 PM
WUS and automatic reboot Libre Service Internet Bātiment Louvre E2 Windows Update 1 02-02-2005 01:28 PM
SP1 - automatic updates - 2 issues (download, reboot) Robuk Windows Update 0 11-22-2004 06:42 PM
Automatic -> reboot? Jimyjohn Windows Update 1 04-15-2004 05:31 AM
Automatic Updates - forced reboot - can't delay! Lee M. Windows Update 5 07-11-2003 04:57 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59