Take the 2-minute tour ×

I'm in a situation where I could do with very quickly migrating a Windows 7 (RTM x64) installation from one machine to another.

What options are open to me in terms of getting W7 to boot after the drive is picked up and moved from one box to another? I thought it was supposed to be a little less sensitive to this kind of move than XP, but it doesn't work - it is stuck in a reboot loop and never reaches a GUI.

Tried a few things so far, none of which have worked:

  • Changed SATA mode in the BIOS of the target machine between ATA and AHCI
  • run Windows 7 Startup Repair
  • tried safe mode, no change

(I will keep this list up to date as suggestions come in)

UPDATE: I can confirm this reboot loop is due to STOP error 0x0000007B, and these codes follow:


UPDATE: I didn't get anywhere on this and I ended up just rebuilding the machine. I think it should be theoretically possible, so I'm going to leave the question open in case someone comes along in future with an answer.

share|improve this question
Does that drive boot up on any machines? I could use some details there. Does it work only on the machine you installed it with? –  th3dude Oct 12 '09 at 16:29
Works fine on the original hardware. All I've done is physically moved the drive into a different PC. Disabling automatic reboot on error in the F8 menu revealed the 0x0000007b error code. –  tomfanning Oct 12 '09 at 16:44
I had the same problem with Windows XP, it booted only on the computer I've installed it on. I had to reinstall it, no other way was successful. –  sYnfo Oct 14 '09 at 10:46

7 Answers 7

up vote 8 down vote accepted

Put the hard drive back in the original machine.

click Windows key + R to bring up "Run"

From here, type "sysprep"

This should bring up the sysprep folder.

Now, double click on the sysprep application.

alt text

Choose either Enter System Out-of-Box Experience (OOBE) in order to bring up the first run screens (where you can create users etc.) Or choose System Audit Mode to skip that.

I have never done System Audit Mode after a machine is already set for use such as yourself... it is generally how you preinstall items before locking and giving the computer to someone.

In any case, you need to tick the "Generalize" button. This will basically remove all the ties Windows has to the hardware and next time you start the machine (On this or other hardware) It will take a while to start and say something along the lines of "Windows is preparing to run for the first time"

This should do what you require!

share|improve this answer
Thanks, I will give this a go later on –  tomfanning Oct 14 '09 at 11:10
What if the original machine is no more? Is there any way to run sysprep from Recovery Console? When I try, I get that "actionqueue.dll" is missing. Even if sysprep can find the dll, it generates errors and exits. –  davor Dec 23 '13 at 21:40

Acronis offers an excellent program that allows you to clone a hard drive - and prepare it in a way to allow you to easily plug it into an entirely different pc and boot without any complicated issues.

Sysprep looks like an ideal solution for me... I own three 'identical' laptops bought the same day at the same place... and the simple solution was to install everything on one pc - then clone it two times... Acronis works well enough - but sysprep is a great tool to use as well...

share|improve this answer

Through the Windows 7 repair or installation disc, a motherboard migration operation can be carried through, by using the "Add Driver" feature.

Windows 7 repair wizard

What Windows 7 needs to boot properly as a result of a hardware change, is the appropriate drivers. The drivers of the old mother board should be downloaded, from the website and stored on a CD or USB key.

They should be extracted before being stored on such a media. They should be readable in .sys or .inf format. 7zip is the ideal tool to do this.

share|improve this answer
Welcome to Super User! As for formatting, see the editing help. –  Arjan Aug 27 '13 at 20:13

As long as the BIOS is picking up the hard drive and it is added to the 'boot devices' list (preferably first on the list), I don't think you should have any issues.

share|improve this answer
Well I am having issues - it's stuck in a reboot loop. Even safe mode doesn't work. –  tomfanning Oct 12 '09 at 14:48
Well you didn't say that. Your question was very vague. Please update it and include more details on the problem. 'It doesn't work' isn't enough for us to help. –  th3dude Oct 12 '09 at 15:26
My intention was to solicit general ideas rather than ask for a specific solution. However, I have now included a mention of the reboot loop in the question. –  tomfanning Oct 12 '09 at 15:59
I understand that. But without specific information it is very difficult. I'd rather help with specific issues than general ones. Hopefully Josip's response works for you. If not, let us know. –  th3dude Oct 12 '09 at 16:18

Try using detecthal: bcdedit /set {current} detecthal on

share|improve this answer
Thanks, I will give this a go shortly. –  tomfanning Oct 12 '09 at 15:57
Unfortunately no good. –  tomfanning Oct 12 '09 at 16:46

If the new machine has a different hardware configuration than your old machine, simply taking a hard drive out of your old machine and plugging into your new one will almost certainly not work. Your hard drive contains many files that have hardware-specific configuration files, so plugging this into a machine with different hardware will likely give you the blue screen of death. There are software solutions such as Migrate Easy that help with data/operating system/program migration from an old hard drive to a new hard drive on the same machine. I'm not aware of any piece of software that provides a turnkey way to migrate a hard disk into a new machine with a different hardware configuration.

share|improve this answer
There are actually several out there, one I have used is Acronis Universal Restore: kb.acronis.com/content/1566 –  tomfanning Jan 29 '10 at 11:30

Just pop the Windows DVD in and boot to it and run the startup repair. It's worked every time I tried (Vista and 7).

share|improve this answer

Your Answer


