Microsoft KB Archive/277994

= &quot;Cmdninst Caused an Invalid Page Fault&quot; Error Message While You Upgrade to Windows Millennium Edition =

Article ID: 277994

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Windows Millennium Edition

-



This article was previously published under Q277994



If this article does not describe the error message that you are receiving, view the following Microsoft Knowledge Base article to view more articles that describe error messages:

315854 Windows 98 and Windows Me Error Message Resource Center

If this article does not describe your hardware-related issue, please visit the following Microsoft Web site to view more articles about hardware:

http://support.microsoft.com/default.aspx/w98?sid=460



SYMPTOMS
While you upgrade to Windows Millennium Edition (Me), you may receive the following error messages during hardware detection (Plug and Play):

Cmdninst caused an invalid page fault in kernel32.dll

-and-

Cmdninst caused an invalid page fault in user32.dll

-and-

Cmdninst has caused an error in setupx.dll



CAUSE
This behavior can occur if there is an outdated driver (or drivers) installed for the hardware on your computer.



RESOLUTION
To work around this behavior, start your computer in Safe mode, and then disable any non-essential devices:  Restart your computer, press and hold down the CTRL key after your computer completes the Power On Self Test (POST), and then choose Safe Mode from the Startup menu. In Safe mode, right-click My Computer, and then click Properties. Click the Device Manager tab. Disable devices that are installed under the following sections of the hardware tree:

 Ports (COM & LPT) Modems</li> Network adapters</li> Sound, video and game controllers</li> Universal Serial Bus controllers</li> Universal Serial Bus devices (if they exist)</li> Modem enumerator (if they exist)</li> Infrared Devices (if they exist)</li></ul>

To disable a device, double-click the section in the hardware tree to expand it, click the device, and then click Properties. Click to select the Disable in this hardware profile check box in the Device usage section, and then click OK.</li> Click OK to close Device Manager, and then restart your computer normally.</li></ol>

After Setup is complete, re-enable devices, one at a time, in Device Manager. Note that you must restart your computer after you re-enable each device. To re-enable devices, repeat steps 2 through 5 in normal mode (not in Safe mode), but click to clear the Disable in this hardware profile check box in the Device usage section in step 4. If you experience any problems after you re-enabling a particular device, remove that device from Device Manager, and then run the Add New Hardware tool in Control Panel. If this does not resolve the problem, contact your hardware manufacturer to see if an updated driver is available for the device that is causing the problem.

NOTE: To open Control Panel, click Start, point to Settings, and then click Control Panel.

<div class="moreinformation_section">

MORE INFORMATION
Cmdninst.exe is the Configuration Manager Device Installer launcher. Along with the Windows Configuration Manager (Configmg), Cmdninst.exe is a component that drives the process of detecting and installing devices and their nodes in the hardware tree along with the allocation of resources.

Additional query words: HWPORTS cmdinst kernel32 user32 dll

Keywords: kberrmsg kbinvalidpagefault kbkern32dll kbprb KB277994

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.