Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<p>If you need to install multiple versions of VirtualBox, then you have to do some custom tricks (NOTE, if you decided to install two-versions of VB just to solve the error "<span style="color: #000000;"><a style="color: #000000;" href="https://puvox.software/blog/solution-bios-disk-read-error-at-sector-00000011/"><strong>bios disk read error at sector 00000011</strong></a></span>", then you can simply solve that problem by reading <a href="https://puvox.software/blog/solution-bios-disk-read-error-at-sector-00000011/">this article</a>)</p>
<p><span style="color: #808080;"><em>(P.S. This method might not work in some cases.)</em></span></p>
<p>At first I advise you to stick with one version, and do as much as you can to avoid multiple versions on same computer . However, in very very rare occasions, you might need to install multiple versions of it.</p>
<p>Lets start (If you have already installed and using it, it's better, to uninstall all versions of it, and go on then).</p>
<p>At first, ensure that you have exactly SAME versions of Virtualbox <strong>Installer</strong> and <strong>Extensions pack</strong>. Ok, for example, Install Virtualbox 4.3 in <strong>C:\Program files\Oracle-4.3\Virtualbox</strong>, then open it and go to <strong>PREFERENCES &gt; EXTENSIONS</strong> and install <strong>Extension-pack</strong> for it. After that, copy the whole folder <strong>Oracle-4.3 </strong>to i.e.<strong> D:\MyPrograms\Oracle-4.3</strong></p>
<p>Now, inside that folder, create the <strong>RunVirtualbox4.3.bat </strong>(if you dont use Windows, then create similar executable for that OS) and put this content inside that (just leave the first line empty and start from 2nd line):</p>
<pre><span style="color: #339966;">chdir "D:\\MyPrograms\\Oracle-4.3\\VirtualBox"</span>
<span style="color: #339966;">D:</span>
<span style="color: #339966;">VBoxSVC /ReRegServer</span>
<span style="color: #339966;">regsvr32 VBoxC.dll
start "MyVirtualBoxTitle" VirtualBox.exe</span>
</pre>
<p>save that file. Everytime you will need to run VBox 4.3, then run this<strong> .bat</strong> file with "<strong>Run As Administrator</strong>" privilege.</p>
<p>Now, install i.e. <strong>Virtual-Box 5.1</strong> and do exactly the same steps for it, just change <span style="color: #339966;">Oracle-4.3</span> to <span style="color: #339966;">Oracle-5.1<span style="color: #000000;"> in all above occasions.  </span></span>(you may also need to remove all contents from <strong>C:\users\your_username\.VirtualBox </strong>)</p>
<p>Now, try to run any of the .bat file with "Administrator Privilege".</p>
<p><strong>Voila, it should start!</strong></p>
<p>Remember, you might face problems when if you want to run second version without RESTARTING PC. For example, when you run VBox 4.3, then you might need to restart PC to run VBox 5.1. Otherwise you may see some "kernel" error messages.</p>
<p>(Some possible reason is background service. Open CMD and type <code>sc query vboxdrv</code> If it has status 3 (frozen), then you have to RESTART PC, or even a possible remedy for that is uninstall and re-install). Finally, after copying both versions, I run the Installers for both versions and UNINSTALLED them using SETUP. However, I've kept those copied installation folders and work with them at this moment.</p>
<p></p>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers