summaryrefslogtreecommitdiffhomepage
path: root/test/docs
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2024-02-05 16:41:04 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2024-02-08 11:58:20 +0100
commit641804d65e0a67dee751610a4a3174725fd24946 (patch)
treef6370b7c1feac3dc9ff50f5785aa8b38e5c1ca8a /test/docs
parentec4c473c5c08e30e16822a8a82531d3ff5a1135f (diff)
downloadmullvadvpn-641804d65e0a67dee751610a4a3174725fd24946.tar.xz
mullvadvpn-641804d65e0a67dee751610a4a3174725fd24946.zip
Add instructions to enable `w32tm` in new testrunners
Add instructions on how to create a Windows service which ensures that the time service is enabled to prevent the VM clock from getting out of sync.
Diffstat (limited to 'test/docs')
-rw-r--r--test/docs/BUILD_OS_IMAGE.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/docs/BUILD_OS_IMAGE.md b/test/docs/BUILD_OS_IMAGE.md
index 187edc3ddf..dc29152ccb 100644
--- a/test/docs/BUILD_OS_IMAGE.md
+++ b/test/docs/BUILD_OS_IMAGE.md
@@ -166,6 +166,15 @@ This can be achieved as follows:
* Enable "Run task as soon as possible after a scheduled start is missed".
* Enable "If the task fails, restart every: 1 minute".
+* In the guest, make sure that the time service is enabled and running
+
+ First, enable the Windows Time service (`W32Time`):
+ https://learn.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings?tabs=config#set-the-client-to-sync-time-automatically-from-a-domain-source
+
+ ```
+ schtasks /create /tn "Synchronize Time Service" /tr "cmd.exe /c 'w32tm /resync'" /sc onlogon /rl HIGHEST
+ ```
+
* In the guest, disable Windows Update.
* Open `services.msc`.