SUS Client - Scheduled Time Problem

Posted on 2003-02-19
Medium Priority
Last Modified: 2013-12-04
Hi all,

Actually, we have SUS clientes scheduled/configured in the
registry at 10.00 with the ScheduledInstallTime=10(Dec)
parameter, but doesn't work.
The SUS client are connecting to the SUS Server at 12.00AM.

Anybody know what's happenning?
Thanks in advance......
Question by:JAConde
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

nouellette earned 152 total points
ID: 7982226
Make sure the ScheduledInstallTime is a DWORD value and set that to 00000005 (for 5am as an example), 00000010 for 10am.  

Here is the client reg key



Assisted Solution

pancake001 earned 148 total points
ID: 7987619
If you know how to use VBScript, here is a SUSClientUpdate function that works to install updates automatically at 10:00PM every night.  Just pass the name of the SUS server you wish to be used (i.e. SERVER).  Also, you must declare g_oShell globally in the main area of the script to be bound to:

Set g_oShell = CreateObject("Wscript.Shell")

Otherwise if you don't know how to use VBScript, you should be able to decipher what registry keys are getting updated.


' SUSClientUpdate
' Applies Software Update Services related patches/registry entries
' g_oShell          WshShell object
' Returns          
Function SUSClientUpdate(sSUSServer)

     'Create Entries under HKLM\SOFTWARE\Polices\Microsoft\WindowsUpdate
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer", "http://" & sSUSServer, "REG_SZ")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUStatusServer", "http://" & sSUSServer, "REG_SZ")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\AUOptions", "4", "REG_DWORD")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\NoAutoUpdate", "0", "REG_DWORD")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\ScheduledInstallDay", "0", "REG_DWORD")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\ScheduledInstallTime", "22", "REG_DWORD")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\UseWUServer", "1", "REG_DWORD")
     'Create Entries under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\BytesPerSec", "44288", "REG_DWORD")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\URL", "http://windowsupdate.microsoft.com/?Start", "REG_SZ")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\AUOptions", "0", "REG_DWORD")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\AUState", "2", "REG_DWORD")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\DetectionStartTime", "2002.10.24 19:10:35", "REG_SZ")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\LastWaitTimeout", "2002.10.22 23:15:35", "REG_SZ")
     g_bResult = WriteRegistry("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\CriticalUpdate\SelfUpdServer", "http://" & sSUSServer & "/SelfUpdate/CUN5_4", "REG_SZ")

End Function 'SUSClientUpdate

Expert Comment

ID: 9070911
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
OfficeMate Freezes on login or does not load after login credentials are input.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month15 days, 17 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question