Gaming PCs
Unit 1, 80 Willow Walk, London SE1 5SY Mon–Sat, 9am–6pm  |  info@creativeit.uk

Office server clock wrong? Why sign-ins start failing

· Blog

Call 020 7237 4908

A server clock that is a few minutes out sounds harmless. In a small office running a Windows domain, it can stop people signing in, block access to shared folders and make backup schedules and logs hard to trust. The good news is that time problems are usually quick to find and fix, as long as you fix them in the right place.

Why the time on a server matters

Windows domains use Kerberos to check who is signing in. Kerberos stamps its tickets with the time. By default, if a PC’s clock and the domain controller’s clock differ by more than five minutes, Windows treats the request as suspicious and refuses it. Small differences are fine. Once the gap grows past the limit, problems appear.

Symptoms of a clock problem

  • Users see a message saying there is a time and/or date difference between the client and server, or sign-in fails with no clear reason.
  • Mapped drives and shared folders stop opening, or ask for a password again and again.
  • Some PCs work and others don’t, often the ones that have been switched off for a while or that use a different network.
  • Websites, Microsoft 365 or email clients show certificate errors on the server or on PCs whose clock is far out.
  • Scheduled backups or tasks run at the wrong time, or event logs seem to be in the wrong order.

How time is meant to flow in a domain

Windows has a simple chain for time. Get this chain right and the rest usually sorts itself out:

  • Office PCs and member servers take their time from a domain controller.
  • Domain controllers take their time from the domain controller holding the PDC emulator role.
  • The PDC emulator should be the only machine that takes its time from a reliable outside source, such as a public NTP pool or your firewall or router if it provides accurate time.

A common mistake is to point individual PCs at an internet time server by hand, or to change the time on a PC to “fix” sign-in. That breaks the chain, and the problem comes back.

Check the time settings

Run these from an administrator command prompt.

On an office PC

  • w32tm /query /source shows where the PC gets its time. On a domain PC this should be one of your domain controllers.
  • w32tm /query /status shows the last successful sync and the source.

On the server

  • netdom query fsmo shows which domain controller holds the PDC emulator role.
  • On that server, w32tm /query /source should show your chosen outside time source. If it says Local CMOS Clock or Free-running System Clock, the server is not taking its time from anywhere and will drift.
  • On any other domain controller, the source should be another domain controller, not the internet.

Fixing it safely

Point the PDC emulator at a reliable source

On the domain controller that holds the PDC emulator role, set an outside time source and mark it as reliable, for example:

w32tm /config /manualpeerlist:"0.uk.pool.ntp.org 1.uk.pool.ntp.org" /syncfromflags:manual /reliable:yes /update

Then restart the time service with net stop w32time and net start w32time, and run w32tm /resync. Make sure your firewall allows the server to reach the time source on UDP port 123.

Put PCs and other servers back on the domain chain

If a PC has been pointed at an internet server by hand, return it to the domain chain with w32tm /config /syncfromflags:domhier /update, restart the time service and resync. Don’t do this on the PDC emulator itself.

Large differences

If a clock is out by hours or days, Windows may refuse to make such a large correction on its own. That is a safety feature. Correct the time by hand once on the affected machine, then let the service keep it in line. On a domain controller, check the date and year carefully before you change it. A badly wrong clock on a domain controller can cause bigger problems than the one you are fixing, so get help if you are unsure.

Virtual servers

If your domain controller runs as a virtual machine on Hyper-V or VMware, it may be getting time from two places at once: the virtualisation host and the domain chain. That can make the time jump back and forth. Microsoft’s guidance is that a virtualised domain controller, especially the PDC emulator, should follow the domain time hierarchy rather than simply copying the host’s clock. The host itself also needs an accurate source. Check both the host settings and the guest integration settings, and change them carefully, one at a time.

Physical servers that lose time

If a physical server shows the wrong date after it has been switched off, or the time drifts badly between syncs, the hardware clock may be at fault. The small battery that keeps the firmware clock running can wear out after several years, and some servers show a warning about it in the management console (iDRAC, iLO or XClarity) or event log. A failing battery is a simple replacement, but after any power-down check that the server’s date and time are right before users sign in. An older server showing clock faults is also a good moment to check its drives, RAID status and backups.

Before you change anything

  • Make sure you have a current, tested backup of the server, including the system state of the domain controller.
  • Write down the current time settings (w32tm /query /configuration) so you can go back if needed.
  • Make one change at a time, then check sign-in from a PC before moving on.

Need a hand?

If sign-in problems keep coming back, or your server is showing other warnings, our server repair engineers can look at it for you. If a server has failed and you can’t reach your files, our data recovery team can help. Call 020 7237 4908 or contact us online. Bring the server to our Central London repair centre or arrange courier collection anywhere in the UK. We offer a free evaluation and a fixed quote before any work, with no fix, no fee.

‹ All blog posts

Drive clicking or laptop won't start? Power it off and get it diagnosed today.