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
Cmdninst caused an invalid page fault in user32.dll
Cmdninst has caused an error in setupx.dll
This behavior can occur if there is an outdated driver (or drivers) installed for the hardware on your computer.
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)
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.
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.
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.