That's uncommon, that a computer shuts down ("turns off") when you've reached the end of the CD, you're playing. Maybe you mean something else? If not, I'd return the PC for repair.
What program do you use to play that CD? There are many. But most of them require you to "rip" the CD to add it to it's "library". Just playing isn't enough. That didn't really change between Windows Vista and Windows 7.
Kees
Hi all! I got the new computer today and loaded the OS (Win 7 Pro) and drivers with no probs. But.... how do I set the computer up to automatically add my cds to "My music"? At the moment I play a cd and at the end of the cd the computer just switches off.
Thanks,
Rob

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic