![如何给 win 2003 serv 添加 CPU](https://linux22.com/image/1340383/%E5%A6%82%E4%BD%95%E7%BB%99%20win%202003%20serv%20%E6%B7%BB%E5%8A%A0%20CPU.png)
我为我的 vm 2003 添加了 CPU。我需要一个说明如何为我的 serv win 2003 设置新的处理器亲和性
答案1
听起来你的虚拟机的 HAL 设置为单处理器配置。不过你可以相当轻松地将其“升级”为多处理器 HAL。下载开发者大会实用程序,并将提取的可执行文件放在与此脚本相同的目录中(将其保存为 mphal-upgrade.bat):
@echo off
@title "Upgrading to ACPI Multi-Processor HAL.."
cls
echo ====================================================
echo Upgrading to ACPI Multi-Processor HAL..
echo ====================================================
echo.
echo please wait..
devcon sethwid @ROOT\PCI_HAL\0000 := !E_ISA_UP !ACPIPIC_UP !ACPIAPIC_UP !ACPIAPIC_MP !MPS_UP !MPS_MP !SGI_MPS_MP !SYSPRO_MP !SGI_MPS_MP > nul
devcon sethwid @ROOT\ACPI_HAL\0000 := !E_ISA_UP !ACPIPIC_UP !ACPIAPIC_UP !ACPIAPIC_MP !MPS_UP !MPS_MP !SGI_MPS_MP !SYSPRO_MP !SGI_MPS_MP > nul
devcon sethwid @ROOT\PCI_HAL\0000 := +ACPIAPIC_MP > nul
devcon sethwid @ROOT\ACPI_HAL\0000 := +ACPIAPIC_MP > nul
devcon update %windir%\inf\hal.inf ACPIAPIC_MP > nul
echo.
echo ====================================================
echo Script Completed: press any key to reboot..
echo ====================================================
pause > nul
devcon reboot
重启后,您应该能够打开设备管理器,展开计算机条目并查看 ACPI 多处理器 HAL 设备是否已正确加载。任务管理器还应显示您现在有两个可用的 CPU。
剧本来源:http://www.pimp-my-rig.com/2008/08/article-acpi-uniprocessor-to.html