"with windows 10 cd"
I took to mean install from CD. in which case you will need the optical connected to read the disc the installer is on.
We're coming at the same phrase from different angles.
Given how rare it is for most drives to have optical drives these days, and how few people burn the Windows 10 ISO to DVD, I went the opposite direction in thinking it meant, "building a new PC that includes an optical drive."
----------------------------------------------------------------
aarono123: Create fresh installation media using the Media Creation Tool and then use that media.