wiki:windows:virtualbox
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:windows:virtualbox [2019/09/20 13:17] – matt | wiki:windows:virtualbox [2021/01/16 15:02] (current) – matt | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Virtual Box on Windows ====== | ====== Virtual Box on Windows ====== | ||
| - | |||
| ===== Headless Virtual Machines ===== | ===== Headless Virtual Machines ===== | ||
| + | |||
| + | Add command path to Windows in elevated Command Prompt: | ||
| + | < | ||
| + | set PATH=%PATH%;" | ||
| + | </ | ||
| + | |||
| + | Find the UUID of your VMs with: | ||
| + | < | ||
| + | VBoxManage list vms | ||
| + | </ | ||
| + | |||
| To run a VM as headless, make a Batch file containing: | To run a VM as headless, make a Batch file containing: | ||
| < | < | ||
| - | cd " | ||
| VBoxManage startvm {uuid} --type headless | VBoxManage startvm {uuid} --type headless | ||
| </ | </ | ||
| Line 12: | Line 21: | ||
| To stop a headless VM, make a batch file containing: | To stop a headless VM, make a batch file containing: | ||
| < | < | ||
| - | cd " | ||
| VBoxManage controlvm {uuid} acpipowerbutton | VBoxManage controlvm {uuid} acpipowerbutton | ||
| </ | </ | ||
| This will shutdown the VM properly. If for some reason the VM does not respond to it you can us ' | This will shutdown the VM properly. If for some reason the VM does not respond to it you can us ' | ||
wiki/windows/virtualbox.txt · Last modified: by matt