pink cylinders  

More Than Four

...there's an axis for that.

Installing VirtualBox 4.3 on Windows 7-64 - Solved

by colin 10. February 2015 17:04

I was preparing for an Oracle online workshop on Database 12c multi-tenancy, and as part of the prep, you get to download a VM image with the lab environment. Of course, being Oracle, it is a Virtual Box vm.

Now, I like Virtual Box. It works great on my Mac at home, but for some reason I've had problems installing 4.x on my work laptop (Lenovo W520, getting on a bit now but still recommended).

The problem is Virtual Box almost completely installs - until it gets a certain point, then the progress bar runs backwards and it says "rolling back install", followed by:

"Oracle VM VirtualBox 4.3.20 Setup Wizard ended prematurely" because of "an error". This is followed up by "Installation failed! Fatal error during installation.".

No other information provided. Running as Adminstrator after a cold reboot didn't help.

Well... I really wanted to have the Workshop lab environment available, so despite the fact that last time I encountered this problem I didn't find any useful help on the web, I tried again... and this time, I found something on the forums, a post by user Tronmech:

https://forums.virtualbox.org/viewtopic.php?f=6&t=61785

I'll repeat the instructions here in case for some reason that post vanishes:

  • Go into the registry at: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network
  • Change "MaxNumFilters" from 8 to 20 (decimal)
  • Reboot
  • Install 4.3.x (run installer as administrator, just in case)

This time, the install was successful. Thanks, Tronmech!

After some more research, it seems that Windows 7 has a maximum hard-coded limit of 14 network filter drivers... and for some reason, this setting in the registry reduces it further to 8, by default.

So setting the MaxNumFilters key to 20 probably only lifts the artificial limit and allows 14 possible filters. Applications such as Virtual Machine managers and VPN clients need to add filters to the network stack, and increasing this limit in the registry seems to be the recommended fix.

In one KB article, I read that a Windows Service Pack could not be installed until some filters were removed!

To view currently deployed Network Filter Drivers, right-click on your connection widget in the Network Connections control panel applet, and view properties:

I believe that each of those checkboxed items is a "Network Filter Driver". I have 9 of them, and I assume that the "VirtualBox Bridged Networking" driver was the 9th one added after I lifted the limit of 8.

Comments (16) -

Shabeer
Shabeer U.A.E.
4/25/2015 2:04:36 AM #

Super!!!!!, it worked , after a long search online finally got a proper solution. thanks to you for positing this and to the person whoever invented this.

Reply

Manogar
Manogar India
5/18/2015 12:13:04 PM #

It worked. Thanks a lot for this reference(fix). May I know what's happening with this registry update?

Reply

authtn
authtn Thailand
5/31/2015 4:22:05 AM #

it worked.

Reply

Jeff
Jeff United States
6/1/2015 2:41:28 AM #

Thanks it solved my problem. One doubt I have. Will installing guest OS cause data loss in Host Machine?

Reply

colin
colin United States
6/1/2015 9:06:34 AM #

Jeff, the only scenario I can think of where installing a guest OS in a VirtualBox VM would cause data loss in the host machine would be this:

1) Host machine has limited free space
2) You create VM with large hard drive but choose the "dynamic" sizing option, instead of "fixed"
3) Installing the guest OS expands the .vdi until there is no free space on the host os file system
4) host os complains and/or crashes due to lack of swap space or similar.

I don't even know if this is realistic - I'm sure you'd be warned before it got to that point.

Reply

Paul
Paul South Africa
6/21/2015 4:43:19 AM #

Awesome it worked! thanks so much!

Reply

meraj
meraj United States
6/23/2015 3:38:16 AM #

wow perfect tnx tnx tnx

Reply

Justin
Justin Lithuania
6/24/2015 9:17:50 AM #

Not working, because I don't find VIRTUALBOX BRIDGED NETWORKING DRIVER, but same error when installing. Why?

Reply

tariq
tariq Islamic Republic of Pakistan
7/3/2015 12:51:58 AM #

i can not find this path
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network
Change "MaxNumFilters" from 8 to 20 (decimal)
kindly tell me anyone

Reply

Eric
Eric United States
7/15/2015 8:50:34 AM #

i am using windows server 2008 64bit. i have changed it from 8 - 20 but it still gives me the error. please help me

Reply

NickTerz
NickTerz Greece
1/16/2016 9:59:40 AM #

didn't work for me. I didn't even have the "MaxNumFilters" in "Network", So I made it. Didn't work either..

Reply

Daniel Konczal
Daniel Konczal United States
8/6/2016 8:45:29 PM #

how did you make it? What were the specifications you used?

Reply

Davy S
Davy S Netherlands
1/19/2016 12:43:40 PM #

I have set "MaxNumFilters" to 20 (decimal) and rebooted. Same error appears. Any ideas?

Reply

NickTerz
NickTerz Greece
4/25/2016 3:08:35 AM #

Well, there was a problem whith my registry so I had to refresh windows. After the first reboot I installed virtual box and everything was fine. I hope that helps

Reply

priyo
priyo Bangladesh
5/27/2016 9:32:43 AM #

How can I find the path????? There is nothing named hkey local machine.....someone heeeellllpppp

Reply

Daniel Konczal
Daniel Konczal United States
8/6/2016 8:43:35 PM #

go to start than run. If you have windows 10 simply type "run" into the search box. Type "regedit" then ok. Then HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\.

Reply

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

header bg