Home ยป Solved: VBoxManage is not recognized

Solved: VBoxManage is not recognized

  • by
Want to do a random act of kindness? Share this post.

Trying to VBoxManage in order to manage your cirtual machines, but already stuck at the first step? Here’s how to fix it.

‘VBoxManage’ is not recognized as an internal or external command, operable program or batch file.

If you type VBoxManage in the command prompt, you expect a list of commands to pop up. However, when the command is not added to the PATH, it just won’t work. This is the list of directories of which Windows can run executables from. VBoxManage.exe is the one you are trying to launch, but Windows has not identified the directory of this program.

The solutions is simple. Browse to the directory of your VirtualBox installation, and copy the path name. For me this is ‘C:\Program Files\Oracle\VirtualBox’. Adding this directory to the PATH variable is the easiest by simply running the set command in your command prompt, as follows:

set PATH=%PATH%;"C:\Program Files\Oracle\VirtualBox"

If you now type set again in the command prompt, it will print out all the directories to which the variable has access.

Take notice, if you want to add this command permanently, please take the following steps:

  1. Open Start
  2. Click (or type) Control Panel
  3. Click the System icon.
  4. Click Advanced system settings and then Environment Variables
  5. Search for the line under System variables that corresponds to the “Path” variable and select it
  6. Click Edit
  7. Go to the very end of the text listed in the Variable value text field
  8. Add the location of the bin folder of the installation to the end.
  9. Remember, the directories listed in the path variable should be separated by semicolons.
  10. Click OK when you are done (multiple times).

Congratulations, you can now use the VBoxManage command in your Windows command prompt.

Want to do a random act of kindness? Share this post.