uno.check icon indicating copy to clipboard operation
uno.check copied to clipboard

[Hyper-V] Windows Hyper-V activation fails on Win11 Pro

Open DevTKSS opened this issue 6 months ago โ€ข 4 comments

Current behavior ๐Ÿ›

Image

Expected behavior ๐ŸŽฏ

the user has been prompted already, that he needs to restart his maschine, to apply this changes, so there is no need to ask him for fix accept again.

How to reproduce it (as minimally and precisely as possible) ๐Ÿ”ฌ

No response

Workaround ๐Ÿ› ๏ธ

just accept twice as you have been told to reboot

Renderer ๐ŸŽจ

  • [ ] Skia
  • [ ] Native

Affected platforms ๐Ÿ“ฑ๐Ÿ’ป๐Ÿ–ฅ๏ธ

No response

Uno.Sdk version (and other relevant versions) ๐Ÿ“ฆ

Uno.Check 1.31.13 Uno.Sdk 6.1.23

IDE version ๐Ÿง‘โ€๐Ÿ’ป

No response

Anything else we need to know? ๐Ÿ’ฌ

the reset of this before passed check came from the local fact that I was required to re-install my uefi, so the hyper-v settings will have been deleted. But even then it is totally enough to ask the user once not twice, if you should attempt to fix that. while uno-check runns he can not re-boot his maschine ;)

dotnet tool installation + Uno Check output
Microsoft Windows [Version 10.0.26100.4652]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Sonja>dotnet tool install -g Uno.Check
Tool 'uno.check' is already installed.

C:\Users\Sonja>uno-check

ย 
ย ย ย ย ย ย ย ย ย ย ย โ•”โ•ฃโ•"โ•šโ•ฌโ•—
ย ย ย ย ย ย ย ย ย โ•”โ•ฃ`ย ย ย ย ย "โ•ฃโ•—
ย ย ย ย ย ย ย ,@ร‘โ•โ•ฉโ•ฌโ•—ย ย ย ย ย โ•šโ–’ร‘%,
ย ย ย ย ย โ•”โ•ฌโ•ย ย ย ย ย ]โ•ฃโ•ฆย ย ย โ•”โ–“ย ย โ•šโ•ฃโ•—
ย ย ย ย โ•ฌโ•ย ย ย ย ย ,@โ•ย ย โ•š@โ•ฌโ•ย ย ย ย ย โ–’
ย ย ย ย โ•ฌโ•—ย ย ย ,โ•ฃโ•ย โ•@โ•ฆโ•ฃ`ย ย ย ย ย โ•”โ•ฃโ•
ย ย ย ย ย โ•šโ•ฌโ•ฆย โ–’ย ย ย ย ย โ•š@โ•—ย ย ย โ•”โ•ฃโ•
ย ย ย ย ย ย ย ย โ•šโ•@ย ย ย ย ย ย "โ•šโ•ฃโ–’
ย ย ย ย ย ย ย ย ย ย ย โ•šhย ย ย ย ,@โ•
ย ย ย ย ย ย ย ย ย ย ย ย ย โ•šร‘@ร‘โ•
ย 

                                         _                     _
  _   _   _ __     ___             ___  | |__     ___    ___  | | __
 | | | | | '_ \   / _ \   _____   / __| | '_ \   / _ \  / __| | |/ /
 | |_| | | | | | | (_) | |_____| | (__  | | | | |  __/ | (__  |   <
  \__,_| |_| |_|  \___/           \___| |_| |_|  \___|  \___| |_|\_\

ยค Uno Platform Check v1.31.13.0 ยค
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
This tool will check your Uno Platform development environment.
If problems are detected, it will offer the option to try and fix them for you, or suggest a way to fix them yourself.
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
ยป Synchronizing configuration... ok
ยป Scheduling appointments... ok

> OpenJDK 11.0 Checkup...
  - 11.0.20.1 (C:\Program Files\Microsoft\jdk-11.0.20.101-hotspot\bin\..)

> Visual Studio 17.12 Checkup...
  - 17.14.9 - C:\Program Files\Microsoft Visual Studio\2022\Community

> Visual Studio Workloads Checkup...
  - .NET desktop development is installed (17.14.9)
  - .NET Multi-platform App UI development is installed (17.14.9)
  - ASP.NET and web development is installed (17.14.9)

> Android SDK Checkup...
  - emulator (35.5.10)
  - build-tools;35.0.0 (35.0.0)
  - platforms;android-35 (2)
  - system-images;android-35;google_apis;x86_64 (9)
  - platform-tools (34.0.5)
  - cmdline-tools;13.0 (13.0)

> Android Emulator Checkup...
  - Emulator: pixel_7 found.

> .NET SDK Checkup...
  - 9.0.301 - C:\Program Files\dotnet\sdk\9.0.301
  - 9.0.302 - C:\Program Files\dotnet\sdk\9.0.302

ยฌ Skipped: PowerShell Execution Policy (Not required by the current configuration)

ยฌ Skipped: Windows Python Installation (Not required by the current configuration)

> Windows Long Path Checkup...
  - Long paths are enabled on Windows!

ยฌ Skipped: Git (Not required by the current configuration)

> Windows Hyper-V Checkup...

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
ยค Recommendation: Activate Hyper-V on this computer to benefit from faster Android Emulators
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

! Attempt to fix? [y/n] (y): y
ยป Attempting to fix: Windows Hyper-V
  Hyper-V activated. Please, restart your computer.
Fix applied.  Checking again...

> Windows Hyper-V Checkup...

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
ยค Recommendation: Activate Hyper-V on this computer to benefit from faster Android Emulators
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

! Attempt to fix? [y/n] (y): y

> dotnet new Uno Project Command Line Templates Checkup...

> Uno SDK Checkup...

> Edge WebView2 Checkup...
  - Found Edge WebView2 version 138.0.3351.109

> .NET SDK - Workloads (9.0.300) Checkup...
  - microsoft.net.sdk.android (35.0.78/9.0.100) is installed.
  - microsoft.net.sdk.ios (18.5.9207/9.0.100) is installed.
  - microsoft.net.sdk.maccatalyst (18.5.9207/9.0.100) is installed.
  - microsoft.net.sdk.tvos (18.5.9207/9.0.100) is installed.
  - microsoft.net.sdk.maui (9.0.51/9.0.100) is installed.
  - microsoft.net.workload.mono.toolchain.current (9.0.7/9.0.100) is installed.
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€



ยก Things look almost great, except some pesky warning(s) which may or may not be a problem, but at least if they are,
you'll know where to start searching!

Press Enter to finish...


C:\Users\Sonja>

DevTKSS avatar Jul 31 '25 09:07 DevTKSS