Windows Server Time Issue

Copy the below to a text file called time.bat 
 
Run it as an Administrator
 
@echo off
w32tm /query /peers
sc config w32time start= auto
w32tm /config /syncfromflags:manual /manualpeerlist:"0.us.pool.ntp.org,1.us.pool.ntp.org,2.us.pool.ntp.org,3.us.pool.ntp.org"
w32tm /config /reliable:yes
net stop w32time
net start w32time
w32tm /resync /nowait
pause
 
 
 
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync /nowait
w32tm /query /peers
pause

 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to change password in Remote Desktop session

Run the shell You can directly launch the shell to get the Windows Security Options displayed....

Server Migration

New server installation:  Turn on Server  Assign 120 GB to C: Drive and the rest to D: drive...

How to reboot server with 70 second delay

Open Command Prompt as an administrator and run the below command   shutdown -r -f -t 70

How to Search for Files from a Certain Date Range in Windows 8 and 10

Simply open up your windows explore and go to the Search tab and type in your date range format...

Windows 2012 change edition from Evaluation to Retail

  Run the command prompt as an Administrator Type DISM /online /Get-CurrentEdition   to find...