https://bugs.winehq.org/show_bug.cgi?id=54129
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from François Gouget fgouget@codeweavers.com --- To disable the Internet time synchronization LibvirtTool runs the following commands:
net.exe stop w32time sc.exe config w32time start= disabled reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters" /v Type /t REG_SZ /d NoSync /f
Running these manually disables the w32time service as expected. But not when LibvirtTool prepares this one 2004 live snapshot! I suspect something is re-enabling the w32time service but I have also not observed it if waiting after running the commands manually.
So this is still a mystery but Type = NoSync should be sufficient to prevent w32time from messing with the time.