--- layout: doc title: How to Remove VMs Manually permalink: /doc/remove-vm-manually/ --- How to Remove VMs Manually ========================== How to Remove a TemplateVM Manually (R3.2) ----------------------------------------- All commands should be executed in a dom0 terminal. 1. Remove the TemplateVM's directory: $ rm -rf /var/lib/qubes/vm-templates/ 2. Remove the TemplateVM from qubes.xml: $ qvm-remove --just-db 3. Remove the TemplateVM's `*.desktop` files from `~/.local/share/applications`: $ rm ~/.local/share/applications/* 4. Remove the TemplateVM's Applications Menu entry: $ sudo rm /etc/xdg/menus/applications-merged/*