VirtualBox Startup Changes

less than 1 minute read

Description:

While running my normal startup script, I got the following error: error: --startvm is an option for the VirtualBox VM runner (VirtualBoxVM) application, not the VirtualBox Manager.

Description:

  1. Simply change my script from VirtualBox.exe to VirtualBoxVM.exe

    • From
      1
      2
      3
      
      $Command = "C:\Program Files (x86)\VDesk\vdesk.exe" 
      $Arguments = @("on:3", 'run:"C:\Program Files\Oracle\VirtualBox\VirtualBox.exe" --startvm "8801bb88-2816-xxx-bd90-7af3cf0b39cb"')
      & $Command $Arguments
      
    • To
      1
      2
      3
      
      $Command = "C:\Program Files (x86)\VDesk\vdesk.exe" 
      $Arguments = @("on:3", 'run:"C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.exe" --startvm "8801bb88-2816-xxx-bd90-7af3cf0b39cb"')
      & $Command $Arguments
      

Categories:

Updated:

-----------------------------------------------------------
Spotted a mistake in this article? Why not suggest an edit!
-----------------------------------------------------------

Comments