Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

IAutomaticUpdatesSettings interface

Contains the settings that are available in Automatic Updates.

Members

The IAutomaticUpdatesSettings interface inherits from the IDispatch interface. IAutomaticUpdatesSettings also has these types of members:

Methods

The IAutomaticUpdatesSettings interface has these methods.

MethodDescription
Refresh

Retrieves the latest Automatic Updates settings.

Save

Applies the current Automatic Updates settings.

 

Properties

The IAutomaticUpdatesSettings interface has these properties.

PropertyAccess typeDescription

NotificationLevel

Read/write

Gets and sets how elevated users are notified of Automatic Updates events.

ReadOnly

Read-only

Gets a Boolean value that indicates whether the Automatic Update settings are read-only.

Required

Read-only

Gets a Boolean value that indicates whether Group Policy requires the Automatic Updates service.

ScheduledInstallationDay

Read/write

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

ScheduledInstallationTime

Read/write

Gets and sets the time at which Automatic Updates installs or uninstalls updates.

 

Remarks

Note  Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2 provide only limited support for ScheduledInstallationDay and ScheduledInstallationTime. If the computer has been configured through Group Policy to use a scheduled installation day and time, the ScheduledInstallationDay and ScheduledInstallationTime properties return this scheduled day and time. If the computer hasn't been configured through Group Policy in this way, the ScheduledInstallationDay and ScheduledInstallationTime properties return default and unreliable values. If you try to modify the scheduled installation day and time on these operating systems, ScheduledInstallationDay and ScheduledInstallationTime appear to succeed but have no effect.

Note  On Windows RT, you can no longer use the IAutomaticUpdatesSettings::Save method to configure Windows Update settings programmatically. The configuration operation fails if you use Save to set any value other than 4 (aunlScheduledInstallation).

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]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

IID

IID_IAutomaticUpdatesSettings is defined as 2EE48F22-AF3C-405F-8970-F71BE12EE9A2

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.