Wednesday, December 15, 2004

Virtual PC/Windows CE Emulator Error

I was working with my brother Jeff about a week ago testing out some PocketPC software he is writing for a class and ever since I started the project and installed the Virtual PC Emulator, I have been getting the error:

'Virtual PC/Windows CE Emulator' will cause Windows to become unstable. Windows has prevented these drivers from loading. Click here for more details.

I looked this up and found out it is due to PAE (Physical Address Extension) mode being enabled on a processor. From what I found, my AMD Athlon64 processor has this detected and enabled automatically in WinXP SP2. More here. I ended up running notepad c:boot.ini and adding the /NoExecute=AlwaysOff to disable DEP (Data execution prevention) which turns off PAE as well. Now the emulator works great and I no longer get the error. The system actually seems a bit faster too.

Here is the boot.ini for reference

[code lang='css'][boot loader]
timeout=3
default=multi(0)disk(0)rdisk(1)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=AlwaysOff[/code]

Hope this helps if someone else runs into this issue.

No comments:

Post a Comment