First, the problem is not Windows or Microsoft. Your hardware and applications software have to be compatible, not Windows must be compatible.
If you are using older software, try running the software in a compatibililty mode, such as Windows XP compatibility mode. The compatibility mode, sometimes, will allow older software with compatibility problems to work.
If it's older incompatible hardware your ONLY option is to replace it with Windows 7 compatible devices.
As HP has only made a couple recent model Printers (actually all in one devices) that will print directly on ink-jet printable CD and DVD's I assume you are making paper labels. Paper labels should never be used on discs due to their propensity to flake off and cause equipment failures. Most DVD players state in their operating manuals to not use discs with paper labels. Same way most automobile in-dash CD players have warnings not to use paper label CD's.
I would suggest replacing the old, and apparently not compatible, HP with a current model Epson that will print directly on ink jet printable CD and DVD's. It will give you a compatible device and eliminate the potential problems of paper labels.