Advertisement
june23rd1987

Auto Disable Windows Update - Export to Task Scheduler

Apr 3rd, 2020
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-16"?>
  2. <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  3.   <RegistrationInfo>
  4.     <Date>2020-04-04T09:53:41.3902294</Date>
  5.     <Author>DESKTOP-5C6HKB3\RWKSTele2</Author>
  6.     <Description>Stop Windows Service</Description>
  7.     <URI>\Stop Windows Service</URI>
  8.   </RegistrationInfo>
  9.   <Triggers>
  10.     <TimeTrigger>
  11.       <Repetition>
  12.         <Interval>PT30M</Interval>
  13.         <StopAtDurationEnd>false</StopAtDurationEnd>
  14.       </Repetition>
  15.       <StartBoundary>2020-04-04T09:52:07</StartBoundary>
  16.       <Enabled>true</Enabled>
  17.     </TimeTrigger>
  18.   </Triggers>
  19.   <Principals>
  20.     <Principal id="Author">
  21.       <UserId>S-1-5-21-3659375049-364368941-1153196040-1001</UserId>
  22.       <LogonType>Password</LogonType>
  23.       <RunLevel>HighestAvailable</RunLevel>
  24.     </Principal>
  25.   </Principals>
  26.   <Settings>
  27.     <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
  28.     <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
  29.     <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
  30.     <AllowHardTerminate>true</AllowHardTerminate>
  31.     <StartWhenAvailable>false</StartWhenAvailable>
  32.     <RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable>
  33.     <IdleSettings>
  34.       <StopOnIdleEnd>true</StopOnIdleEnd>
  35.       <RestartOnIdle>false</RestartOnIdle>
  36.     </IdleSettings>
  37.     <AllowStartOnDemand>true</AllowStartOnDemand>
  38.     <Enabled>true</Enabled>
  39.     <Hidden>true</Hidden>
  40.     <RunOnlyIfIdle>false</RunOnlyIfIdle>
  41.     <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
  42.     <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
  43.     <WakeToRun>false</WakeToRun>
  44.     <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
  45.     <Priority>7</Priority>
  46.   </Settings>
  47.   <Actions Context="Author">
  48.     <Exec>
  49.       <Command>C:\Users\RWKSTele2\Autotasks\StopWindowsUpdateService.bat</Command>
  50.     </Exec>
  51.   </Actions>
  52. </Task>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement