Table of contents
TOC
Collapse the table of content
Expand the table of content

UWF_Servicing.UpdateWindows

Last Updated: 12/12/2016

Calls Windows Update to download and install critical and security updates for your device running Windows 10 Enterprise.

Syntax

UInt32 UpdateWindows(
    [out] UInt32 UpdateStatus
);

Parameters

UpdateStatus
[out] An integer that contains the status of the Windows Update operation, according to the following table:

UpdateStatusDescription

0

Success.

3010

Restart required.

Any other value.

Generic error.

Return Value

Returns an HRESULT value that indicates WMI status or a WMI error.

Remarks

This method is meant to be used as part of a servicing script. For more information, see Service UWF-protected devices.

This method does not disable or enable Unified Write Filter (UWF). If you call this method while UWF is enabled, updates may be lost when the device restarts.

Requirements

Windows EditionSupported
Windows 10 HomeNo
Windows 10 ProNo
Windows 10 EnterpriseYes
Windows 10 EducationYes

UWF_Servicing

Unified Write Filter

Send comments about this topic to Microsoft

© 2017 Microsoft