Windows Time Service on PDC

Whenever you are moving the PDC emulator role to another computer on a Windows Server 2003 network you need to make the following changes to the time service on both the new machine and the old.

Configure the Windows Time Service on the new PDC emulator

  1. Open a Command Prompt.
    Type the following command to display the time difference between the local computer and a target computer, and then press ENTER:

    w32tm /stripchart /computer:target /samples:n /dataonly

    target – Specifies the DNS name or IP address of the NTP server that you are comparing the local computer’s time against, such as time.windows.com.

    n – Specifies the number of time samples that will be returned from the target computer to test basic NTP communication.

  2. Open UDP port 123 for outgoing traffic if needed.
  3. Open UDP port 123 (or a different port you have selected) for incoming NTP traffic.
  4. Type the following command to configure the PDC emulator and then press ENTER:

    w32tm /config /manualpeerlist:peers /syncfromflags:manual /reliable:yes /update

    where peers specifies the list of DNS names and/or IP addresses of the NTP time source that the PDC emulator synchronizes from. For example, you can specify time.windows.com. When specifying multiple peers, use a space as the delimiter and enclose them in quotation marks.

Change the Windows Time Service configuration on the old PDC emulator

  1. Open a Command Prompt.
  2. Type the following command and then press ENTER:

    w32tm /config /syncfromflags:domhier /reliable:no /update

  3. Type the following command and then press ENTER:

    net stop w32time

  4. Type the following command and then press ENTER:

    net start w32time

Advertisements
Leave a comment

2 Comments

  1. Excellent thanks! Ive been looking how todo this for long now!!

    — Ian via BlogMad

  2. Ian,

    I’m glad you found it useful. I had another post about it 2 years ago, but it linked to dead page on Microsoft’s site so I just decided to go ahead and write out the steps this time.

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

%d bloggers like this: