I ran into an issue recently where Windows 7 would only let me run 2 CPU’s even though I configured the machine to 4. Researching this, I found out I could adjust the cores per CPU thus allowing me to use all 4 cores. Awesome! Here is a link to the KB Article;
Now for the important steps.
- Power off the virtual machine.
- Right-click on the virtual machine and click Edit Settings.
- Click Hardware and select CPUs.
- Choose the number of virtual processors.
- Click the Options tab.
- Click General, in the Advanced options section.
- Click Configuration Parameters.
- Click Add Row.
- Include cpuid.coresPerSocket in the Name column.
- Enter a value (try 2, 4, or 8) in the Value column.
If you are using this method to make a Windows 2003 machine have 4 CPU’s for example, you want the cpuid.coresPersocket set to 2 and that will allow you to bump the number of VCPU’s to 4.
Notes: Ensure that the number of vCPUs is divisible by the number of cpuid.coresPerSocket in the virtual machine. That is, when you divide the number of vCPUs by the number of cpuid.coresPerSocket , it must return an integer value. For example, if your virtual machine is created with 8 vCPUs, coresPerSocket can only be 1, 2, 4, or 8.