If the partitioning is fine (GPT with EFI System Partition), it should boot up even if you move the disk to a completely new machine. You will need to re-activate Windows though after booting.
You may have had the ESP on a different drive than the one you moved to the new machine, perhaps?
Now that i think about it, i think it was an activation issue. I had a dodgey made legal copy of windows 10 when they offered the free upgrade to even those with illegal copies of windows, but when i moved it, i needed to activate and didn’t know the key.
But two replies offering different bits of advice to my comment shows that at least in part its true that this is not straightforward
I did just that just yesterday/today. Built a new PC from scratch, added the SSD with Windows from the old PC, booted up, and it worked just fine. I didn’t even need to reinstall the graphics driver.
The windows boot drive? Dont think thats possible anymore. If its completely new hardware.
Im not sure what the trigger is but if enough hardware has changed it wont boot.
I had to install windows fresh on a new hard drive when i bought a new pc last year.
If the partitioning is fine (GPT with EFI System Partition), it should boot up even if you move the disk to a completely new machine. You will need to re-activate Windows though after booting.
You may have had the ESP on a different drive than the one you moved to the new machine, perhaps?
Were you using BitLocker? You need to disable that before moving the drive.
Now that i think about it, i think it was an activation issue. I had a dodgey made legal copy of windows 10 when they offered the free upgrade to even those with illegal copies of windows, but when i moved it, i needed to activate and didn’t know the key.
But two replies offering different bits of advice to my comment shows that at least in part its true that this is not straightforward
I did just that just yesterday/today. Built a new PC from scratch, added the SSD with Windows from the old PC, booted up, and it worked just fine. I didn’t even need to reinstall the graphics driver.