Can I use Windows 7 cd key on windows 10?

Are you upgrading or reinstalling win 10 on PC it was on already?

If 2nd, you don't need the key. When you are in the install process and hit spot asking for licence, click "I don't have a key" and win 10 will continue install and activate once complete