<?xml version="1.0" encoding="utf-16"?>
<Task xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Author>$(@%systemRoot%\system32\usosvc.dll,-103)</Author>
    <Source>$(@%systemRoot%\system32\usosvc.dll,-104)</Source>
    <Description>$(@%systemRoot%\system32\usosvc.dll,-108)</Description>
    <URI>\Microsoft\Windows\UpdateOrchestrator\UpdateModelTask</URI>
    <SecurityDescriptor>D:P(A;;FA;;;SY)(A;;FRFX;;;LS)(A;;FRFX;;;BA)</SecurityDescriptor>
    <Version>1.0</Version>
  </RegistrationInfo>
  <Triggers>
    <!-- trigger WNF_ML_MODELS_CHANGED = {0xa3bc1075, 0x0295013a} -->
    <WnfStateChangeTrigger>
      <StateName>7510bca33a019502</StateName>
      <Enabled>true</Enabled>
    </WnfStateChangeTrigger>
  </Triggers>
  <Settings>
    <AllowHardTerminate>true</AllowHardTerminate>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <Enabled>true</Enabled>
    <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
    <Hidden>false</Hidden>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <Priority>7</Priority>
    <RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <StartWhenAvailable>true</StartWhenAvailable>
    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
  </Settings>
  <Principals>
    <Principal id="LocalSystem">
      <UserId>S-1-5-18</UserId>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>
  <Actions Context="LocalSystem">
    <Exec>
      <Command>%systemroot%\system32\usoclient.exe</Command>
      <Arguments>StartModelUpdates</Arguments>
    </Exec>
  </Actions>
</Task>