Introduction: Powershell Commands to Set Time to National Time Server

About: Occupation: tech support

Powershell commands to set time to national time server.

Run from Powershell as administrator:

w32tm /config /syncfromflags:manual "/manualpeerlist:0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org" /reliable:yes

w32tm /config /update

net stop w32time

net start w32time

w32tm /resync /force

w32tm /query /source

Step 1: Powershell Commands to Set Time to National Time Server

Powershell commands to set time to national time server.

Run from Powershell as administrator:

w32tm /config /syncfromflags:manual "/manualpeerlist:0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org" /reliable:yes

w32tm /config /update

net stop w32time

net start w32time

w32tm /resync /force

w32tm /query /source