Time-Service Event 142: The Time Service Has Stopped Advertising as a Time Source

Time-Service event 142 on a domain controller: the time service stopped advertising as a time source. Decode the texts, check the forest root PDC, nltest /timeserv, w32tm stripchart, VM IC time sync and AnnounceFlags.

Home › Guides › Time-Service event 142

Last updated 20 November 2026

Quick answer

Microsoft-Windows-Time-Service event 142 (Warning, System log) means a domain controller has stopped advertising itself as a time source, so domain members and other DCs that follow the domain hierarchy stop taking time from it. The DC usually isn't broken itself: it has no good time to give. Microsoft's action plan (KB 2468336):

When the DC advertises again it logs event 139, "The time service has started advertising as a time source."

The event texts and what they mean

KB 2468336 says event 142 is logged with one of these strings; the cause column is Microsoft's:

Error statusTextCause
event_0x0038The time service has stopped advertising as a time source because the local machine is not an Active Directory Domain Controller.The machine no longer holds the DC role, or it has a configuration problem
event_0x0039The time service has stopped advertising as a time source because there are no providers running.The NTP client has stopped or is not responding
event_0x003AThe time service has stopped advertising as a time source because there are no providers running.Time on the local computer has fallen out of sync with its peer
event_0x003BThe time service has stopped advertising as a good time source.The DC can't locate a time server

Microsoft calls the "no providers running" text the dominant one. The same article's real example, logged on a virtual DC that was 45 minutes off, reads:

Log Name:      System
Source:        Microsoft-Windows-Time-Service
Event ID:      142
Level:         Warning
User:          LOCAL SERVICE
Computer:      DC2.contoso.com
Description:
The time service has stopped advertising as a time source because the local clock is not synchronized.

That "local clock is not synchronized" text is the one the Windows Server 2008 event reference documents for ID 142 (symbolic name MSG_STOP_ADVERTISING_NOTSYNCED). That reference gives the related advertising messages their own IDs: 139 started advertising, 140 not a DC, 141 no providers running, 143 started advertising as a good time source, 144 stopped advertising as a good time source and 145 stopped advertising. List them on the DC:

Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Microsoft-Windows-Time-Service'; Id=35,37,139,142} -MaxEvents 30 | Format-List TimeCreated, Id, Message

Step 1: the service and the top of the hierarchy

Check that W32Time is running and set to start automatically:

sc query w32time
sc qc w32time

Then go to the top. Every DC in the forest ultimately takes time from the forest root domain's PDC emulator, so if that DC has no reliable external source, DCs below it drift and stop advertising. The configuration commands for it are in Time-Service events 12, 29, 36 and 47 (event 12 section). Microsoft also suggests configuring a GTIMESERV (a reliable time server) in the forest root domain as a backup.

Step 2: can the DC find and reach a time server?

On the DC that logs 142, ask DC locator for a time server (use your domain name):

nltest /dsgetdc:contoso.com /timeserv /force
nltest /dsgetdc:contoso.com /gtimeserv /force

The second line only applies if you have a GTIMESERV. Then see which source the DC uses and watch it answer:

w32tm /query /source
w32tm /stripchart /computer:server1.contoso.com
w32tm /query /configuration /verbose

Replace server1.contoso.com with the source from the first command. Microsoft's event 142 guidance for reading the stripchart (stop it with Ctrl+C after a few minutes):

If the DC should use a different manual source, Microsoft's commands are w32tm /config /manualpeerlist:time.windows.com followed by w32tm /config /update. On non-PDC DCs the normal setting is the domain hierarchy, so only do this where you mean to.

Step 3: two time providers fighting (virtual DCs)

KB 2468336 calls this out as a frequent root cause: the DC takes time from NTP and from the Hyper-V VM IC Time Synchronization Provider (VMICTimeSync) at the same time, so its clock ping-pongs. Look for:

EventWhat to note
Time-Service 35The source the DC is now synchronizing from, for example "The time service is now synchronizing the system time with the time source VM IC Time Synchronization Provider."
Time-Service 37"The time provider NtpClient is currently receiving valid time data from ..." with the source DC and protocol
Kernel-General 1"The system time has changed to ... from ...": logged every time W32Time or Hyper-V time sync changes the clock (also on physical machines when W32Time adjusts it)

Microsoft's guidance here isn't one-sided. The article's Windows time team recommendations for the case were: configure the forest root PDC with an NTP server, add a GTIMESERV as backup, disable VMICTimeSync on virtual DCs, give the Hyper-V hosts an external time server and DC-like polling intervals, and enable time rollback protection on the hosts. The Hyper-V team instead recommends keeping VMICTimeSync (it protects against time problems after saved state) and making sure the host has reliable time. Both agree a DC with VMICTimeSync off and no external source will run on local time, which is "always guaranteed to be wrong in a virtual machine". The guest-side commands the article lists:

net stop vmictimesync
sc config vmictimesync start= disabled
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider" /f
net stop w32time & net start w32time
w32tm /query /source
w32tm /resync /force

Export the W32Time key before the reg delete. In Hyper-V the same switch is Time Synchronization under the VM's Integration services.

Step 4: AnnounceFlags on the forest root PDC

The article's other named root cause is AnnounceFlags = 10 on the forest root PDC emulator, set directly in the registry or by Group Policy. The value lives under HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config; Microsoft's expected values are 5 on the PDC emulator and 10 on other DCs. Check it with:

reg query HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config /v AnnounceFlags

If the value comes from Group Policy, change it in the GPO rather than only in the registry.

Why it matters: Kerberos and RDP

The case in KB 2468336 started as an RDP failure: "Remote Desktop cannot verify the identity of the remote computer because there is a time or date difference between your computer and the remote computer." One virtual DC was 45 minutes off and had logged 142, the PDC emulator synced from the VM IC provider, and the forest root PDC had no external source. Kerberos needs clocks within 5 minutes, so the authenticating DC refused the logon. See KRB_AP_ERR_SKEW (clock skew too great) for the Kerberos side.

Related tools and guides

Look up Time-Service events 142, 139, 35 and 37 in the Windows Event ID Lookup, copy the nltest /dsgetdc /timeserv, w32tm /query and /stripchart lines from the PowerShell Cheat Sheet, pull the time source names out of event 35 and 37 text with the Regex Tester, work out which subnets your DCs and time servers sit in for UDP 123 rules with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the virtual or physical network adapter vendor on a DC that loses time with the MAC Vendor Lookup. Related guides: Time-Service events 12, 29, 36 and 47, Kerberos clock skew too great, transfer or seize FSMO roles (PDC emulator) and common AD replication errors.

Every AD replication error code with its cause and fix: common Active Directory replication errors.

FAQ

What does Time-Service event 142 mean?

The Windows Time service on a domain controller stopped advertising itself as a time source, so computers that follow the domain hierarchy stop syncing from it. The text says why: not a domain controller, no providers running, the local clock not synchronized, or no longer a good time source.

What is the most common cause of event 142?

Microsoft says the dominant text is that there are no providers running, which usually means the DC has no good time itself: its NTP client stopped, it fell out of sync with its peer, or it can't find a time server. Start with the forest root PDC emulator's external time source.

How do I check that a DC can find a time server?

Run nltest /dsgetdc:contoso.com /timeserv /force with your domain name, and /gtimeserv if you have a GTIMESERV. Then run w32tm /query /source and w32tm /stripchart against that source to see whether it answers consistently.

Should I disable VM IC time synchronization on a virtual DC?

Microsoft's article gives both views: the Windows time team recommended disabling VMICTimeSync on virtual DCs, while the Hyper-V team recommends keeping it and giving the host reliable time. Either way the DC needs one accurate source, not two competing providers.

How do I know event 142 is fixed?

The DC logs Time-Service event 139, The time service has started advertising as a time source. Then check that clients sync again with w32tm /query /source.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.