synchronizace casu v AD

Radomír Pirkl 0 Reputační body
2025-12-29T14:36:36.7566667+00:00

Dobrý den,

obracím se na vás s problémem, který řeším již delší dobu a nedaří se mi jej vyřešit. Jedná se o nefunkční synchronizaci času na našem doménovém řadiči (PDC Emulator). Server běží na Windows Server 2025 Standard.

Popis problému:

PDC Emulator se nesynchronizuje s žádným externím NTP serverem.

Příkaz w32tm /resync /force vždy vrací:

“The computer did not resync because no time data was available.”

w32tm /query /status ukazuje:

Source: Local CMOS Clock (LOCL)

Stratum: 1

ReferenceId: LOCL

Klienti v doméně se také nesynchronizují a přebírají čas z lokálního CMOS (LOCL).

Externí NTP servery odpovídají — test w32tm /stripchart /computer:ntp.nic.cz funguje a vrací stabilní hodnoty.

Problém je tedy přímo v časové službě na PDC.

Co jsem již vyzkoušel:

w32tm /config s různými parametry (manualpeerlist, syncfromflags, reliable:yes)

restart služby Windows Time

w32tm /unregister a w32tm /register

kompletní reset konfigurace W32Time

kontrola firewallu (UDP 123 je povolen)

testy konektivity k NTP serverům

ruční nastavení času

restart serveru

Nic z výše uvedeného nepomohlo — PDC stále ignoruje externí NTP a zůstává na LOCL.

Prosím o pomoc s diagnostikou a opravou časové služby W32Time na PDC Emulatoru.

Potřebuji, aby PDC správně synchronizoval čas z externího NTP serveru a poskytoval jej klientům v doméně.

Děkuji.

Windows pro firmy | Windows Server | Adresářové služby | služba Active Directory
Počet komentářů: 0 Žádné komentáře

Odpovědi: 13

Seřadit podle: Nejnovější
  1. Miroslav Pragl 78,946 Reputační body Dobrovolný moderátor
    2025-12-29T19:31:01.0533333+00:00

    To neni idealni stav (doporucuju min 3 DC), ale samozrejme by nemelo zpusobovat tvuj problem.

    MP

    Byla tato odpověď užitečná?

    Počet komentářů: 0 Žádné komentáře

  2. Radomír Pirkl 0 Reputační body
    2025-12-29T18:09:53.9366667+00:00

    Ne a mám jen 1 DC.

    Byla tato odpověď užitečná?

    Počet komentářů: 0 Žádné komentáře

  3. Miroslav Pragl 78,946 Reputační body Dobrovolný moderátor
    2025-12-29T17:54:34.3066667+00:00

    Jen pro jistotu: PDC neni virtual, ze ne?

    MP

    Byla tato odpověď užitečná?


  4. Radomír Pirkl 0 Reputační body
    2025-12-29T17:51:56.0166667+00:00

    toto mám v eventlogu:

    Název protokolu:System

    Zdroj: Microsoft-Windows-Time-Service

    Datum: 29.12.2025 18:28:35

    ID události: 12

    Kategorie úlohy:Není

    Úroveň: Upozornění

    Popis:

    Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the AD PDC emulator for the domain at the root of the forest, so there is no machine above it in the domain hierarchy to use as a time source. It is recommended that you either configure a reliable time service in the root domain, or manually configure the AD PDC to synchronize with an external time source. Otherwise, this machine will function as the authoritative time source in the domain hierarchy. If an external time source is not configured or used for this computer, you may choose to disable the NtpClient.

    a

    Název protokolu:System

    Zdroj: Microsoft-Windows-Time-Service

    Datum: 29.12.2025 18:45:17

    ID události: 158

    Kategorie úlohy:Není

    Úroveň: Informace

    Popis:

    The time provider 'VMICTimeProvider' has indicated that the current hardware and operating environment is not supported and has stopped. This behavior is expected for VMICTimeProvider on non-HyperV-guest environments. This may be the expected behavior for the current provider in the current operating environment as well.

    Byla tato odpověď užitečná?

    Počet komentářů: 0 Žádné komentáře

  5. Radomír Pirkl 0 Reputační body
    2025-12-29T17:39:59.5033333+00:00

    Ano, to co konfiguruji je opravdu PDC, potvrzeno pomocí netdom query fsmo. V eventlogu je toto:

    Název protokolu:System

    Zdroj: Microsoft-Windows-Time-Service

    Datum: 29.12.2025 18:28:35

    ID události: 12

    Kategorie úlohy:Není

    Úroveň: Upozornění

    Klíčová slova:

    Uživatel: LOCAL SERVICE

    Počítač: DC1.domena.local

    Popis:

    Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the AD PDC emulator for the domain at the root of the forest, so there is no machine above it in the domain hierarchy to use as a time source. It is recommended that you either configure a reliable time service in the root domain, or manually configure the AD PDC to synchronize with an external time source. Otherwise, this machine will function as the authoritative time source in the domain hierarchy. If an external time source is not configured or used for this computer, you may choose to disable the NtpClient.

    Kód XML události:

    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

    <System>

    <Provider Name="Microsoft-Windows-Time-Service" Guid="{06edcfeb-0fd0-4e53-acca-a6f8bbf81bcb}" />
    
    <EventID>12</EventID>
    
    <Version>0</Version>
    
    <Level>3</Level>
    
    <Task>0</Task>
    
    <Opcode>0</Opcode>
    
    <Keywords>0x8000000000000000</Keywords>
    
    <TimeCreated SystemTime="2025-12-29T17:28:35.5462128Z" />
    
    <EventRecordID>213073</EventRecordID>
    
    <Correlation />
    
    <Execution ProcessID="2656" ThreadID="14000" />
    
    <Channel>System</Channel>
    
    <Computer>DC1.domena.local</Computer>
    
    <Security UserID="S-1-5-19" />
    

    </System>

    <EventData Name="TMP_EVENT_DOMAIN_HIERARCHY_ROOT">

    </EventData>

    </Event>

    Byla tato odpověď užitečná?

    Počet komentářů: 0 Žádné komentáře

Vaše odpověď

Odpovědi můžou být autorem otázky označeny jako „Přijaté“ a moderátory jako „Doporučené“, což uživatelům pomůže zjistit, že odpověď vyřešila problém autora.