How to build a portable windows virtual machine without admin permissions and with high performance?

37,164

Without admin privileges on the Host OS it will be very difficult to get high performance from your Guest OS unless the system was already pre set up to let you start your portable VM image as a non administrator. For example if VMWare player was already pre-installed on a machine you could easily move your VM on and off the machine making it portable, and you don't need admin privileges to add or remove the VM from the player software.

If there is no VM software already installed in the Host OS you will need to replace the Host OS. This can be easily done without making any modifications to the computer if the computer you are using supports booting from USB or the CD/DVD drive. What you will need to do is make a Live CD/USB with VirtualBox or other similar Linux VM host software pre-installed on it and also have your VM on a portable USB drive (it can even be the same drive that you are booting from). You then you just need to reboot the computer you want use and boot in to your Live CD/USB and start up your VM, you will be the "administrator" of Live CD/DVD's OS so the VM software can use the low level drivers that will get you good performance inside your VM.

Your biggest limiting factor in both setups will be the read and write speed of the USB drive you put your VM image on. Most cheap USB sticks do not have good write performance and I would recommend paying for a higher end one that lists good write speeds or even put it on a portable external SSD.

Share:
37,164

Related videos on Youtube

Omar
Author by

Omar

Updated on September 18, 2022

Comments

  • Omar
    Omar almost 2 years

    I need to build a portable virtual machine that could be used on user restricted PCs that need admin permissions. I've heard about QEMU. But the problem is that it is very very slow when running. Is there a high performance alternative? I'm thinking of the ability to control the boot menu temporary without admin privileges, and boot up my custom virtual disk image as a solution if it is possible, but I don't know.

    • Thalys
      Thalys over 9 years
      Lack of admin rights, and portability are orthogonal. You need low level hardware access for high performance virtualisation. qemu gets around this by emulating an entire system. If you're somewhere with restricted user rights, its generally for a reason.
    • Omar
      Omar over 9 years
      I've tried QEMU before, but it was too small. Do you have any idea how to bootload my custom system image on an external FDD? knowing that I don't have an access to the BIOS setup as it is password protected.
  • Omar
    Omar over 9 years
    Do you have any idea how to bootload my custom system image on an external media? knowing that I don't have an access to the BIOS setup as it is password protected.
  • Scott Chamberlain
    Scott Chamberlain over 9 years
    If the BIOS is not set up to boot from external media there is nothing you can do. All you can do is ask the system administrator to install the software to run your own VMs you provide.