在安裝EVC4.0和SP4的時候都提示“virtual PC/Windows CE Emulator會造成windows不穩定,windows使這些驅動程式無法載入”,上到微軟的網站一看原因是:當hardware-based DEP (基於硬體的資料執行防止)啟用時,Windows XP SP2 的驅動保護機制不允許載入Virtual PC/Windows CE Emulator driver (VPCAppSv.sys) ,微軟官網也給出瞭解決的辦法,原文如下:
You install Microsoft Windows CE 4.x Emulator on a computer that is running Microsoft Windows XP Service Pack 2 (SP2). The computer has Data Execution Prevention (DEP) hardware. You receive the following error message when you restart your computer:
Devices or applications disabled
'Virtual PC/Windows CE Emulator' will cause Windows to become unstable. Windows has prevented these drivers from loading.
You may also receive the following error message when you try to start Windows CE 4.x Emulator:
Emulator for Windows CE
One or more files from the Emulator for Windows CE installation is missing. Please reinstall Emulator for Windows CE and try again.To resolve this problem and to run Window CE 4.x Emulator, disable hardware-based DEP on your computer that is running Windows XP SP2. To do this, follow these steps:1. Click Start, click Run, type sysdm.cpl, and then click OK.
2. In the System Properties dialog box, click the Advanced tab.
3. Under Start and Recovery, click Settings.
4. In the Startup and Recovery dialog box, click Edit.
5. Disable PAE mode by removing the /pae option if it exists.
6. Remove the /noexecute option if it exists.
7. Add the /execute option.
8. On the File menu, click Save.
9. To exit Notepad, click Exit on the File menu.
10. To close System Properties, click OK two times.
11. Restart your computer.
實際上就是修改boot.ini檔案,去掉存在的 /noexecute 和 /pae 選項。再加上 /execute ,重啟電腦,再安裝evc就OK了。我的boot.ini檔案修改後如下:
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /execute /fastdetect