hard disk crashed, how can I install SW in new laptop/PC?

the laptop which I was using, its hard dsik got crashed even the laptop isnt working. How can I activate sw in new laptop, when it wasnt deactivated from older pc.