There is a bug in Windows XP and 2003 that can cause your computer to hang or freeze when trying to utilize the autoplay feature of a CD or DVD. Windows XP and 2003 are designed to make it simpler to run your CDs or DVDs, and the autoplay feature assists you by launching the correct program to open or view the files or to run the program from the CD. Or it may also prompt you to choose from a list what action you want to take for that CD or DVD. It is also possible to disable this feature alltogether.
Microsoft has come out with a fix for the problem. It’s a small executable file that you simply run to have it fix your autoplay settings. The Microsoft AutoPlay Repair Wizard will scan your computer devices to find defective AutoPlay settings, and then will attempt to fix any it finds. The file is an exe file so make sure your antivirus software doesn't prevent you from downloading or running it.
You can download the file here or go to the Microsoft site and get it from there.