Windows Server TechCenter > Windows Server Forums > General > windows 2008 internet time sync
Ask a questionAsk a question
 

Answerwindows 2008 internet time sync

  • Monday, April 28, 2008 3:41 PMTdar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello,

       I have a windows 2008 x64 server, it is The primary active directory domain. The internet time sync. is not showing in the time area, how do i setup the server so it is getting sync'd with atomic clocks on the internet every day. also is there anything else i need to do eather in group policy to make sure the clients are also in sync with the windows 2008 server as they log in, used to be net time.... but if i recall that has changed, i heard something that a user logs into the 2008 domain it will just sync time without any additional tasks and all my stations are windows xp.

     

    David

     

Answers

  • Tuesday, April 29, 2008 7:19 AMJoachim NasslanderModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Here's all the information you need on w32tm: http://technet2.microsoft.com/windowsserver/en/library/b43a025f-cce2-4c82-b3ea-3b95d482db3a1033.mspx?mfr=true

     

    And here's how to sync your XP clients with your domain controller: http://support.microsoft.com/kb/307897

  • Tuesday, April 29, 2008 10:55 AMDavid Shen - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Tdar,

     

    1. On the domain controller of the root forest , you may follow the steps to configure the Windows Time service to sync time with the authoritative time source.
     
    a. Open a Command Prompt.
     
    b. Type the following command to display the time difference between the local computer and a target computer, and then press ENTER: (without quotation mark)

     

    "w32tm /stripchart /computer: time.windows.com /samples:5 /dataonly”

     

    Please note:

     

    The Microsoft time server (time.windows.com) uses NIST, the National Institute of Standards and Technology, located in Boulder, Colorado, as its external time provider. NIST provides the Automated Computer Time Service (ACTS), which can set a computer clock with an uncertainty of less than 10 milliseconds. The U.S. Naval Observatory (USNO) Time Service Department in Washington, D.C., is another source for accurate time synchronization in the United States. Many other sites exist throughout the world that you can use for time synchronization.
     
    c. Open UDP port 123 for outgoing traffic if needed.
     
    d. Open UDP port 123 (or a different port you have selected) for incoming NTP traffic.
     
    e. Type the following command to configure the PDC emulator and then press ENTER: (without quotation mark)

     

    "w32tm /config /manualpeerlist: time.windows.com /syncfromflags:manual /reliable:yes /update"

     

    2. The computers that are joined to a domain are configured to synchronize from a manual time source. Please use the following procedure to configure a client computer that is currently synchronizing with a manually specified computer, to automatically synchronize time with the domain hierarchy.

     

    You may follow the steps to configure a client computer for automatic domain time synchronization
     
    a. Open a Command Prompt.
     
    b. Type the following command and then press ENTER:

     

    w32tm /config /syncfromflags: domhier /update
     
    c. Type the following command and then press ENTER:

     

    net stop w32time
     
    d. Type the following command and then press ENTER:

     

    net start w32time

     

    You may also use Group Policy to make all the domain clients to sync time with PDC emulator in the domain.

     

    You may find the Group Policy settings used to configure W32Time in the Group Policy Object Editor snap-in in the following locations:

    Configure Global Configuration Settings here

    Computer Configuration\Policies\Administrative Templates\System\Windows Time Service

     

    Configure Windows NTP Client settings here

    Computer Configuration\Administrative Templates\System\Windows Time Service\Time Providers

     

    More reference:


    How to configure an authoritative time server in Windows Server 2003
    http://support.microsoft.com/kb/816042/en-us

     

    Windows Time Service Best practices
    http://technet2.microsoft.com/windowsserver/en/library/517e74d7-40e9-41bd-93aa-48b610b936321033.mspx?mfr=true

     

    Hope it helps.

All Replies

  • Tuesday, April 29, 2008 7:19 AMJoachim NasslanderModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Here's all the information you need on w32tm: http://technet2.microsoft.com/windowsserver/en/library/b43a025f-cce2-4c82-b3ea-3b95d482db3a1033.mspx?mfr=true

     

    And here's how to sync your XP clients with your domain controller: http://support.microsoft.com/kb/307897

  • Tuesday, April 29, 2008 10:55 AMDavid Shen - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Tdar,

     

    1. On the domain controller of the root forest , you may follow the steps to configure the Windows Time service to sync time with the authoritative time source.
     
    a. Open a Command Prompt.
     
    b. Type the following command to display the time difference between the local computer and a target computer, and then press ENTER: (without quotation mark)

     

    "w32tm /stripchart /computer: time.windows.com /samples:5 /dataonly”

     

    Please note:

     

    The Microsoft time server (time.windows.com) uses NIST, the National Institute of Standards and Technology, located in Boulder, Colorado, as its external time provider. NIST provides the Automated Computer Time Service (ACTS), which can set a computer clock with an uncertainty of less than 10 milliseconds. The U.S. Naval Observatory (USNO) Time Service Department in Washington, D.C., is another source for accurate time synchronization in the United States. Many other sites exist throughout the world that you can use for time synchronization.
     
    c. Open UDP port 123 for outgoing traffic if needed.
     
    d. Open UDP port 123 (or a different port you have selected) for incoming NTP traffic.
     
    e. Type the following command to configure the PDC emulator and then press ENTER: (without quotation mark)

     

    "w32tm /config /manualpeerlist: time.windows.com /syncfromflags:manual /reliable:yes /update"

     

    2. The computers that are joined to a domain are configured to synchronize from a manual time source. Please use the following procedure to configure a client computer that is currently synchronizing with a manually specified computer, to automatically synchronize time with the domain hierarchy.

     

    You may follow the steps to configure a client computer for automatic domain time synchronization
     
    a. Open a Command Prompt.
     
    b. Type the following command and then press ENTER:

     

    w32tm /config /syncfromflags: domhier /update
     
    c. Type the following command and then press ENTER:

     

    net stop w32time
     
    d. Type the following command and then press ENTER:

     

    net start w32time

     

    You may also use Group Policy to make all the domain clients to sync time with PDC emulator in the domain.

     

    You may find the Group Policy settings used to configure W32Time in the Group Policy Object Editor snap-in in the following locations:

    Configure Global Configuration Settings here

    Computer Configuration\Policies\Administrative Templates\System\Windows Time Service

     

    Configure Windows NTP Client settings here

    Computer Configuration\Administrative Templates\System\Windows Time Service\Time Providers

     

    More reference:


    How to configure an authoritative time server in Windows Server 2003
    http://support.microsoft.com/kb/816042/en-us

     

    Windows Time Service Best practices
    http://technet2.microsoft.com/windowsserver/en/library/517e74d7-40e9-41bd-93aa-48b610b936321033.mspx?mfr=true

     

    Hope it helps.

  • Monday, February 02, 2009 12:13 AMWitchdoctor12 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Why isn't there an applet to do this?   Every other operating system in existence has an easy way to configure it to get time synchronization from the internet.
  • Thursday, March 19, 2009 11:05 AMZulan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I totally agree, it's like windows without a window!?! It would be somewhat ok if worked though, but I get this:

    C:\>w32tm /stripchart /computer: time.windows.com /samples:5 /dataonly
    The following argumetnts were unexpected:
     time.windows.com
    The following error occurred: The parameter is incorrect. (0x80070057)
  • Thursday, March 26, 2009 6:44 AMwebalytics Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    @ Zulan: Your problem originates from a blank that exists between "computer" and "time.windows.com". Simply change "/computer: time.windows.com" to "/computer:time.windows.com" and it will work...

    Best,
    Holger
  • Wednesday, September 02, 2009 2:33 PMCollege Guy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Could someone please calrify on which DC you should do this, given that we have 3?
  • Wednesday, September 02, 2009 9:19 PMWitchdoctor12 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     


    When I try this command "w32tm /stripchart /computer: time.windows.com /samples:5 /dataonly”  I get the following output.  And it doesn't update the time.

    Tracking time.windows.com [207.46.232.182:123].
    Collecting 5 samples.
    The current time is 9/2/2009 2:15:26 PM.
    14:15:26, error: 0x800705B4
    14:15:29, +52.1418516s
    14:15:31, error: 0x800705B4
    14:15:34, +52.1417874s
    14:15:36, +52.1417616s
  • Saturday, September 12, 2009 9:11 PMchaselton Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    It doesn't matter if there's a space or not...the command still returns that error.
  • Wednesday, October 14, 2009 2:20 AMPaulKDickson Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    You should do that on the DC in the PDC role.  To find out which that is, either right click on your domain under ADUC and select operations masters or goto a cmd prompt and type netdom /query fsmo