crc: Unable to start CRC on windows

General information

crc setup configure successfully . when i run crc start , it showing me “INFO Creating CRC VM for OpenShift 4.17.14… Error creating machine: error with pre-create check: Hyper-v commands have to be run as an Administrator”

Operating System

Windows

Hypervisor

Hyper-V

Did you run crc setup before crc start?

no

Running on

Laptop

Steps to reproduce

  1. crc setup
  2. crc start

CRC version

CRC version: 2.47.0+457b65
OpenShift version: 4.17.14
MicroShift version: 4.17.14

CRC status

C:\Program Files\Red Hat OpenShift Local>crc status --log-level debug
DEBU CRC version: 2.47.0+457b65
DEBU OpenShift version: 4.17.14
DEBU MicroShift version: 4.17.14
DEBU Running 'crc status'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'
Machine does not exist. Use 'crc start' to create it

CRC config

C:\Program Files\Red Hat OpenShift Local>crc config view
- consent-telemetry                     : yes

Host Operating System

C:\Program Files\Red Hat OpenShift Local>systeminfo

Host Name:                 GL0W7R3
OS Name:                   Microsoft Windows 11 Enterprise
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          Windows User
Registered Organization:
Product ID:                00330-80000-00000-AA570
Original Install Date:     26-07-2023, 00:58:58
System Boot Time:          25-02-2025, 17:39:32
System Manufacturer:       Dell Inc.
System Model:              Latitude 5420
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 140 Stepping 1 GenuineIntel ~1498 Mhz
BIOS Version:              Dell Inc. 1.30.0, 10-07-2023
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              00004009
Time Zone:                 (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi
Total Physical Memory:     15,761 MB
Available Physical Memory: 5,286 MB
Virtual Memory: Max Size:  23,441 MB
Virtual Memory: Available: 12,453 MB
Virtual Memory: In Use:    10,988 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\GL0W7R3
Hotfix(s):                 3 Hotfix(s) Installed.
                           [01]: KB5049624
                           [02]: KB5051989
                           [03]: KB5053488
Network Card(s):           4 NIC(s) Installed.
                           [01]: Intel(R) Ethernet Connection (13) I219-LM
                                 Connection Name: Ethernet
                                 Status:          Media disconnected
                           [02]: Intel(R) Wi-Fi 6 AX201 160MHz
                                 Connection Name: Wi-Fi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.29.1
                                 IP address(es)
                                 [01]: 192.168.29.207
                                 [02]: fe80::10c6:18b3:56a5:98f
                                 [03]: 2405:201:681d:e82a:910f:2a3e:578a:738f
                                 [04]: 2405:201:681d:e82a:ec6b:79ba:ffe2:6af
                           [03]: Cisco AnyConnect Virtual Miniport Adapter for Windows x64
                                 Connection Name: Ethernet 3
                                 Status:          Hardware not present
                           [04]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Expected behavior

Its should start the CRC on local

Actual behavior

Image

CRC Logs


Additional context

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 25 (13 by maintainers)

Most upvoted comments

from the output of those commands it seems the user that is added to the hyper-v admins group is GL0W7R3\10726982, but the current user account that is used is ltimindtree\10726982

can you add this ltimindtree\10726982 user to the Hyper-v Administrators group and reboot then try to run crc start again and see if that helps

What do you mean disconnected ? is this without internet ?

by this i mean when you are not able to reach the corporate domain controller to authenticate, and using your machine with the local user account