Показаны сообщения с ярлыком ntp. Показать все сообщения
Показаны сообщения с ярлыком ntp. Показать все сообщения

воскресенье, 10 марта 2019 г.

How to configure an authoritative time server in Windows Server

To configure an internal time server to synchronize with an external time source,
use one of the following methods:

Automatically configure the Windows Time service

To fix this problem automatically, click the Download button. In the File Download dialog box, select Runor Open, and then follow the steps in the easy fix wizard.

вторник, 7 августа 2018 г.

Настройка времени в Windows

Для настройки синхронизации по сети:
w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL /update
net time stop w32time
net time start w32time
w32tm /resync /force
echo %time%

Тоже самое, но в Powershell
w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL /update
Restart-Service w32time -Verbose
w32tm /resync /force
Get-Date


Проверяем корректность времени установленного времени:
w32tm /query /source
w32tm /query /status
w32tm /monitor /computers:ru.pool.ntp.org,time.windows.com

Посмотреть все доступные часовые пояса:
tzutil /l

Установить нужный часовой пояс (например для Владивостока)
tzutil /s "Vladivostok Standard Time"

Через Powershell можно сделать и так
Get-TimeZone -ListAvailable | ? Id -Like "Vladi*" | Set-TimeZone; Get-TimeZone