Install fails on Windows Server 2019
See original GitHub issueWhen installing microk8s on Windows Server 2019 (runs on vmware hypervisor and has nested virtualization enabled), I get the error:
launch failed: The Hyper-V Hypervisor is disabled. Please enable by using the following
command in an Administrator Powershell and reboot:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
launch failed: The Hyper-V Hypervisor is disabled. Please enable by using the following
command in an Administrator Powershell and reboot:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
Multipass shell fails with the same error.
Btw, the suggested command seems wrong, at least for Windows Server:
PS C:\Windows\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
Enable-WindowsOptionalFeature : Feature name Microsoft-Hyper-V-Hypervisor is unknown.
But Hyper-v is installed:
Hyper-V service is running, but has no VMs:
PS C:\Windows\system32> get-service | findstr vmcompute
Running vmcompute Hyper-V Host Compute Service
Any ideas where to dig?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:17 (11 by maintainers)
Top Results From Across the Web
Problem with in-place upgrade from Windows Server 2019 to ...
An in-place upgrade can be problematic and is never recommended. Better option is a clean install, patch fully, migrate roles over. You can ......
Read more >Unable to install Windows Server 2019 March 2022 ...
Hi, I'm trying to install the March 2022 cumulative update (KB5011503) on a Server 2019 machine but the installation is failing with error...
Read more >Feature Installation Fails Server 2019 - Spiceworks Community
But that is a temporary solution that may break again after the next update. I would recommend you keep using Powershell or switch...
Read more >Failing Installation on Management Console 11.4.0.3-11058 ...
Operating System: Windows Server 2019 Version 1809 Build 17763.1935. Management Console Installer: iidrmc-11.4.0.3-11058-setup.exe. Java version: 1.8.0_291.
Read more >ODBC 11-18 won't install on Windows Server 2019
I have a Windows 2019 box as below. enter image description here. I have tried installing ODBC 11 upwards but get the same...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @biiiipy, as per https://github.com/ubuntu/microk8s/issues/1300, we’ve written up the docs for getting Windows workers enrolled on a MicroK8s cluster https://discuss.kubernetes.io/t/add-a-windows-worker-node-to-microk8s/13782
@biiiipy it’ll be on the microk8s docs site; we source that from discourse. It just takes a little time to update the sidebar there, so I was sharing this with you until then.
Getting Multipass (thus MicroK8s) to run on Server 2019 may take some time, but I’ll leave this issue open.
Thanks, Joe