$Date: 2025-08-11 19:18:47 +0200 (Mon, 11 Aug 2025) $

VBoxManage discardstate

VBoxManage-discardstate 1
VBoxManage-discardstate discard the saved state of a virtual machine &product-name;
`VBoxManage discardstate` uuid vmname

## Description

The `VBoxManage discardstate` command discards the saved state of a virtual machine (VM) that is not currently running. This command causes the VM's operating system to restart the next time you start the VM.

Where possible, avoid performing this action. The effects of this command are equivalent to unplugging the power cable on a physical machine.

`uuid | vmname`

  Specifies the Universally Unique Identifier (UUID) or name of the VM.

## Examples

The following command discards the saved state file for the VM called `vm2`. When you next start the VM, the VM's operating system is restarted.

    $ VBoxManage discardstate vm2

## See Also