+ Post New Thread
Results 1 to 6 of 6
Windows Thread, Sync PC with DC time in Technical; Hi We have our DC with the correct time. We want to sync all computers in the domain with this, ...
  1. #1

    Join Date
    Feb 2008
    Posts
    345
    Thank Post
    52
    Thanked 4 Times in 3 Posts
    Rep Power
    14

    Sync PC with DC time

    Hi

    We have our DC with the correct time. We want to sync all computers in the domain with this, they are a few mins out. Please could somebody tell me how to do this with script or GPO?


    Thanks

  2. #2

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    If you set your 2008 R2 Server as a time server, all Windows 7 clients will automatically use it as the time server.

    For example:

    Code:
    @echo off
    
    net stop w32time
    
    w32tm /config /syncfromflags:manual /manualpeerlist:ntp.bgfl.org
    
    w32tm /config /reliable:yes
    
    net start w32time
    
    w32tm /query /peers
    
    PAUSE
    Or alternatively (in a logon script), enter:

    Code:
    @ECHO OFF
    net time \\SERVERNAME /set /yes

  3. Thanks to Michael from:

    timbo343 (3rd October 2014)

  4. #3
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42
    The GPO version is:

    Computer>Windows Time Service>Time Providers

  5. #4


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    7,058
    Thank Post
    232
    Thanked 924 Times in 793 Posts
    Rep Power
    308
    Quote Originally Posted by Michael View Post
    If you set your 2008 R2 Server as a time server, all Windows 7 clients will automatically use it as the time server.

    For example:


    Or alternatively (in a logon script), enter:

    Code:
    @ECHO OFF
    net time \\SERVERNAME /set /yes
    only works as admin i believe

  6. #5

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    Quote Originally Posted by sted View Post
    only works as admin i believe
    You could always run it as a startup script if permissions were a problem. It would work in the same fashion.

  7. #6

    Join Date
    Jan 2008
    Location
    South West
    Posts
    1,842
    Thank Post
    219
    Thanked 271 Times in 219 Posts
    Rep Power
    69
    Windows clients should look at the FSMO roles of the PDC and sync time. You can however enter NTP data into option 42 of your DHCP server but this is really for non-windows machines.



SHARE:
+ Post New Thread

Similar Threads

  1. Sync Time With DC
    By FN-GM in forum Windows Server 2008 R2
    Replies: 9
    Last Post: 9th August 2011, 11:16 AM
  2. Intel Core 2 Duo PC with 1Gb RAM & 17" TFT
    By Elky in forum Our Advertisers
    Replies: 0
    Last Post: 7th February 2007, 04:32 PM
  3. Sync copies with my briefcase
    By timbo343 in forum Windows
    Replies: 2
    Last Post: 4th October 2006, 10:34 AM
  4. Time sell PCs with Linspire preinstalled
    By ITWombat in forum *nix
    Replies: 4
    Last Post: 4th October 2006, 09:42 AM
  5. All in one PC with built in TFT
    By Kyle in forum Hardware
    Replies: 28
    Last Post: 16th May 2006, 12:20 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •