microsoft / microsoft/MSLab

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

Open
#647 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1.3k
Forks
304
PR merge metrics
No merged PRs in 30d

Description

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...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Labconfig VM definition and the VM-starting flow in Deploy.ps1. Trace how the optional setting could control Hyper-V host Time Synchronization at VM creation, and verify that the configured behavior avoids requiring the final Start VMs prompt choices for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.