Apply OEM updates to UWF-protected devices

To apply OEM updates on a Unified Write Filter (UWF)-protected Windows 10 device, you can modify the UPDATE_SUCCESS block of UWF master servicing script (UwfServicingMasterScript.cmd) to call a custom OEM script that applies any required OEM updates. The OEM script should return control back to the UWF Master Servicing Script when finished.

The UWF Master Servicing Script (UwfServicingMasterScript.cmd) is located in the \Windows\System32 folder.

UPDATE_SUCCESS (UwfServicingMasterScript.cmd)

The UPDATE_SUCCESS block of the UWF master servicing script follows:

:UPDATE_SUCCESS
echo UpdateAgent returned success.
REM
REM echo UpdateAgent executing OEM script
REM OEM can call their custom scripts
REM at this point through a "call".
REM
REM The OEM script should hand control
REM back to this script once it’s done.
REM
REM Any error recovery for OEM script
REM should be handled outside of this script
REM post a reboot.
REM
uwfmgr servicing disable
echo Restarting system
goto UPDATE_EXIT

Service UWF-protected devices

UWF master servicing script

Unified Write Filter