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
- Properties
Methods
The IAutomaticUpdatesSettings interface has these methods.
Method | Description |
---|---|
Refresh | Retrieves the latest Automatic Updates settings. |
Save | Applies the current Automatic Updates settings. |
Properties
The IAutomaticUpdatesSettings interface has these properties.
Property | Access type | Description |
---|---|---|
Read/write |
Gets and sets how elevated users are notified of Automatic Updates events. |
|
Read-only |
Gets a Boolean value that indicates whether the Automatic Update settings are read-only. |
|
Read-only |
Gets a Boolean value that indicates whether Group Policy requires the Automatic Updates service. |
|
Read/write |
Gets and sets the days of the week on which Automatic Updates installs or uninstalls updates. |
|
Read/write |
Gets and sets the time at which Automatic Updates installs or uninstalls updates. |
Remarks
Note Starting with Windows 8 and Windows Server 2012, ScheduledInstallationDay and ScheduledInstallationTime are not supported and will return unreliable values. If you try to modify these properties, the operation will appear to succeed but will 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 |