"The CPU has been disabled by the guest operating system. Power off or reset the virtual machine."
Troubleshooting the issue
My first thought was that the VMware patcher to enable OS X guest on Windows was somehow not executed successfully. I tried to reinstall VMware, rerun the patcher, and install different versions of VMware many times but to no avail. I finally tried to enable verbose boot using:
sudo nvram boot-args="-v"
and the screen showed a little bit of more information, although not much useful:
There is no problem indicated by the above messages - it is simply part of the OS X boot process. The CPU was apparently halted as soon as the boot device was detected (indicated by the info 'root device uuid is...') without even attempting to boot further. Following a strange idea, I reverted the virtual machine to one of the previous snapshot, saved when OS X Lion was already running, and received the following warning about processor features difference:
The features supported by the processor(s) in this machine are different from the features supported by the processor(s) in the machine on which the snapshot was saved.
I chose to proceed, and guess what, my OS X booted up and functioned properly without further problems. For more than 2 weeks, due to time constraints, I simply worked with the virtual machine in that saved state, suspended it when done and reverting back to the snapshot (after saving all data) when I needed to reboot!
Solution: CPU ID masking
Recently I had some free time and determined to solve the problem completely. Following a Google search of the root device uuid message, I found this blog which describes a similar problem and the solution for VMware ESXi by editing the CPU ID:
- edit the VM settings with the VM powered off
- click on the Options tab
- click on the CPUID Mask menu item
- click Advanced
- scroll to the bottom of the window on the Virtual Machine Default tab
- under “Level 1″ set “eax” to 0000:0000:0000:0001:0000:0110:1010:0101.
- click on the Options tab
- click on the CPUID Mask menu item
- click Advanced
- scroll to the bottom of the window on the Virtual Machine Default tab
- under “Level 1″ set “eax” to 0000:0000:0000:0001:0000:0110:1010:0101.
I am using VMware workstation, which does not have such an option to mask the CPU ID. However, using instructions from this forum, I was able to change the CPU ID by modifying the VMX file and add the following line:
cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"
With this change, my OS X Lion booted up properly and there is no need to work with it in a saved state anymore.
But what makes OS X Lion dislike my new laptop's processor and refuse to boot up? The fact that the unmodified virtual machine can still work on the new processor with the previously saved state implies that the processor difference is probably not critical - it was most likely a check that disables the processor if an unwelcome processor is found! With further research I realized that my new laptop processor architecture is Ivy Bridge, as compared with Sandy Bridge in my old laptop. Max OS X Lion doesn't like Ivy Bridge architecture, and thus refuses to boot up unless the CPU ID is masked to make OS X think it's running on a Sandy Bridge processor. What a hassle created by Apple, the virtual machine would have booted up properly and saved me precious time troubleshooting without this check.
Luckily, according to my research, this is probably not needed with Mountain Lion, since it supports Ivy bridge natively. I have not had the time to verify this, however.
USB 3.0 on VMware
On a side note, when trying to connect your USB device to the Mac virtual machine via VMware menu, you may receive the following error message:
"The connection for the USB device was unsuccessful. The device is currently in use"
When this happens, first check if the error message is telling you the truth. Stop all Windows applications that are currently using the device, reboot your laptop and the virtual machine and try again. If that doesn't help and you're using a new laptop with USB 3.0 ports, most likely you've hit a known problem - VMware does not support most USB 3.0 chips on Windows host. The Linux version does, however. This means, on Windows, you must revert back to a USB 2.0 or USB 1.1 port to avoid this error. So much for backwards compatibility!
In my case, I was lucky. My laptop has 4 USB ports, 3xUSB 3.0 ports and 1xUSB 2.0 port. I plugged the device to the USB 2.0 port and VMware was able to connect the device successfully.

Thank you so much. I was struggling with this exact issue (the CPU one) and this solution worked perfect. Thanks!
ReplyDeleteThank you very much :D Finally I found how to solve :)
ReplyDeleteI have the same problem.. but I´m not able to solve it yed.. even doing this :s
ReplyDeleteHi,
ReplyDeleteI followed your instructions, but i didn't know what you meant by:
- click on the CPUID Mask menu item
I couldn't find that item.
Hi Lucas,
ReplyDeleteThe instructions you tried are meant for VMware ESXi only. They have options to change the CPU masks from the virtual machine settings. If you using other versions of VMWare such as VM Workstation, you will need to manually modify the VMX file as per the instructions in the article.
Let me know if this helps.
Hello MD, i followed your instructions on going to this link
Deletehttp://download.microsoft.com/download/1/9/F/19FD407F-A7E9-4393-A845-D0B1F539678E/havdetectiontool.exe
if u had that 1st problem when i went to download it it said it only works for windows 7 and windows xp i have windows 8 and it didnt work for me can you help me? its still saying the same thing http://download.microsoft.com/download/1/9/F/19FD407F-A7E9-4393-A845-D0B1F539678E/havdetectiontool.exe
Now I see, I hadn't read good enough.
ReplyDeleteI've added the line " cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101" "
but I still get: The CPU has been disabled by the guest operating system
more info: I have an AMD processor, maybe that's the cause of the problem.
I write this to all the people who have VMWare workstation. If when you start mac os x on VMware you get this error : "the cpu has been disabled by the guest operating system. Reset or power off the virtual machine", I have the solution to your problem =D ! It can come from two things
ReplyDelete- 1: Your BIOS is not configured for virtualization, go to this link : http://download.microsoft.com/download/1/9/F/19FD407F-A7E9-4393-A845-D0B1F539678E/havdetectiontool.exe
Save the software on your pc, launch it. If it say : "This computer does not have hardware-assisted virtualization" or "Hardware-assisted virtualization is not enabled on this computer"
go to this link and follow instructions :
http://www.sysprobs.com/disable-enable-virtualization-technology-bios
If it say : "This computer is configured with hardware-assisted virtualization" go second possibility below =)
- 2: You have an intel core i5 or i7 processor, in this case, for install mac os x on VMware follow this tutorial wich work for me :
http://www.cachem.fr/vmware-os-x-10- 8-mountain-lion-windows-7/
I'm French xD I hope to have helped you =D
Alexxx
http://www.cachem.fr/vmware-os-x-10- 8-mountain-lion-windows-7/ is not available any more, any idea?
DeleteIt is, there is a space between the 10- and the 8. The real url should be:
Deletehttp://www.cachem.fr/vmware-os-x-10-8-mountain-lion-windows-7/
My PC IS Made for Hardware virtualization, But it doesn't have an Intel core i5 or i7 processor.
DeleteI remember doing this on the same PC, and I fucked around not knowing what I was doing till I fixed it, But I can't seem to remember what I did, I have tried everything and can't fix it, Tell me if you find a few new ways to fix this problem.
Alex, thanks for sharing your knowledge with me. I am sure the detailed steps to install Mountain Lion on VMWare on your website will help many others. :)
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThe instructions you tried are meant for VMware ESXi only. They have options to change the CPU masks from the virtual machine settings. If you using other versions of VMWare such as VM Workstation, you will need to manually modify the VMX file as per the instructions in the article.
ReplyDeleteYes yes I just made it thanks a lot
ReplyDeletecan you make a video on youtube on how to fix it?
ReplyDeleteYou have to open the file using readme and paste that line at the end
ReplyDeletecpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"
Thanks a lot it works fine 100% but we should mention that the line of code which we're adding should be on the file Mac OS X Lion.vmx itself after editing it.
DeleteI am using Corei5 Win.8
Once more thanks my friend for the help
really thax I'm seeking for the solution from last 3 month and you gave me the right solution
ReplyDeleteThanks! Upgraded to ivy and couldn't figure out what went wrong.
ReplyDeletei came across this article when trying to connect a scanner (scansnap 1500) to a vm in vmware workstation. vmwre said "the device is currently in use".
ReplyDeleteyour statement that vmware workstation does not support usb 3.0 inspired me to try another port on my workstation (usb 2.0) and the scanner came up right away.
so i am saying THANKS and also posting keywords here to make it easier for the next person to find a solution for this issue, which i think applies USB devices in general.
again thanks for sharing.
the line of code which we're adding should be on the file Mac OS X Lion.vmx itself after editing it.
DeleteThanks for sharing with me :)
ReplyDeletesorry guys i'm really newbie about vmware and i have the same error:
ReplyDelete-The CPU has been disabled by the guest operating system" when running OS X Lion on VMWare
the really problem is that i can't find the file that i need to modify with add this: cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"
were is that file???? i'm crazying...really... :-((
i'm find it and modified too, but i have the same error yet.....
Deletethanks...
i can't solve this error message.
Delete-i have AMD Athlon II 640 on 880GA-UD3H
-virtualization enabled on bios
-using VMware workstation 8.0.1
-i wanna try to emulated mac os 10.8 lion
-i try to insert the line suggested on vmx configuration file
but don't work....
anyone can help me? thank a lot
Luca
You need to enable verbose boot on your VM Mac to see what is really the problem. Boot up from a Mac OS Installation DVD, mount the Mac hard disk partition and edit boot.plist. After that, see what information you have and Google or post it here :)
DeleteI'm finding this problem all over the place regarding the "The CPU has been disabled by the guest operating system. Power off or reset the virtual machine." error with AMD processors. This problem has obviously been solved by the solution above with the Ivy Bridge processors, but the AMD such as the FX line which I have, has not been solved yet. I think this is the big difference between those you have fixed the problem and those of us who are still struggling?
ReplyDeleteI don't have the expertise to figure this out, but if someone with this AMD processor issue does have the expertise, we would all GREATLY appreciate your work around.
Thanks!
For those who still have the above problem after making the VMX fix, check if you are on an AMD CPU. If so, you will need a patch kernel for OS X Lion/Mountain lion to boot properly. You can either download the patched kernel and apply it yourself or download a different image with the kernel already patched to support AMD.
ReplyDeleteTo add on, changing the CPU mask as suggested in the article will only change the model that the CPU will report to the OS, and not its behavior. So OS X thinks that it is on an Intel CPU and send instructions which may not be compatible with the AMD CPU, causing the problem.
Hi MD sorry but i can't resolve my problem i dont understand how i do to "You need to enable verbose boot on your VM Mac to see what is really the problem. Boot up from a Mac OS Installation DVD, mount the Mac hard disk partition and edit boot.plist." sorry but im really newbie and my english is very poor...
Deletecan u help me?
-i have AMD Athlon II 640 on 880GA-UD3H
-virtualization enabled on bios
-using VMware workstation 8.0.1
-i wanna try to emulated mac os 10.8 lion on win7
thanks again, bye!
I have the same problem. I am on an AMD CPU.
DeleteI'm looking for a new patch kernel for OS x Lion to test it.
Friends with Ivy Bridge Processors need to copy the line
ReplyDeletecpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"
at the end of their existing vmx file(by opening the file in Notepad) in VMWare Workstation.
Thanks a lot 'MD', without your research I would have not been able to proceed.
I can say that I have an ivy bridge CPU (I7 3770K) , and I did NOT have to add the line below to the vmx file, and the Virtual Machine with Mac OS X 10.8 booted up just fine:
ReplyDeletecpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"
My struggle is still with an AMD CPU giving the error "The CPU has been disabled by the guest operating system. Power off or reset the virtual machine." If someone knows where the patch is found, please post it. If I find an answer, I'll post it.
Thank you so much. This solution worked perfect. Thanks! Thanks! Thanks! Thanks! Thanks! Thanks! Thanks!
ReplyDeleteGuys, where is that file you need to add the line?
ReplyDeleteAnd for the AMD, what exactly need to be done?
I have the same "cpu halt" error. Tried with Lion/Mountain lion, and the same. I've added the cpuid line and that doesnt resolve my issue.
ReplyDeleteAny other suggestions?
Thanks in advance.
there is no VMX file in my files so where are they l am using VMware Workstation 9 so if you know please message me
ReplyDeletethanks
Unfortunately AMD users won't be able to make this work at all on Mountain Lion.
ReplyDeleteToo bad, really!
plz help add me on skype if u have it wayne.raab
ReplyDeletei can not get anything
hello MD,
ReplyDeletei have a same problem with CPUID, i have put a string in VMX file already, but it still not work. I use a intel CPU core i7. Please have some advise for me.
Thank
http://wiki.osx86project.org/wiki/index.php/Vmware_how_to#Step_2_-_Download_OS_X_10.4.5_or_10.4.6_or_10.4.7_or_10.4.8_ISO
ReplyDeleteI have phenom2 VMware Workstation and MAc OSX 10.4.8
Hi Friends,
ReplyDeleteI found only VMX86.sys file, but it is encoded in character even when you insert the code number on the last line does not change anything.
Is this the correct file?
That is the wrong file. The vmx file contains purely text and can be edited with any common text editor such as Notepad or Notepad++
ReplyDelete"What a hassle created by Apple"
ReplyDeleteI would say it was your decision to use an Ivy Bridge computer that cause the issue in the first place, not Apple. When Lion was released there was no Ivy Bridge and so Lion would possibly have problems with it (if you use OSX you should be aware of this). The latest version of Lion, 10.7.5, was released after the debut of Ivy Bridge processors and the first Ivy Bridge Macs and so it has support for Ivy Bridge. If you so insist on using Lion with your PC then go find a VMware 10.7.5 image.
Personally I am using a Z77 motherboard but I still use a Sandy Bridge Core i7 2600K in order to avoid VMware problems with Ivy Bridge processors. I won't use Ivy Bridge since their performance improvements compared to comparable Sandy Bridge processors is minimal anyway and there are potential problems with VMware, not just with using OSX guests.
But I believe you have already migrated to using either Lion 10.7.5 or Mountain Lion 10.8.x images already?
Its work for me, excellent. Thank you.
ReplyDeleteThank you, it works!
ReplyDeleteHello Guys, If anyone need the AMD Kernal, you can download it from the following link.
ReplyDeletehttps://mega.co.nz/#!yQ42yboJ
You need a decryption key for that
DeleteCan you send me the code please
Deleteeng_kaddoura@yahoo.com
Hi folks,
ReplyDeleteI am facing the same error message "The CPU has been disabled by the guest operating system. You will need to power off or reset the virtual machine at this point."
I am getting this msg while setting up a fresh vm guest os BackTrack 5RC3 32bit(linux)
I also tried with editing vmx file adding the entry cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101" at the last but faced the same error msg.
My host system is Win7 64bit.
Processor: i7 3770K
RAM: 8GB
Hello Guys,
ReplyDeleteI'm working on a Intel PC Processor and I am still having the same problem mention in this blog.
I've tried all the given advices but I continue seeing the same error.
I need a real solution please!
Thank you.
Thank you From México!!!
ReplyDeleteWorking OK.
Without your help, do not know how long it would have taken to resolve
Windowds 8, AMD 8350, 16GB ram, VMware8 (and 9), giving CPU has been disabled by the guest...
ReplyDeleteI tried all the images, and iso available...
iq0099@yahoo.com
Regards
Any help!?
ReplyDeleteThis worked perfectly to solve my same error on my Mountain Lion VM and I am running a I7-4700HQ Processor. Thankyou so much
ReplyDeleteThank you so much. I was stuck for like hours. I tried to understand what you did here, but was a little confused, but with much trial and error, finally got it to work! THANKS!!!
ReplyDeleteworked! thx!
ReplyDeleteDid not work for my using AMD quad core and no hardware virtuzation in the bios. I want to code IOS apps :(
ReplyDeleteHi, you would first need to patch the kernel to make it work with AMD processor. The image is meant for Intel processor only. Try to google for the AMD kernel, you'll find it.
ReplyDeleteFurthermore, if your processor does not support hardware virtualization, you will need a hardware virtualization unlocker for VMWare to make it try to run the OS X virtual machine without virtualization. I would however say that the speed of the virtual Mac without hardware virtualization will be too slow for simple tasks such as chatting or browsing, let alone to develop iOS app using xCode.
As an alternative, try to consider Hackintosh OS x86 and install Mac OS on your computer directly, if your hardware is compatible. If it works it will be stable and much more productive :)
Thanks a lot that helped me solve the problem..
ReplyDeleteThank you so much, worked for me ! FUck yeah internet !
ReplyDeleteWow - this worked instantly - Thank you so much !!!!
ReplyDelete.encoding = "windows-1252"
ReplyDeletepaevm = "TRUE"
config.version = "8"
virtualHW.version = "7"
numvcpus = "4"
cpuid.coresPerSocket = "2"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "2048"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Mac OS X Lion.vmdk"
ide1:0.present = "TRUE"
ide1:0.autodetect = "TRUE"
ide1:0.deviceType = "cdrom-raw"
floppy0.startConnected = "FALSE"
floppy0.fileName = ""
floppy0.autodetect = "TRUE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.virtualDev = "e1000"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
ich7m.present = "TRUE"
firmware = "efi"
roamingVM.exitBehavior = "go"
displayName = "Mac OS X Lion"
guestOS = "windows7"
keyboard.vusb.enable = "TRUE"
mouse.vusb.enable = "TRUE"
monitor.virtual_exec = "hardware"
monitor.virtual_mmu = "software"
nvram = "Mac OS X Lion.nvram"
virtualHW.productCompatibility = "hosted"
extendedConfigFile = "Mac OS X Lion.vmxf"
ide1:0.startConnected = "FALSE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
isolation.tools.hgfs.disable = "TRUE"
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "D:\"
sharedFolder0.guestName = "D"
sharedFolder0.expiration = "never"
sharedFolder.maxNum = "1"
ethernet0.generatedAddress = "00:0c:29:a3:d9:43"
tools.syncTime = "FALSE"
uuid.location = "56 4d 9d d2 90 27 25 ca-8b 4b 36 7c f1 a3 d9 43"
uuid.bios = "56 4d 9d d2 90 27 25 ca-8b 4b 36 7c f1 a3 d9 43"
cleanShutdown = "FALSE"
replay.supported = "FALSE"
replay.filename = ""
Deletescsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
sound.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmotion.checkpointFBSize = "134217728"
usb:1.present = "TRUE"
ethernet0.generatedAddressOffset = "0"
usb:1.deviceType = "hub"
mks.enable3d = "TRUE"
mks.keyboardFilter = "allow"
policy.vm.managedVMTemplate = "FALSE"
policy.vm.managedVM = "FALSE"
applianceView.enabled = "FALSE"
applianceView.showAtPowerOn = "FALSE"
applianceView.coverPage.name = ""
tools.remindInstall = "FALSE"
checkpoint.vmState = ""
cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"
usb:1.speed = "2"
softPowerOff = "FALSE"
RemoteDisplay.vnc.enabled = "FALSE"
vmci0.present = "FALSE"
smc.present = "FALSE"
scsi0:1.present = "FALSE"
usb:0.present = "TRUE"
usb:0.deviceType = "mouse"
usb:0.port = "0"
usb:0.parent = "-1"
can anyone please help me, ive tried everything and nothing seems to work, and i keep getting the same message "The CPU has been disabled by the guest operating system. Power off or reset the virtual machine" , please help, im running on a hp evny windows 7, quad core i7, 64bit, my system is compatible, but nothing works
DeleteAre you using an AMD core? If this is the case, the patch in the article will not work. Try with an Intel core.
Deletemy processor is : Intel(R) Core(TM) i7 CPU Q720 @ 1.60GHz
Deletei get a kernel panic as well
DeleteI replaced the nvram proper for ADM "OS X Mountain Lion.nvram"
ReplyDeleteThis file I found it include in OS X Mountain Lion 10.8.3 VMware Image/OS X Mountain Lion/amd/OS X Mountain Lion.nvram
The folder amd is a hiding file.
I got the same message error: "The CPU has been disabled by the guest operating system"
ReplyDeleteIt sucks . I got an AMD -FX (tm) - 8350 Eight - Core- Processor - 4GHz.
I have already tried every suggest you posted . But nothing does not work.
Does anyone fixed this issue please ?
Hi, it is be rather difficult to find the AMD kernel for the vmware image of OS X. Most images on the net support only Intel processors. Keep trying and you'll find it. I did come across some AMD kernel links a few months ago but did not have the time to test it.
DeleteThanks man it help me ;) i have i3 ivy bridge and the same "The CPU has been disabled by the guest operating system" problem, and adding in the .vmx file the line with cpu masking solve my problem ;)
ReplyDeleteTHANK YOU AGAIN
This comment has been removed by the author.
ReplyDeleteHi, let me know your machine configuration. Will try to do some research on this.
Deletethanks it is working
ReplyDeletehmmm
ReplyDeleteseriously my message wasn't accept. im not typing it again damn it. just go to setting, options, first option, change from mac os server 64bit to mac os server.... grrr
ReplyDeleteHi,
DeleteThere is a known problem with Blogger which may sometimes discard your comment if you have to log in to your Google account first before posting. It may also happen if the account has been logged on for a while without any activity. Blogger would just then reload the page with an empty comment box after you submit the comment and whatever you have typed is lost. This is irritating for me too but so far the only workaround I know of is to type in Notepad first, then copy/paste it over :(
For the OS change in the VM settings, thanks for sharing your findings with me. :) I am sure it will help others who may still encounter the problem after editing the VMX file to enable the cpu masks following the article.
Thank you, it works really great!
ReplyDeleteTy so much :)
ReplyDeleteThank you so much!! very appreciated!!!
ReplyDeleteHi,
ReplyDeleteI have been trying to install mac os 10.8.2 using souldev teams tutorial, in vmware.
I have used hardware bypass software in download (vmware patch) and still it shows the same error.
I also tried to add the "cpuid" code line in .vmx file and no result.
cpu- amd athlon
asus motherboard
4gb ram
windows 7 ultimate 64 bit
tried with several versions of vmware (8,9 series) and same error every where
I have been searching for the solutions since weeks and no result.
PLEASE some body help me out guys.
Thanks advance.
The above patch will not work for AMD cpu. You will need a kernel meant for AMD processors. For 10.8.2 try this http://www.hackintoshosx.com/files/file/538-amd-kernel-for-mountain-lion-10-8-2/ and see if it works.
Delete