Share via


IAutomaticUpdatesSettings::ScheduledInstallationDay property

[IAutomaticUpdatesSettings::ScheduledInstallationDay is no longer supported as of Windows 10.]

Gets and sets the days of the week on which Automatic Updates installs or uninstalls updates.

This property is read/write.

Syntax

HRESULT put_ScheduledInstallationDay(
  [in]  AutomaticUpdatesScheduledInstallationDay value
);

HRESULT get_ScheduledInstallationDay(
  [out] AutomaticUpdatesScheduledInstallationDay *retval
);

Property value

An AutomaticUpdatesScheduledInstallationDay value that specifies the days of the week on which Automatic Updates installs or uninstalls updates.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

Remarks

The value of this property is ignored if the value of the NotificationLevel property is not aunlScheduledInstallation.

Note  Starting with Windows 8 and Windows Server 2012, ScheduledInstallationDay is not supported and will return unreliable values. If you try to modify ScheduledInstallationDay, the operation will appear to succeed but will have no effect.

 

Requirements

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]

End of client support

Windows 10

End of server support

Windows Server 2016

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IAutomaticUpdatesSettings