Time; Windows Time Servive (W32tm)

Describes how to configure the Windows Time service (w32tm).

Configure an External NTP server

Open an elevated command prompt and type the following:

1. Net Stop w32Time
2. w32tm /config /syncfromflags:manual /manualpeerlist:””
3. w32tm /config /reliable:yes
4. Net Start w32Time
5. w32tm /config /update
6. w32tm /resync
7. w32tm /query /source (use this to confirm the NTP source set in step two)

EXAMPLE: W32tm /config /syncfromflags:manual /manualpeerlist:”0.uk.pool.ntp.org,1.uk.pool.ntp.org”

http://technet.microsoft.com/en-us/library/w32tm%28v=ws.10%29.aspx For further details an additional switches.

Configure a Client Computer for Automatic Domain Time Synchronisation (2003)

All clients within a domain should automatically synchronise their time from any available domain controller (domain controllers in turn synchronise their time from the domain controller that holds the PDC FSMO). However sometime this configuration doesn’t work and the client uses its internal CMOS clock instead, in these cases the client must be reconfigured to use the domain time by using the domhier (domain hierarchy) switch:

Open an elevated command prompt and type the following:

1. Net Stop w32Time
2. w32tm /config /syncfromflags:domhier
3. Net Start w32Time
4. w32tm /config /update
5. w32tm /resync
6. net time /querysntp

Configure a Client Computer for Automatic Domain Time Synchronisation (2008R2 and above)

Open an elevated command prompt and type the following:

1. Net Stop w32Time
2. w32tm /config /syncfromflags:domhier
3. Net Start w32Time
4. w32tm /config /update
5. w32tm /resync
6. w32tm /query /source

Disclaimer: provided “AS IS” with no warranties and confer no rights

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s