VM fails to Power On stuck at 66% due to invalid boolean value FLASE in vmx
search cancel

VM fails to Power On stuck at 66% due to invalid boolean value FLASE in vmx

book

Article ID: 439648

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Virtual machines fail to power on, becoming stuck at 66% before eventually timing out. Review of the Tasks and Events tab or ESXi logs reveals boolean validation errors.

Symptoms:

  • Power-on task hangs at 66%.

  • Task times out with a general system error.

  • VM events show: Warning message from <ESXi_Hostname>: Value "FLASE" for variable "scsi0:1.ctkEnabled" is not a valid boolean value. Using value "FALSE".

Environment

  • VMware vSphere ESXi 7.X
  • VMware vSphere ESXi 8.X

Cause

The VM configuration file (.vmx) contains a syntax error where the Changed Block Tracking (CBT) parameter ctkEnabled is set to "FLASE" instead of the valid boolean "FALSE". This prevent the host from successfully parsing the configuration during the power-on initialization phase.

Resolution

Correct the syntax error within the .vmx file and reload the virtual machine configuration on the ESXi host.

  1. Log in to the ESXi host where the VM is registered via SSH.

  2. Navigate to the virtual machine's directory: 

    • cd /vmfs/volumes/<Datastore_UUID>/<VM_Name>/
  3. Create a backup of the current configuration file: 

    • mkdir tmp 
    • cp <VM_Name>.vmx ./tmp/
  4. Open the .vmx file using a text editor: 

    • vi <VM_Name>.vmx
  5. Locate all instances of the string "FLASE" and correct them to "FALSE".

    • Example entry:

      • scsi0:1.ctkEnabled = "FALSE"

  6. Save and exit the editor (:wq!).

  7. Identify the Virtual Machine ID (Vmid) for the affected VM: vim-cmd vmsvc/getallvms | grep -i <VM_Name>

  8. Reload the VM configuration to register the changes: vim-cmd vmsvc/reload <Vmid>

  9. Attempt to Power On the virtual machine from the vSphere Client.