How to manage your time

by Stephen McGroarty 7/21/2011 3:57:07 PM

Windows Server 2008 R2 and time sync issues seem to be more common than one would think. After poking around for a bit I was able to come up with a few steps to assist with that.

First we want to set the time server on the domain controllers, I like pool.ntp.org but the choice is up to you
w32tm /config /manualpeerlist:Pool.ntp.org /syncfromflags:manual /reliable:yes

We have no set it to use an external source and told it that we can use this server as a time server.

Lets restart the time services
net stop w32time
net start w32time

And finally synchronize the service
w32tm /resync

Well that part is completed, now lets move to the client servers.

This can be done manually by logging into each server if there is only a few, or creating a batch script to against them all.

We want to first stop the time service
net stop w32time

Now we want to remove all configurations from the registry
w32tm /unregister

And then reregister the new settings in the registry, this will pole the settings from the domain controller
w32tm /register

Now lets restart the service.
net start w32time

This should work for most of the domain member computers and it can be used to change that one server that keeps getting out of sync.

Currently rated 1.7 by 17 people

  • Currently 1.705882/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration | Administration

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen
Hacked by Stephen McGroarty
Content © Stephen McGroarty


About the author

Stephen Mcgroarty - Avatar Stephen McGroarty

I am a Microsoft Certified Professional with Windows 2003 Server. I have a firm understanding of Linux, Windows, and everything needed for both workstation and servers.

E-mail me Send mail

Calendar

<<  May 2012  >>
SuMoTuWeThFrSa
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012