Skip to content

Adding an optional Time Synchronization option in Labconfig to disable time synchronization from Hyper-V host at VM creation #647

@ohault

Description

@ohault

Many times, for some kinds of VMs in labs, we have to disable "Time Synchronization" from Hyper-V host.

e.g. https://github.com/microsoft/MSLab/tree/master/HandsOnLabs/02-DeployingAzureLocal

Get-VM *ALNode* | Disable-VMIntegrationService -Name "Time Synchronization"

The idea would be to add in LanConfig the support of a Time Synchronization option when defining a VM.

This will prevent to answering A or D to the question below at the end of the Deploy.ps1 script execution.

Start VMs
Would you like to start lab virtual machines?
[N] No  [A] All  [D] Deployed only  [?] Help (default is "N"): A
Script finished at 01/05/2026 15:22:28 and took 10.7020954733333 Minutes
Press enter to continue...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions