Skip to content

Add script for generating a new Windows 11 VM for validation#326455

Merged
denelon merged 4 commits intomicrosoft:masterfrom
Trenly:VHDXGen
Dec 27, 2025
Merged

Add script for generating a new Windows 11 VM for validation#326455
denelon merged 4 commits intomicrosoft:masterfrom
Trenly:VHDXGen

Conversation

@Trenly
Copy link
Copy Markdown
Contributor

@Trenly Trenly commented Dec 27, 2025

Checklist for Pull Requests

Not all editions of Windows support using Windows Sandbox. Notably, it is only available for Pro and Enterprise editions, and not available on Home. Anyone who wishes to validate their manifests using Windows 11 Home must either test on their host machine, a different machine, or a VM.

This script generates a virtual hard disk (.vhdx) file that is compatible with Hyper-V as a minimal image, similar to what the validation pipelines use. It isn't exactly the same, but the resulting image should have as few pre-installed packages as possible. Hyper-V, similar to Windows Sandbox, is only available for Pro and Enterprise editions of Windows. However, tools for converting the .vhdx format to the formats required by other hypervisors are readily available and well documented, making this image largely available for anyone who wishes to use a VM as a validation environment.

@denelon @stephengillie @mdanish-kh

Microsoft Reviewers: Open in CodeFlow

@Trenly Trenly requested a review from denelon as a code owner December 27, 2025 03:23
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Attention This work item needs to be reviewed by a member of the core team. label Dec 27, 2025
@denelon denelon merged commit ff3ff29 into microsoft:master Dec 27, 2025
2 checks passed
@microsoft-github-policy-service microsoft-github-policy-service bot added Moderator-Approved One of the Moderators has reviewed and approved this PR and removed Needs-Attention This work item needs to be reviewed by a member of the core team. labels Dec 27, 2025
@Trenly Trenly deleted the VHDXGen branch December 30, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Moderator-Approved One of the Moderators has reviewed and approved this PR Project-File

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants