Try this Lisah,
Method One
Remove the Upperfilters and Lowerfilters values completely from the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\{4D36E965-E325-11CE-BFC1-08002BE10318} - Be extra careful when editing your registry!
Restart your computer.
Method Two
If the above method does not resolve the code 31 error message and restore access to your CD-ROMs, if you also have Media Player version 7.0 installed, you can uninstall Media player version 7.0 and download and install the latest release posted at the following Microsoft Web site:
http://www.microsoft.com/windows/windowsmedia