Booting a Windows 7 installation on different hardware

9

11

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:

0xFFFFF880009A98E8
0xFFFFFFFFC0000034
0x0000000000000000
0x0000000000000000

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.

tomfanning

Posted 2009-10-12T14:42:45.843

Reputation: 749

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 – 2009-10-12T16:29:35.153

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 – 2009-10-12T16:44:52.923

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 – 2009-10-14T10:46:47.973

Answers

11

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!

William Hilsum

Posted 2009-10-12T14:42:45.843

Reputation: 111 572

Hahaha, OOBE! That is just hilarious (OBE=Out of body experience, excellent pun!) – Cestarian – 2016-02-22T01:24:18.700

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 Josipovic – 2013-12-23T21:40:54.990

4

You can fix this without sysprep.

  1. download your motherboard drivers and place them on a USB
  2. boot from an install disk
  3. select "repair your computer" after the install splash screen loads
  4. under "system recovery options" select "command prompt"
  5. locate the drive letter for your usb stick. cd to each drive letter and dir until you locate it
  6. run this command (replace X with the drive letter of your system disk and Y with the usb drive letter). If you get an error like 82 or 7, then your drive letters are incorrect.

    dism /image:X:\ /add-driver /Driver:Y:\ /recurse

  7. Wait for all drivers to be added into your system drive.

  8. reboot into your system drive

casinocoin

Posted 2009-10-12T14:42:45.843

Reputation: 41

thanks dude! This saves my Windows installation! I tried your way after "sysprep"-ing did not helped me, and after trying tens of "solutions" found in internet! – joro – 2016-05-28T12:59:30.430

I add some notes: 1. I succeeded installing only the SATA driver (Rapid Storage Technology/RST/ RAID driver), not every driver for my notebook as you mentioned. 2. During the procedure I experienced some Windows crashes with restarts. I kept patient and after the crash, without doing anything differently, I restarted the PC and then it passed through the critical point. 3. I installed the missing of the drivers after I logged in. So I avoided some the hard procedures in DOS. – joro – 2016-05-28T13:16:25.373

start="4">

  • Updating the BIOS/firmware did not helped me. 5. My old PC was SATA placed in ATA mode in BIOS. My new PC was placed in "RAID On" mode.
  • < – joro – 2016-05-28T13:16:30.250

    1

    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...

    Brian

    Posted 2009-10-12T14:42:45.843

    Reputation: 11

    1

    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.

    Babac

    Posted 2009-10-12T14:42:45.843

    Reputation: 11

    Welcome to Super User! As for formatting, see the editing help.

    – Arjan – 2013-08-27T20:13:48.840

    0

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

    Josip Medved

    Posted 2009-10-12T14:42:45.843

    Reputation: 8 582

    Unfortunately no good. – tomfanning – 2009-10-12T16:46:26.277

    -1

    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).

    Mark Sowul

    Posted 2009-10-12T14:42:45.843

    Reputation: 2 877

    This answer does not seem complete. – Ramhound – 2016-01-06T14:32:07.737

    Why? Did you try it? – Mark Sowul – 2016-01-11T16:43:24.987

    I was hinting I wanted more details – Ramhound – 2016-01-11T16:57:50.553

    -1

    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.

    th3dude

    Posted 2009-10-12T14:42:45.843

    Reputation: 9 189

    Well I am having issues - it's stuck in a reboot loop. Even safe mode doesn't work. – tomfanning – 2009-10-12T14:48:49.657

    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 – 2009-10-12T15:26:12.757

    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 – 2009-10-12T15:59:35.120

    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 – 2009-10-12T16:18:47.423

    -2

    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.

    curious

    Posted 2009-10-12T14:42:45.843

    Reputation: 321

    There are actually several out there, one I have used is Acronis Universal Restore:

    http://kb.acronis.com/content/1566

    – tomfanning – 2010-01-29T11:30:41.197

    @curious This seems better served as a comment then an actual answer. – Ramhound – 2016-01-06T14:32:46.067