Jump to content

Recommended Posts

Posted

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

Posted

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:

 

@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:

 

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

  • Thanks 1
Posted
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:

 

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

 

only works as admin i believe

Posted
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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...