Advertisement
Guest User

Untitled

a guest
Feb 10th, 2024
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 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>2024-01-15T19:45:41.0969288</Date>
  5. <Author>Joeytje50</Author>
  6. <Description>Resets internet after sleep</Description>
  7. <URI>\Fix internet after sleep</URI>
  8. </RegistrationInfo>
  9. <Triggers>
  10. <SessionStateChangeTrigger>
  11. <Enabled>true</Enabled>
  12. <StateChange>SessionUnlock</StateChange>
  13. </SessionStateChangeTrigger>
  14. <EventTrigger>
  15. <Enabled>true</Enabled>
  16. <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="System"&gt;&lt;Select Path="System"&gt;*[System[Provider[@Name='Power-Troubleshooter'] and EventID=1]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
  17. </EventTrigger>
  18. </Triggers>
  19. <Principals>
  20. <Principal id="Author">
  21. <UserId>REMOVED</UserId>
  22. <LogonType>S4U</LogonType>
  23. <RunLevel>HighestAvailable</RunLevel>
  24. </Principal>
  25. </Principals>
  26. <Settings>
  27. <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
  28. <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
  29. <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
  30. <AllowHardTerminate>true</AllowHardTerminate>
  31. <StartWhenAvailable>false</StartWhenAvailable>
  32. <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
  33. <IdleSettings>
  34. <StopOnIdleEnd>true</StopOnIdleEnd>
  35. <RestartOnIdle>false</RestartOnIdle>
  36. </IdleSettings>
  37. <AllowStartOnDemand>true</AllowStartOnDemand>
  38. <Enabled>true</Enabled>
  39. <Hidden>false</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>powershell</Command>
  50. <Arguments>-NonInteractive -ExecutionPolicy Bypass -command C:\fixinternet.ps1</Arguments>
  51. </Exec>
  52. </Actions>
  53. </Task>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement