Windows itself does not maintain a list of CDs it has encountered. The individual music applications you use may have such a feature, but the 'standard' is for the information to be retrieved at the time the CD is inserted, from the CD itself and from online databases.

Also, information (metadata) about songs that have been ripped from CD is stored within those music files.

John