сряда, 11 декември 2019 г.

Lesson learnt about Hiper-V under Windows 10

I am not a Devop. I use VirtualBox sometimes when I need Nix* compatible system on my business PC. I use Ubuntu on my desktop PC at home. For a project I used to do it on regular basis. Some time ago I needed to install Docker and enabled Hiper-V on host PC. As a result my VirtualBox with Ubuntu stopped work and I was not able to start it even when I disabled Hiper-V completely from Windows interface and switched it off. Every time my VirtualBox was showing the following error:

Result Code:E_FAIL (0x80004005)Component:ConsoleWrap Interface:IConsole {872da645-4a9b-1727-bee2-5585105b9eed}


I researched the problem in Google but nothing helped. The box was not mandatory at that moment and I gave up to fix the issue because I already was working on another project which doesn’t required Nix* architecture. For that project I need Nix* only If I want to tests some bash script. Eventually I found a solution. If nothing helps you can try to fully remove Hyper-V feature with it's files and programs:

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All


You need to do this in the PowerShell console which needs to be run as an administrator. This is the only thing which helped me. I am writing this post for someone with a similar problem in the future. Thanks to this Stackoverflow answer:

https://stackoverflow.com/a/37143600/907047

Just bear in the mind. Use this only if something other didn't helps.

Няма коментари:

Публикуване на коментар