Computing.Net > Forums > Windows XP > Silent Automatic Updates

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Silent Automatic Updates

Reply to Message Icon

Name: nrogers64
Date: February 20, 2009 at 15:32:51 Pacific
OS: Windows XP Pro
CPU/Ram: 1.6 GHz/1 GB
Product: N/a / N/A
Subcategory: General
Comment:

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 4

REM Set the install day to be every day
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v ScheduledInstallDay /t REG_DWORD /d 0

REM 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 12

REM Silently install minor updates
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AutoInstallMinorUpdates /t REG_DWORD /d 1

REM Enable RebootRelaunchTimeout
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v RebootRelaunchTimeoutEnabled /t REG_DWORD /d 1

REM 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 1440

REM 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 1

ECHO.
ECHO **************************************************
ECHO.
NET START "Automatic Updates"
WUAUCLT /DETECTNOW
PAUSE
---------------------
Thank you!



Sponsored Link
Ads by Google

Response Number 1
Name: Ed in Texas.
Date: February 21, 2009 at 00:31:31 Pacific
Reply:

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.


0

Response Number 2
Name: nrogers64
Date: February 23, 2009 at 08:35:31 Pacific
Reply:

Thank you!


0

Response Number 3
Name: xeox
Date: April 12, 2009 at 10:05:30 Pacific
Reply:

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


0

Response Number 4
Name: nrogers64
Date: April 13, 2009 at 11:57:21 Pacific
Reply:

Excellent! Thank you very much; this should definitely work.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Silent Automatic Updates

Automatic Updates www.computing.net/answers/windows-xp/automatic-updates/122233.html

automatic updates www.computing.net/answers/windows-xp/automatic-updates/8198.html

Window Automatic Update www.computing.net/answers/windows-xp/window-automatic-update/101748.html