Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi there,
I have a friend who has an XP Pro machine. He doesn't know much about computers and wants to be able to use it for e-mail without having to worry about Windows updates and virus definition updates and such. I'm trying to figure out how to FULLY automate the automatic updates. I'm working on a batch file and testing it in a virtual machine. I've got it to the point where it will download updates automatically and if you specifically choose to install the updates then it will install them and won't nag you to reboot every ten minutes and won't reboot automatically. All of that is exactly how I want it except for one thing: you have to specifically choose to install the updates yourself. Is there a way to install them automatically? Here is the batch file I have so far:
---------------------
@ECHO OFF
CLS
NET STOP "Automatic Updates"
ECHO Adding registry entries...
ECHO.
ECHO **************************************************REM Turn on automatic updates
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 4REM Set the install day to be every day
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v ScheduledInstallDay /t REG_DWORD /d 0REM Set the install time to be 12:00 PM
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v ScheduledInstallTime /t REG_DWORD /d 12REM Silently install minor updates
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AutoInstallMinorUpdates /t REG_DWORD /d 1REM Enable RebootRelaunchTimeout
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v RebootRelaunchTimeoutEnabled /t REG_DWORD /d 1REM Set the time between prompting again for a scheduled restart to be 1,440 minutes (24 hours)
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v RebootRelaunchTimeout /t REG_DWORD /d 1440REM Logged-on user gets to choose whether or not to restart the computer instead of being notified that the computer will restart in 5 minutes
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1ECHO.
ECHO **************************************************
ECHO.
NET START "Automatic Updates"
WUAUCLT /DETECTNOW
PAUSE
---------------------
Thank you!

nrogers64, strikes me that maybe the simplest way would be to instruct him to turn the machine off when he's done for the day and going to bed. As he reboots upon arising, the machine is updated?
HTH.
Ed in Texas.

With the tool WuInstall (http://www.xeox.com/index.php/en/tools/wuinstall) i think you should be able to do exactly what you want - search, download and install the windows updates in one step.
you can also specify crierias and search options for updates and force a reboot

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |