How to fix “VirtualBox Interface has active connections” error in Windows?

I came here because the title of this topic does not mention Docker. I had the same problem when using the application BlueStacks in Windows 10, without Docker. Windows did not shut down (or took a long time to do so) because ‘VirtualBox still has active connections’. I’d like to share my solution here, using BlueStacks as just an example. I solved this by creating a task in task manager that runs a script on shutdown. The script kills the VirtualBox process, which is perfectly safe. Creating such a task is described here: The script for killing a process: wmic process where "name='BstkSVC.exe'" delete

Maybe this helps anyone who came here and is not using a container. Thanks.

Leave a Comment