Windows – How to Change Time Source from Local CMOS Clock to DC

active-directoryntptime-synchronizationw32timewindows

In a domain, I want to set DC as time server.

To do that I use this command:

w32tm /config /manualpeerlist:europe.pool.ntp.org /syncfromflags:manual /reliable:yes /update

and

w32tm /resync /rediscover

In the client servers I use

net time \\<comp.name.of.ad> /set /y 

but some of the clients still use Local CMS Clock.

What can I do?

Thanks in advance.

Edit:

I also run

w32tm /resync [/computer:<computer>] [/nowait] [/rediscover]

on client end but the time server is still Local CMOS Clock for the client.

On the AD source is what I set. (nist.expertssmi.com)

On the clientend, source is Local CMOS Clock

Best Answer

To configure a client computer or a member server to sync time from the domain, run the following command:

w32tm /config /syncfromflags:domhier /update

And then stop and restart the time service by running:

net stop w32time && net start w32time

This should be all you need to do.