WindowsUpdateAttentionRequiredReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants that specify a detailed reason as to why attention is required for an update before it can proceed.
public enum class WindowsUpdateAttentionRequiredReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Update.WindowsUpdateContract, 65536)]
enum class WindowsUpdateAttentionRequiredReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Update.WindowsUpdateContract), 65536)]
public enum WindowsUpdateAttentionRequiredReason
var value = Windows.Management.Update.WindowsUpdateAttentionRequiredReason.none
Public Enum WindowsUpdateAttentionRequiredReason
- Inheritance
-
WindowsUpdateAttentionRequiredReason
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.23504.0)
|
API contract |
Windows.Management.Update.WindowsUpdateContract (introduced in v1.0)
|
Fields
BatterySaverEnabled | 7 | The update was blocked due to Battery Saver being enabled. |
BlockedByActiveHours | 27 | The update was blocked due to the active hours configured on the device. |
BlockedByAdminApproval | 23 | The update was blocked because it requires Windows update administrator approval. |
BlockedByBattery | 19 | The update was blocked due to the battery level of the device being too low. |
BlockedByFailure | 25 | The update was blocked due to a recent failure. |
BlockedByOobe | 30 | The update was blocked due to OOBE constraints. |
BlockedByPostRebootFailure | 17 | The update was blocked by a post-reboot failure. |
BlockedByProvider | 16 | The update was blocked by the update provider. |
BlockedBySerialization | 21 | The update was blocked due to a serialization issue. |
BlockedByTooManyAttempts | 24 | The update was blocked due to too many recent attempts. |
CompatibilityError | 10 | The update encountered a compatibility error. |
ConflictClass | 22 | The update was blocked due to a conflict class. |
DeferredDuringOobe | 31 | The update was deferred by OOBE blocking criteria. |
DeferredForSustainableTime | 32 | The update was deferred to attempt again during a more sustainable (eco-friendly) time. |
Demotion | 26 | The update was demoted due to many failed recent attempts. |
Exclusivity | 20 | The update could not complete an action due to it being exclusive to one update at a time. |
ExternalReboot | 14 | An external reboot prevented the update from proceeding. |
NeedMoreSpace | 6 | More disk space is needed to complete the update. |
NeedNetwork | 5 | There was no network connectivity when the update was last attempted. |
NeedNonMeteredNetwork | 3 | The update is waiting for a non-metered network. |
NeedUserAgreementForMeteredNetwork | 4 | The update requires user agreement to download over a metered network. |
NeedUserAgreementForPolicy | 9 | A policy is configured that requires user agreement before the update can proceed. |
NeedUserInteraction | 8 | The update requires user interaction in order to proceed. |
NeedUserInteractionForCta | 12 | User interaction is needed to approve the China Type Approval (CTA) block for the update. |
NeedUserInteractionForEula | 11 | User interaction is needed to approve the End-User License Agreement (EULA) associated with the update. |
None | 0 | No attention required. |
OtherUpdate | 15 | The update couldn't proceed due to another update being in progress. |
PolicyScheduledInstallTime | 29 | The update was blocked due to being scheduled to install at a specific time indicated by a configured policy. |
ReadyToReboot | 2 | The update requires a reboot. |
Regulated | 13 | The update was blocked due to regulation. |
ScheduledForMaintenance | 28 | The update was blocked due to being scheduled to install in the next available maintenance window. |
SeekerUpdate | 1 | A seeker update is missing user approval. |
UserEngaged | 18 | The update could not proceed because a user was actively using the device. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for