# How to Create a Virtual Machine Template in Proxmox: Three Methods

Title: How to Create a Virtual Machine Template in Proxmox: Three Methods
Canonical URL: https://backup.mrplanb.com/how-can-you-create-a-virtual-machine-template-in-proxmox-and-what-are-the-available-methods
Published: 2026-03-03
Last modified: 2026-09-17
Author: Mr.PlanB
Language: en

A virtual machine template in Proxmox is a preconfigured VM image with the operating system, installed software, and predefined settings. Administrators use it as a blueprint to deploy consistent virtual machines quickly without repeating the manual configuration each time.

There are three main ways to create a VM template in Proxmox:

### 1. Using the Proxmox VE web interface

First, shut down the virtual machine, because a running VM cannot be converted. In the Proxmox VE interface, select the VM, click "Shutdown," then choose "More" and select "Convert to template." After you confirm, the VM becomes a reusable template that shows up in the resource tree.

### 2. Using command-line scripts

Administrators can automate template creation from the Proxmox shell. After stopping the VM with the appropriate command, run `qm template <VMID>` to convert the VM into a template. This method works well for batch operations and automation.

### 3. Using WinSCP with remote shell access

Administrators can connect to the Proxmox host with WinSCP, open a terminal session, and run the same `qm stop` and `qm template` commands remotely. This is useful when managing the environment from another system.

Once the template exists, you can deploy new VMs by right-clicking the template and selecting "Clone." Every clone starts from the same configuration, which makes deployment faster and more consistent and keeps the environment easier to manage.

## FAQs

**1. What is the difference between a template and a snapshot?**

A template is used to create new VMs, while a snapshot captures the current state of an existing VM.

**2. Can a running VM be converted to a template?**

No. The VM must be powered off before conversion.

**3. Can templates be shared?**

Yes. Templates can be exported and imported to share configurations across environments.

Source: https://backup.mrplanb.com/how-can-you-create-a-virtual-machine-template-in-proxmox-and-what-are-the-available-methods
