Você definiu a data EndBoundary
para o ano 3000; que não é daqui a 30 dias.
Eu Criei um Agendador de Tarefas via GPO para fazer um trabalho. Eu configurei a tarefa para parar de funcionar após 3 dias e excluir após 30 dias, mas não está funcionando. Tarefa em execução todos os dias. imagem
<TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Foxit_Reader_user_regedit" image="2" changed="2017-05-23 10:49:32" uid="{60E582A9-13CA-4898-BE13-FC9F9BCA6D62}" userContext="0" removePolicy="0">
<Properties action="U" name="Foxit_Reader_user_regedit" runAs="%LogonDomain%\%LogonUser%" logonType="InteractiveToken">
<Task version="1.3">
<RegistrationInfo>
<Author>*****\****</Author>
<Description></Description>
</RegistrationInfo>
<Principals>
<Principal id="Author">
<UserId>%LogonDomain%\%LogonUser%</UserId>
<LogonType>InteractiveToken</LogonType>
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
<Settings>
<IdleSettings>
<Duration>PT5M</Duration>
<WaitTimeout>PT1H</WaitTimeout>
<StopOnIdleEnd>false</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<AllowHardTerminate>false</AllowHardTerminate>
<AllowStartOnDemand>false</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<ExecutionTimeLimit>P3D</ExecutionTimeLimit>
<Priority>7</Priority>
<DeleteExpiredTaskAfter>P30D</DeleteExpiredTaskAfter>
</Settings>
<Triggers>
<LogonTrigger>
<Enabled>true</Enabled>
<ExecutionTimeLimit>P3D</ExecutionTimeLimit>
<StartBoundary>2017-05-04T07:11:53</StartBoundary>
<EndBoundary>3000-05-04T07:11:53</EndBoundary>
</LogonTrigger>
</Triggers>
<Actions Context="Author">
<Exec>
<Command>%systemroot%\regedit.exe</Command>
<Arguments>/s \hoyer.local\sysvol\hoyer.local\scripts\Foxit_Reader\user.reg</Arguments>
</Exec>
</Actions>
</Task>
</Properties>
<Filters>
<FilterFile bool="AND" not="1" path="C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" type="EXISTS" folder="0"/>
<FilterRunOnce hidden="1" not="0" bool="AND" id="{803FE6D4-0287-463B-834A-04E3B1B3D71B}"/> </Filters></TaskV2>
Tags task-scheduler