Customer SupportShop

Maintain a Windows VM template

Update a Windows virtual machine template through a controlled maintenance and validation process.

Legacy platform guidance for existing VMware environments.

Applies to: Windows templates in VMware vSphere; guest update tooling depends on the Windows image and management platform.

Before you start

  • Record the template name, current version, guest credentials and approved update method. Keep a recoverable previous image.
  • Use an isolated maintenance network where needed and plan any reboot or image-preparation requirements.

Procedure

  1. Convert the selected template to a VM, or maintain a separate build VM according to your image process.
  2. Start the VM and confirm guest tools and the operating system are ready before invoking guest commands.
  3. Install approved updates using your managed update process. Install-WindowsUpdate belongs to the separate PSWindowsUpdate module; it is not a built-in PowerShell command.
  4. Wait for update completion and required reboots. Check update history, pending reboot state and guest health rather than relying on fixed sleep intervals.
  5. Complete your image-cleanup and preparation steps, shut down cleanly, convert back to a template and record the new image version.

Check the result

  • Deploy a test VM and check boot, guest customisation, updates and application readiness.
  • Retain the previous template until the new image is accepted.