Changes

Jump to: navigation, search

Automatic Updates

861 bytes added, 14:20, 11 March 2010
added vbs script method
Note that you will need [http://unattended.sf.net Unattended] on your server, and Perl on your workstations (it comes by default if you deploy Windows with Unattended).
 
= Automatic updates with vbs =
 
 
put this in disableupdate.vbs:
 
<source lang="vb"> Const AU_DISABLED = 1
 
Set objAutoUpdate = CreateObject("Microsoft.Update.AutoUpdate")
Set objSettings = objAutoUpdate.Settings
 
objSettings.NotificationLevel = AU_DISABLED
objSettings.Save
 
</source>
 
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="windowsupdates"
name="Windows Updates"
revision="1"
reboot="false"
priority="10"
execute="once">
<install cmd='C:\Perl\bin\perl %SERVER%\unattended\bin\auconfig.pl 3' />
<upgrade cmd='C:\Perl\bin\perl %SERVER%\unattended\bin\auconfig.pl 3' />
</package>
</packages>
</source>
 
Note that you will need [http://unattended.sf.net Unattended] on your server, and Perl on your workstations (it comes by default if you deploy Windows with Unattended).
 
[[Category: Changing Windows settings]]
18
edits

Navigation menu