Skip to content

Instantly share code, notes, and snippets.

@Sorecchione07435
Last active April 27, 2024 17:32
Show Gist options
  • Select an option

  • Save Sorecchione07435/cd24af80dc46edbb240341afebb3c1bb to your computer and use it in GitHub Desktop.

Select an option

Save Sorecchione07435/cd24af80dc46edbb240341afebb3c1bb to your computer and use it in GitHub Desktop.
A Portable VirtualBox

VirtualBox Portable

VirtualBox Portable is a set of files that allows you to configure 90% of a VirtualBox Portable to which you can take your own portable operating systems an alternative to VBox.me

It is available in Italian and English The current version of VirtualBox may not be the latest but it is quite stable it is 5.1.38

After extracting the files for VirtualBox at the end of the installation you can decide whether to install the Drivers and close, you can do it manually by double-clicking on the "Install.exe" file which will install all the drivers to make VirtualBox work, if you are done using VirtualBox on that computer just run "Uninstall.exe" to uninstall all the Drivers and then you can remove the USB stick (If in case you are using it on Stick)

Your virtual machines will be stored in the "Virtual Machines" folder while all the VirtualBox settings including the VirtualBox.xml will be stored in the Home folder

How to Install

Go below and download the VirtualBox Portable MSI setup, run it, and you can choose to extract it to any path, at the end of the file extraction you can choose whether to install the drivers now or later

And at the end you should find an icon on Desktop named "Oracle VM VirtualBox (Portable)", it is recommended to open it from there

To install all the drivers to run VirtualBox, run the Install.exe file as administrator

VBoxDrv Service Problem

If in case you have installed the VirtualBox Drivers and you are unable to boot the VMs with this error (even after a Windows restart) STATUS_OBJECT_NAME_NOT_FOUND NtCreateFile(\Device\VBoxDrvStub) failed 0xc0000045

to solve this error, just run a command prompt as administrator and check the status of the VBoxDrv service

First of all check if the VBoxDrv service is started with:

sc query VBoxDrv

And in most cases it is this service that remains idle that causes that error, so it should be idle turned off

Finally start the service with:

sc start VBoxDrv

And now the problem should be solved, now you will be able to start the VMs

Downloads

If you are interested in trying it you can download it in this link

Download VirtualBox 5.1.38 Portable: Download

Download VirtualBox 6.1.40 Portable: It will be out soon

Download the VBox Guest Additions ISO: Download the ISO for VBox 5.1.38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment