Changes

Jump to: navigation, search

Automatic Updates

171 bytes added, 14:33, 11 March 2010
no edit summary
put this in disableupdate.vbs:
<source lang="vb"> Const AU_DISABLED = 1'part that disables auto update
Const AU_DISABLED = 1
Set objAutoUpdate = CreateObject("Microsoft.Update.AutoUpdate")
Set objSettings = objAutoUpdate.Settings
objSettings.NotificationLevel = AU_DISABLED
objSettings.Save
 
' part that creates a file c:\disableupdate.txt to do wpkg install check
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile("c:\disableupdate.txt")
 
 
</source>
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="windowsupdatesdisableupdate" name="Windows Updatesdisablewindowsupdate" revision="1" reboot="false" priority="10" execute="once2">
<install cmdcheck type='"file" condition="exists" path="C:\Perl\bin\perl %SERVER%\unattended\bin\auconfigdisableupdate.pl 3' txt" /> <upgrade install cmd='CW:\Perl\bin\perl %SERVER%\unattended\bintools\auconfigdisableupdate.pl 3vbs' />
</package>
</packages>
</source>
18
edits

Navigation menu