
1. criar servidor ntp
dnf install ntp -y –nogpg
systemctl enable ntpd.service
systemctl start ntpd.service
2. mudar timezone
tzselect
escolher (2) Americas (9) Brasil (1) Ilhas do Atlantico (GMT +2)
3. Acertar relogio no linux
ntpdate -u pool.ntp.org
clock –systohc
4. set the time settings back to default:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
5. Set time source from NTP server
w32tm /config /manualpeerlist:192.168.0.1 /syncfromflags:manual /reliable:yes /update
W32tm /resync /rediscover
Net stop w32time && net start w32time
6. Criar agendamento do windows
Para Executar com privilegios mais altos
Iniciar a tarefa ao fazer o login e repetir a cada 1 hora
Iniciar o programa cmd com o argumento
/C net start w32time & w32tm /resync /force & net stop w32time