unoplatform / uno.check

CLI tool to setup your environment to build Uno Platform apps
https://platform.uno
29 stars 17 forks source link

[win arm64] Hyper-V checkup fails #106

Open spouliot opened 1 year ago

spouliot commented 1 year ago

It fails...

> Windows Hyper-V Checkup 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 Checkup
  Please, restart your computer to complete the Hyper-V activation process.
Fix failed - Please, restart your computer to complete the Hyper-V activation process.

but Windows Features shows it as enabled.

2022-11-02

the command used to check this seems not to work properly on the arm64 hardware.

c:\Windows>c:\Windows\System32\bcdedit.exe /enum {current}
The specified entry type is invalid.
Run "bcdedit /?" for command line assistance.
The parameter is incorrect.

c:\Windows>c:\Windows\System32\bcdedit.exe /enum
The boot configuration data store could not be opened.
Access is denied.
spouliot commented 1 year ago

It seems that the error message is gone in latest Windows 11 bits

but uno-check loops back on the check after the fix is done

> Windows Hyper-V Checkup 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 Checkup
  Hyper-V activated. Please, restart your computer.
Fix applied.  Checking again...

> Windows Hyper-V Checkup Checkup...

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Recommendation: Activate Hyper-V on this computer to benefit from faster Android Emulators
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

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