This article provides information about preparation of sealed images for Windows Virtual Machines.
Applies to MachPanel v6.5.25 and onward.
Procedure for creating Windows VM Sealed Images
STEP-1: Crate VM
Minimum Disk Space 10-12 GB:
Create a VM to host the operating system of your choice with minimal disk space i.e. from 10 to 12 GB, as the purchased storage will then be added to respective VM later based on Service Plans.
Required Partition Settings:
Proper disk partitioning is critical for successful deployment. The recommended partition order is:
- EFI System Partition (ESP) - SYSTEM
- Recovery Partition (WinRE) - MSR (Reserved)
- Windows (C:) - Primary
Hint : Create the Windows (C:) partition first (by selecting "New" in the Windows Setup dialog), Windows Setup automatically creates the required UEFI/GPT partitions in the correct order behind the scenes.

This ensures that C: remains the last partition, allowing it to be extended via MachPanel automatically later when additional disk space is allocated.
For an existing VM with different disk partitioning order:
For an already prepared Sealed Image or VM, apply the steps highlighted in image
below INSIDE THE VM to correct the partition layout. (If this needs to be used as sealed image for future deployments, sysprep the image again before using it for future deployments.
Commands for reference:

Other Settings:
- Adjust the Windows Firewall as per your requirements.
- Install antivirus & monitoring tools, if any.
- Allow Remote Desktop Connection.
- Set local Administrator Password to Never Expire.
STEP-2 Create Scheduled Task
In order to set Machine Name, Password and IP Address of VM, a "Scheduled Task" in sealed image must be created. Please review details below to create a scheduled task to allow
MachPanel to "Set Password" and process other OS initialization steps in Gen1 &
Gen2 VM: http://kb.machsol.com/Knowledgebase/Article/53471
Note: There is a difference between creation of scheduled task for Gen1 and Gen2 type virtual Machines. Please check details in above KB and create task accordingly.
STEP-3: Seal The Images / Prepare Windows VM Sealed Images
- Download the sample / generic sysprep.xml file provided in download section in this article (adjust it if required per your requirements).
- Copy sysprep.xml to C:\Windows\System32\sysprep inside the VM that needs to become your sealed image / OS template.
- Open Command Prompt as Administrator
- Navigate to SysPrep Directory: CD C:\Windows\System32\sysprep>
- Run command: sysprep.exe /generalize /oobe /shutdown /unattend:sysprep.xml
- On completion, you will find the VM in shutdown state.
- Your sealed image is ready. You can copy this <name>.VHD / <name>.VHDX file to MachPanel's Sealed Image repository directory and specify the path to the prepared file in MachPanel configuration.
Download Ready to use Windows Sealed Images:
You may download per-configured Gen1 and Gen2 Windows sealed images from the links below. These images are provided solely for your convenience and may be used at your own discretion and responsibility. MachSol does not warrant or assume any liability for their usage in your environment.
- Windows Server 2019
- https://www.machsol.com/Updates/SealedImages/WindowsServer2019Gen1SealedImage.zip
- https://www.machsol.com/Updates/SealedImages/WindowsServer2019Gen2SealedImage-R2.zip
- Windows Server 2022
- https://www.machsol.com/Updates/SealedImages/WindowsServer2022Gen1SealedImage.zip
- https://www.machsol.com/Updates/SealedImages/WindowsServer2022Gen2SealedImage-R2.zip
- Windows Server 2022 with SQL Server:
- https://www.machsol.com/Updates/SealedImages/WinServer2022WithSQL2019.zip
- Windows Server 2025
- https://www.machsol.com/Updates/SealedImages/WindowsServer2025Gen1SealedImage.zip
- https://www.machsol.com/Updates/SealedImages/WindowsServer2025Gen2SealedImage-R2.zip
- Windows 11 Pro
- https://www.machsol.com/Updates/SealedImages/Windows11Pro.zip
- Windows 11
- https://www.machsol.com/Updates/SealedImages/Win11-SealedImage.zip