-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Failure to setup CRC on Windows 10 #752
Comments
@DhruvM1994 I couldn't reproduce the issue, tried on a Windows 10 (1803). The setup command tries to fix the error, in your case when it found out that Hyper-V is not enabled, Please provide the following o/p: Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId Also put the full o/p from setup command? run with debug logs enabled |
It seems that crc cannot find the location of the Hyper-V installation. I am also wondering why it cannot find the Windows release id. Output of
Output of
|
This might happen when the path of the PowerShell command is incorrect (not on path?). As this is the first instance of using PowerShell |
The path to poweshell is there and it seems to be correct. But when I try executing |
You were right with the path to powershell. Thank you very much. |
@DhruvM1994 So you are able to use |
I believe we can improve this. We check for the location of PowerShell, but fail with an error... perhaps we can expose this. |
… in PATH if exec.LookPath can't find the location of powershell.exe we fall back to using C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
… in PATH if exec.LookPath can't find the location of powershell.exe we fall back to using C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
… in PATH if exec.LookPath can't find the location of powershell.exe we fall back to using C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
if exec.LookPath can't find the location of powershell.exe we fall back to using C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
General information
crc setup
before starting it (Yes)?CRC version
CRC config
Steps to reproduce
Expected
Setup should succeed
Actual
When executing crc setup the following errors occur:
-Failed to get Windows release id
-Please manually update your Windows 10 installation
-Please manually update your Windows 10 installation
When skipping the windows version check the following errors occur:
-Hyper-V not installed
However, the os is updated and Hyper-V is installed.
The text was updated successfully, but these errors were encountered: