Changes

Jump to: navigation, search

Automatic Updates

2,148 bytes added, 08:17, 5 March 2008
no edit summary
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 using registry==
Read this before apply [http://support.microsoft.com/kb/328010 http://support.microsoft.com/kb/328010]
 
<package
id="winupdates"
name="Automatic updates"
revision="8"
reboot="false"
notify="false"
priority="100">
<!-- http://support.microsoft.com/kb/328010 -->
<check type="logical" condition="or">
<check type="registry" condition="equals" path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName" value="Microsoft Windows 2000" />
<check type="registry" condition="equals" path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName" value="Microsoft Windows XP" />
</check>
<check type="logical" condition="and">
<check type="registry" condition="equals" path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\AUOptions" value="4" />
<check type="registry" condition="equals" path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\ScheduledInstallDay" value="0" />
<check type="registry" condition="equals" path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\ScheduledInstallTime" value="8" />
</check>
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 4 /f' />
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v ScheduledInstallDay /t REG_DWORD /d 0 /f' />
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v ScheduledInstallTime /t REG_DWORD /d 8 /f' />
<upgrade cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 4 /f' />
<upgrade cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v ScheduledInstallDay /t REG_DWORD /d 0 /f' />
<upgrade cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v ScheduledInstallTime /t REG_DWORD /d 8 /f' />
</package>
 
[[Category: Changing Windows settings]]
Anonymous user

Navigation menu