bottkars / vmxtoolkit

vmxtoolkit is the Powershell extension to VMware Workstation
Apache License 2.0
116 stars 32 forks source link

Cannot Start-VMX with error "Vmware version not match" #23

Open unogz opened 4 years ago

unogz commented 4 years ago

Thank you for the awesome script!

I need your help for solving this error while trying to start my virtual machine on my vmware workstation pro: image

The vmware version is 15.5.2: image

bottkars commented 4 years ago

goot catch. looks like vmware broke the HW Version Scheme with 16 ( was always aligned to Workstation Version ). Will test against 15 an provide a fix ...

wastedwrath commented 3 years ago

Not sure if the fix has been made but I bypassed this by modifying the start-vmx function in vmxtoolkit.psm1. I changed if ($vmxHWversion -le $vmwareversion.major) to if (($vmxHWversion -le $vmwareversion.major) -or (1 -eq 1)) It bypasses the check which obviously will have ramifications in other environments but not a concern for me.

Howard0101 commented 2 years ago

Sadly a workaround is no fix. I have the same problem. Can somebody please invent a fix for this problem? ;-)

azhahes commented 2 years ago

Did a fix for this and raised a PR.