Getting The CPU has been disabled by the guest operating system error on your computer? This error is basically encountered while trying to run a virtual engine in a VMware Workstation. Notable causes of this error include inappropriate configuration of the VT feature (in BIOS), system corruption, incompatible CPU setup, disc configuration issues, and outdated VMware version among others.
How do I solve the CPU has been disabled by the guest operating system on Windows? Firstly, as advised by the prompt, reset your virtual machine. That usually deals with the error completely. Alternatively, you should enable virtualization in BIOS or mask CPU ID.
Read about the solutions below.
How to fix the CPU has been disabled by the guest operating system
- Reset virtual machine
- Enable virtualization in BIOS
- Mask CPU ID
- Create another guest engine in VMware Workstation
1. Reset virtual machine
Not to disregard the system-recommended solution, we’ll be adopting this method as the first solution in this tutorial. The CPU has been disabled by the guest operating system error-message is aptly accompanied by a system-recommended solution, which reads Power off or reset the virtual machine.
Therefore, as the first line of action, try and power off or reset the workstation, and check if it resolves the issue.
If this fails, you can try and run the next troubleshooting technique to fix the error.
2. Enable virtualization in BIOS
If you are encountering this error, enable (if disabled) the virtualization feature in BIOS on your PC.
Below is a simple step-by-step guide on how to enable virtualization (VTx/VTd) in BIOS:
- On your PC’s startup window, click on the F2 button/BIOS function key (repeatedly) to open BIOS (typically tagged SETUP).
- In the BIOS settings‘ window, go to the Security tab.
- Select System Security.
- Enable Virtual Technology (VTx/VTd).
- Apply changes.
- Restart computer.
Once this is done, check if the error is fixed in your virtual machine workstation. If it remains unfixed, there is probably another factor(s) in play, in which case, you can try the next solution.
3. Mask CPU ID
The error could also be associated with a security function, which disables an unverified/unsupported processor. This is common where the virtual engines in play are not compatible with each other, especially in their build (architecture). When this happens, with a disabled processor, the ISO image (of the VM) will not be recognized by the system.
To bypass this irregularity/inadequacy, you can mask your CPU identification tag. Unfortunately, the VMware workstation lacks the graphical interface to run the masking procedure, thus presenting a difficult situation.
Nevertheless, there is a workaround, which entails reconfiguring the virtual machine‘s code file in a text editor. To do this;
- Download and install a powerful note editor (like Notepad++) on your PC.
- Launch the Notepad ++.
- Open your VMware workstation and set the VM’s ISO image State to Powered Off.
- Select the guest (virtual) engine, locate and click on Edit virtual machine settings.
- Navigate to the Hardware pane, locate and select Hard Disk (SCSI).
- Copy the Disk file path (at the top of the right-hand pane).
- Close program and launch Windows Explorer (or File Explorer).
- Go under the VM’s file location, and check the File name extensions checkbox (Windows 10 only).
- On the displayed options, locate and right-click the file with the “.vmx” extension.
- Select Edit > Notepad++.
- Type “cpuid.1.eax = “0000:0000:0000:0001:0000:0110:1010:0101” at the bottom of the code file.
- Apply changes and exit the program.
- Restart PC.
Relaunch your VM workstation and check if the issue is resolved. If not, you can try the next and final solution.
4. Create another guest engine in VMware Workstation
This is usually the last resort, where/when other troubleshooting techniques/solutions have been exhausted.
To create a new virtual machine, do the following:
- Launch the workstation; locate and click on Home
- On the displayed options, select Create a New Virtual Machine (the first option).
- In the next window, click on the Installer disc image file (iso) option, and tap the Browse option under it. This will load the image.
- Click Next at the base of the window.
- In the next window, fill in your details and click Next.
- Under the Virtual Machine window, fill in the boxes as appropriate.
- Click Next > Finish.
- Restart PC and check if the issue is resolved.
If, after trying the four techniques in this tutorial, the issue remains unsolved, you can proceed to upgrade your VMware workstation to the latest version).
RELATED STORIES YOU SHOULD CHECK OUT: