Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time synchronization #949

Closed
psrok1 opened this issue Aug 14, 2024 · 0 comments · Fixed by #971
Closed

Time synchronization #949

psrok1 opened this issue Aug 14, 2024 · 0 comments · Fixed by #971
Labels
enhancement New feature or request

Comments

@psrok1
Copy link
Member

psrok1 commented Aug 14, 2024

Before starting an analysis, we need to perform few preparation actions on the guest OS that is recovered from snapshot. One of the missing things is time synchronization and it's important especially for reliable TLS communication and correct certificate validation.

My first idea was to run w32tm /resync just after setting correct IP address (ipconfig /release, ipconfig /renew) but Windows Time service fails to synchronize when time difference is too big,

image

We can force time synchronization by changing MaxNegPhaseCorrection and MaxPosPhaseCorrection to 0xfffffff:

image

but sometimes it's a bit difficult to force w32tm to change their mind about limits:

image

So I guess a bit more simple method would be a manual time synchronization by running date and time commands and providing time from the host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant