Code 31 error for CD Rom

D

Dory

My main CDRom drive has disappeared from my Windows
Explorer. My OS is Win2000 Prof. The Device Manager
displays this error message.

"This device is not working properly because Windows
cannot load the drivers required for this device. (Code
31)"

I can boot up w/ a bootable CD loaded, so I know the drive
works.

Any chance of just copying the driver from the Win2K
install CD to the correct directory, and updating the
driver through Device Manager?
 
D

Dave Patrick

CM_PROB_FAILED_ADD
Text that is displayed in Device Manager:
This device is not working properly because Windows cannot load the drivers
required for this device. (Code 31)
Solution button: None
Cause
This error message can occur for either of the following reasons:
If the operating system calls the driver's AddDevice routine and is
unsuccessful, or if the operating system fails to load a dependent device or
filter driver.


After unloading a driver, Windows 2000 did not close its handles, delete its
device names, and so on. From Object Manager's perspective, this indicates
that the old object/device never went away, so the system does not create a
device object for a device that reappears because of a possible object name
collision.

Troubleshooting;
This behavior is usually caused by an issue in the device driver. Verify
that the driver you are using is digitally signed for Windows 2000. In the
second situation described above, the error message is resolved after you
restart the computer. To prevent this behavior from occurring again, obtain
a Windows 2000 signed driver from the device manufacturer.

If a dependent filter driver is not able to start, you can view the device
class key in the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class
Locate the device type that is reporting the error 31, and the view the
upper filter or lower filter entries. Make sure associated service entries
are located in the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
You can either troubleshoot the dependent service or remove the offending
upper filter or lower filter entry from the class registry entry. For
example, the mouse reports an error 31, therefore, this is the mouse class
entry.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{4D36E96F-E325-11C
E-BFC1-08002BE10318}
upperfilters:RegMultiSz:mouclass OffendingDriver

You can either troubleshoot why the OffendingDriver does not start, or
remove the OffendingDriver entry from the upper filters, and then restart
the system.

(note: I usually like to create a backup hardware profile when changing the
startup type and or parameters for any service/ device drivers.)
 
D

Dory

Dave -

Thanks so much for responding. I found some of the same
info on DEJA.COM that addresses the UpperFilters and
LowerFilters keys in the Registry. Being absolutely sure
that I had found the right keys in the Registry, I deleted
them and rebooted my PC. When I opened Windows Explorer,
there was my CDRom!!! What I didn't mention in my
original email (for the sake of brevity) was that awhile
back, I was unsuccessful w/ installing a HP CDRom drive w/
Adaptec drivers and ended up uninstalling it. When I did
that, apparently it did not completely clean up afterwards
and left the UpperFilters and LowerFilters for the HP in
the Registry. The article in DEJA.COM said something
about hibernation of the Win2K CDROM drivers that I didn't
understand. Anyway, I achieved fixing my problem! Thanks
again, Dave. I will keep your response for future
reference.

Dory
-----Original Message-----
CM_PROB_FAILED_ADD
Text that is displayed in Device Manager:
This device is not working properly because Windows cannot load the drivers
required for this device. (Code 31)
Solution button: None
Cause
This error message can occur for either of the following reasons:
If the operating system calls the driver's AddDevice routine and is
unsuccessful, or if the operating system fails to load a dependent device or
filter driver.


After unloading a driver, Windows 2000 did not close its handles, delete its
device names, and so on. From Object Manager's perspective, this indicates
that the old object/device never went away, so the system does not create a
device object for a device that reappears because of a possible object name
collision.

Troubleshooting;
This behavior is usually caused by an issue in the device driver. Verify
that the driver you are using is digitally signed for Windows 2000. In the
second situation described above, the error message is resolved after you
restart the computer. To prevent this behavior from occurring again, obtain
a Windows 2000 signed driver from the device manufacturer.

If a dependent filter driver is not able to start, you can view the device
class key in the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class
Locate the device type that is reporting the error 31, and the view the
upper filter or lower filter entries. Make sure associated service entries
are located in the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
You can either troubleshoot the dependent service or remove the offending
upper filter or lower filter entry from the class registry entry. For
example, the mouse reports an error 31, therefore, this is the mouse class
entry.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\ {4D36E96F-E325-11C
E-BFC1-08002BE10318}
upperfilters:RegMultiSz:mouclass OffendingDriver

You can either troubleshoot why the OffendingDriver does not start, or
remove the OffendingDriver entry from the upper filters, and then restart
the system.

(note: I usually like to create a backup hardware profile when changing the
startup type and or parameters for any service/ device drivers.)


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

Dory said:
My main CDRom drive has disappeared from my Windows
Explorer. My OS is Win2000 Prof. The Device Manager
displays this error message.

"This device is not working properly because Windows
cannot load the drivers required for this device. (Code
31)"

I can boot up w/ a bootable CD loaded, so I know the drive
works.

Any chance of just copying the driver from the Win2K
install CD to the correct directory, and updating the
driver through Device Manager?


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top