SUM - Software Update Managment - Tools

Microsoft Online Updae Catalog search

Here is script to change WUA scan scheduler
This is heandy script to manualy change the WUA settings for Pilot ant test groups where oyu want speed up the WUA scan.
' The script set the SCCM Client's "Install required updates on a schedule" option in Update Tab
' Script add status entry to Application Event Log.
' Script was provided by SCCM SDK
' Modified by: Neven Radic, Oct-30-2009
' Parameters: First parameter is the day:
' 0=none, 1=Sunday, 2=Monday, 3=Tuesday, 4=Wednesday 5=Thursday, 6=Friday, 7=Saturday, 8=Daily
' 2nd Paramter is the time, 0 through 23 hours
' Script works on all SCCM client computer systems
' Usage (on X32 bit): %windir%\System32\cscript SetWUASch.vbs 8 10
' Usage (on X64 bit): %windir%\SysWOW64\cscript SetWUASch.vbs 8 10
dim updatesDeployment,sEvent, objShell
On error resume Next
newRecurrence = wscript.arguments(0)
newHour = wscript.arguments(1)
set updatesDeployment = CreateObject ("UDA.CCMUpdatesDeployment")
updatesDeployment.SetUserDefinedSchedule newRecurrence, newHour
'Write an Event to the Local Event Log ---------------
Set objShell = Wscript.CreateObject("Wscript.Shell")
If Err.Number <> 0 Then
 sEvent="Enabling: 'Install required updates on a schedule' - (WUA Update Tab options) wasn't successfully. Error:" & Err.Number
 sEvent="Enabling: 'Install required updates on a schedule' - (WUA Update Tab options) was successfully."
End If
objShell.LogEvent EVENT_SUCCESS, sEvent