Last active
December 23, 2022 09:39
-
-
Save DartPower/521f695bfb5fd6cf0bdc91a9a83362af to your computer and use it in GitHub Desktop.
SynchronizeTime.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-16"?> | |
| <Task version="1.5" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
| <RegistrationInfo> | |
| <Source>Служба времени Windows</Source> | |
| <Author>Корпорация Майкрософт</Author> | |
| <Description>Управляет синхронизацией даты и времени на всех клиентах и серверах в сети. Если эта служба остановлена, синхронизация даты и времени не будет доступна. Если эта служба отключена, любые службы, которые явно зависят от нее, не могут быть запущены.</Description> | |
| <URI>\Microsoft\Windows\Time Synchronization\SynchronizeTime</URI> | |
| </RegistrationInfo> | |
| <Triggers /> | |
| <Principals> | |
| <Principal id="LocalService"> | |
| <UserId>S-1-5-19</UserId> | |
| <RunLevel>HighestAvailable</RunLevel> | |
| </Principal> | |
| </Principals> | |
| <Settings> | |
| <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy> | |
| <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> | |
| <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries> | |
| <AllowHardTerminate>true</AllowHardTerminate> | |
| <StartWhenAvailable>true</StartWhenAvailable> | |
| <RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable> | |
| <IdleSettings> | |
| <StopOnIdleEnd>true</StopOnIdleEnd> | |
| <RestartOnIdle>false</RestartOnIdle> | |
| </IdleSettings> | |
| <AllowStartOnDemand>true</AllowStartOnDemand> | |
| <Enabled>true</Enabled> | |
| <Hidden>false</Hidden> | |
| <RunOnlyIfIdle>false</RunOnlyIfIdle> | |
| <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession> | |
| <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine> | |
| <MaintenanceSettings> | |
| <Period>P1D</Period> | |
| <Deadline>P2D</Deadline> | |
| <Exclusive>false</Exclusive> | |
| </MaintenanceSettings> | |
| <WakeToRun>false</WakeToRun> | |
| <ExecutionTimeLimit>PT72H</ExecutionTimeLimit> | |
| <Priority>7</Priority> | |
| </Settings> | |
| <Actions Context="LocalService"> | |
| <Exec> | |
| <Command>%windir%\system32\sc.exe</Command> | |
| <Arguments>start w32time task_started</Arguments> | |
| </Exec> | |
| </Actions> | |
| </Task> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment