Auto Time Sync On Startup
Requests a Windows time synchronization when Explorer starts after sign-in.
Author: communism420
This mod asks Windows to synchronize the clock once after sign-in. It runs the
actual sync logic in a separate explorer.exe host process instead of the main
shell process. It doesn't set a custom NTP server or change the time zone. It
simply triggers the standard Windows time sync flow, so the current system date
and time settings continue to apply.
The sync request is attempted in the background with an optional delay and
retries, which helps when the network or Windows Time service isn't ready
immediately after startup.
Notes
- Windhawk mods are user-mode mods, so this runs after sign-in, not before the
logon screen.
- The mod is intended for 64-bit Windows.
- The primary method is
SystemSettingsAdminFlows.exe ForceTimeSync 0, which
matches the Windows Settings "Sync now" flow.
- If enabled and the mod is already running elevated, it can fall back to
w32tm /resync /nowait.
- After a successful synchronization, the mod shows a notification.
- Windows can still show a UAC prompt for the sync request because time sync is
a privileged operation.