"Cmdninst Caused an Invalid Page Fault" Error Message While You Upgrade to Windows Millennium Edition

Article translations Article translations
Article ID: 277994
This article has been archived. It is offered "as is" and will no longer be updated.
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
Expand all | Collapse all

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:
  1. 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.
  2. In Safe mode, right-click My Computer, and then click Properties.
  3. Click the Device Manager tab.
  4. Disable devices that are installed under the following sections of the hardware tree:

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

    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.
  5. Click OK to close Device Manager, and then restart your computer normally.
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.

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.

Properties

Article ID: 277994 - Last Review: June 19, 2014 - Revision: 4.0
Keywords: 
kbnosurvey kbarchive kberrmsg kbinvalidpagefault kbkern32dll kbprb KB277994

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com