Windows doesn't need to be reinstalled on the new hardware. It's not only easy but also practical to transfer the HDD / SSD containing an existing Windows installation with all installed software and user data to a new PC.
Originally Posted by Night Hawk
On an elevated command prompt, enter the following command:
%windir%\system32\sysprep\sysprep.exe /generalize /oobe /shutdown
Let the Windows System Preparation Tool (Sysprep) generalize the Windows installation, remove all hardware related data including drivers, and shut down the old PC. Remove the HDD, plug it on the new PC and start it. Windows will now go through a so called OOBE first run boot installing new default drivers.
That's it, couldn't be easier. Notice that Windows needs to be reactivated afterwards.
This extract from a tutorial on our sister site the Seven Forums, the tutorial applies to all Windows versions and editions (Vista or later):
Tutorial: Windows 7 Installation - Transfer to a New Computer - Windows 7 Help Forums
What does Sysprep generalizing do to my Windows 7 setup?
What happens when booting first time after sysprep generalizing?
- All system specific information is removed or uninstalled
- Security ID (SID) of your hardware setup is reseted
- All system restore points are deleted
- All event logs are deleted
- All personalization is removed (taskbar, toolbars, folder options, start orb etc.)
- Built-in administrator account is disabled (if it was enabled) and needs to be re-enabled after the transfer if needed
- First boot configuration is run
- New SID is created
- Re-arm counter is reseted if not already re-armed three times
- Windows 7 is booted using first boot default drivers and settings
Notice that an upgraded Windows cannot by default be sysprepped. If your current Windows 10 installation is upgraded from an earlier version of Windows, or from an earlier build of Windows 10, or if you have done a so called repair install, you need to edit Windows registry a bit before you can generalize Windows installation with Sysprep. In that case see the necessary registry modifications in this Ten Forums tutorial. Tutorial is about a different way to use Sysprep but the part Upgrade (its Step 2) in it shows the registry edits needed to be able to run Sysprep on an upgraded Windows.