Only if you have a retail copy of Windows can you transfer the license from one computer to another. If you purchased your computer with Windows already installed then it is tied to that computer and cannot be reused on another.
if it has anything before windows 8 and is not a retail edition, which almost none are, then no. it is tied to the computer it is on and it would violate your license to do so
Only if you have a retail copy of Windows can you transfer the license from one computer to another. If you purchased your computer with Windows already installed then it is tied to that computer and cannot be reused on another.