Microsoft KB Archive/883989

= Windows CE 4.x Emulator does not work correctly if PAE mode is enabled =

Article ID: 883989

Article Last Modified on 7/29/2005

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Windows CE Platform Builder 4.2
 * Microsoft Windows CE Platform Builder 4.1
 * Microsoft Windows CE Platform Builder 4.0
 * Microsoft eMbedded Visual C++ 4.0
 * Microsoft Software Development Kit for Windows Mobile 2003-based Pocket PCs
 * Microsoft Smartphone 2003 SDK
 * Microsoft Windows Server 2003 Service Pack 1
 * Microsoft Windows XP Professional
 * Microsoft Windows XP Professional Service Pack 2 (SP2)

-





SYMPTOMS
If Physical Address Extension (PAE) mode is enabled on a Microsoft Windows XP-based computer, and you try to run the Microsoft Windows CE Emulator in Microsoft Visual Studio .NET 2003, Microsoft Windows CE Platform Builder 4.x, Microsoft eMbedded Visual C++ version 4.0, the Pocket PC 2003 SDK, or the Smartphone 2003 SDK, you may experience the following problems:  If you do not have Windows XP Service Pack 2 (SP2) installed, the computer may restart when you try to start the Windows CE 4.x Emulator while PAE mode is enabled. If you have Windows XP SP2 installed, you may receive the following error message when you try to start Windows CE 4.x Emulator while PAE mode is enabled:

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.

 If you have Windows XP SP2 installed, you may receive the following error message every time that you restart the computer:

Devices or applications disabled

'Virtual PC/Windows CE Emulator' will cause Windows to become unstable. Windows has prevented these drivers from loading.





CAUSE
Windows CE 4.x Emulator does not work correctly if PAE mode is enabled on a 32-bit computer.



WORKAROUND
To work around this problem, you must disable PAE mode. To do this, follow these steps:  Click Start, click Run, type sysdm.cpl, and then click OK. In the System Properties dialog box, click the Advanced tab.</li> In the Startup and Recovery section, click Settings.</li> In the Startup and Recovery dialog box, click Edit. The Boot.ini file opens in Notepad.</li> In the Boot.ini file, delete the /pae option.

Note If the /pae option does not exist, see the following Microsoft Knowledge Base article for more information:

891667 You receive error messages when you install Windows CE 4.x Emulator on a computer that is running Windows XP Service Pack 2 and the computer has DEP hardware

</li> Save and then close the Boot.ini file.</li> Click OK two times to close the System Properties dialog box.</li> Restart the computer.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
This article contains more information about the &quot;5.11 Launching the 4.x CE Emulators on 32-bit machine running in Physical Address Extensions (PAE) mode causes the machine to reboot&quot; topic in the Readme file for Microsoft eMbedded Visual C++ 4.0 Service Pack 4.

For more information about PAE, visit the following Microsoft Web site:

http://www.microsoft.com/whdc/system/platform/server/PAE/pae_os.mspx

If the workaround does not resolve the problem and you are running Windows XP SP2, you may be encountering a different problem caused by Data Execution Prevention (DEP). You receive the same error messages, but the problem occurs because of a different reason. For more information about DEP and how to resolve the problem, click the following article number to view the article in the Microsoft Knowledge Base:

891667 You receive error messages when you install Windows CE 4.x Emulator on a computer that is running Windows XP Service Pack 2 and the computer has DEP hardware

<div class="references_section">