# Startup & Shutdown Parameters

**--autostart** <**off** | **open-window** | **start-app** | **start-host** | **user-login**>

Sets the virtual machine autostart options:

**off**: The virtual machine is started manually.

**open-window**: The virtual machine starts when its window opens.

**start-app**: The virtual machine starts when Parallels Desktop starts.

**start-host**: The virtual machine is started automatically on the host boot.

**user-login**: The virtual machine is started automatically on user logon.

**--autostart-delay** <*n*>

Sets the delay of the virtual machine autostart on host boot to n seconds.

**--autostop** \<stop | suspend | shutdown>

Specifies what should happen to the virtual machine on host shutdown.

**--startup-view** <**same** | **window** | **coherence** | **fullscreen** | **modality** | **headless**>

Sets the virtual machine startup view options:

**same**: Same as the last time

**window**: Normal window

**coherence**: Coherence

**fullscreen**: Full screen

**modality**: Modality

**headless**: Headless

**--on-shutdown** <**window** | **close** | **quit**>

Sets the virtual machine shutdown options:

**window**: The virtual machine window stays open after the virtual machine is shut down.

**close**: The virtual machine window closes after the virtual machine is shut down.

**quit**: Parallels Desktop quits after the virtual machine is shut down.

**--on-window-close** <**suspend** | **shutdown** | **stop** | **ask** | **keep-running**>

Sets the virtual machine window close options:

**suspend**: The virtual machine is suspended after its window is closed.

**shutdown**: The virtual machine is shut down after its window is closed.

**stop**: The virtual machine is forcibly stopped after its window is closed.

**ask**: Ask the user what to do: suspend, shut down, or stop the virtual machine.

**keep-running**: The virtual machine is kept running after its window is closed.

**--pause-idle** <**on** | **off**>

Enables or disables pausing of an idle virtual machine.

**--undo-disks** <**off** | **discard** | **ask**>

Sets the virtual machine undo disks options:

**off**: Undo disks mech is off.

**discard**: Discard all changes made in the virtual machine after it is stopped.

**ask**: Ask the user what to do: apply changes or discard them after the virtual machine is stopped.
