Gets and sets the time at which Automatic Updates installs or uninstalls updates.
Note Not supported on Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2
This property is read/write.
HRESULT put_ScheduledInstallationTime( [in] long value ); HRESULT get_ScheduledInstallationTime( [out] long *retval );
The time at which Automatic Updates installs or uninstalls updates.
Returns S_OK if successful. Otherwise, returns a COM or Windows error code.
The time is set by using the following values.
The value of this property is ignored if the value of the NotificationLevel property is not aunlScheduledInstallation.
Note Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2 provide only limited support for this property. If the computer has been configured through Group Policy to use a scheduled installation day and time, this property returns this scheduled time. If the computer hasn't been configured through Group Policy in this way, this property returns a default and unreliable value. If you try to modify this property on these operating systems, ScheduledInstallationTime appears to succeed but has no effect.
Minimum supported client
|Windows XP, Windows 2000 Professional with SP3 [desktop apps only]|
Minimum supported server
|Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]|
Build date: 11/17/2013