Try the fixes listed here.
Cannot Access CD-ROM and "Code 31" Error Message in Device Manager After
You Remove Adaptec Easy CD Creator from Your Computer
http://support.microsoft.com/default...b;en-us;270008
George DeLeon wrote:
> Windows 2000 Pro has suddenly stopped recognsing both
> cd_rom and cd writer drives. Drive manager give an error
> 31 code, and there is an exclamation mark beside both
> drives. They are both on the secondary IDE controller,
> and have worked for years. I have uninstalled both
> several times to no avail, and on boot up the system
> recognizes them but Win dows does not. Their drive
> letters are 'P' and 'Q'.
>