Activate reinstalled windows 10 on same computer but on a new replaced hard drive?

  activation, backup, hard-drive, windows, windows-10

My HDD is failing, and system is not allowing to take an image backup. I am planning to install a new SDD and install windows, is there a way I could activate windows on the new SSD?

Note: HDD is failing, but all system files are still accessible.

Source: Windows Questions