Cloning Windows 7 to Another Machine

16,765

Solution 1

You can create a WIM of your installation using ImageX, start up in that image and use sysprep /generalize for deployment on the new machine. You'll need to install drivers and activate windows when you deploy to the new machine.

If you want to setup a new user account and machine name on the new system, add the /oobe flag when you sysprep.

Solution 2

I would only do a perfect "clone" if the machines' hardware is identical in every way. And even then, you need to be really careful!

If the machines are different at all, I would expect a bluescreen on startup due to the low-level drivers being different. You should follow snorfys answer and do a sysprep install instead of a clone:

http://theitbros.com/sysprep-a-windows-7-machine-start-to-finish-v2/

Share:
16,765

Related videos on Youtube

Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin almost 2 years

    I am trying to clone a Windows 7 Install from one machine to others, in a computer lab situation. I have used clonezilla to make an image of the machine's harddrive and then attempted to write that image to a second machine's disk. Everything went fine, but when I try to boot Windows 7 on the second machine I get a blue screen flash and then it tries to run the startup repair tool, which runs unsuccessfully. Is there something new with Windows 7 that keeps it from being cloned like this?

    • Admin
      Admin over 14 years
      possibly more appropriate to serverfault? (trobrock, please don't crosspost, this question can be migrated if necessary.)
    • Admin
      Admin over 14 years
      See my answer here for some tips on software that can do this.
    • Admin
      Admin over 14 years
      If you have a license to do this you have the MSFT roll-out tools to generate the correct keys.
    • Admin
      Admin over 14 years
      Is the hardware identical between the two systems?
    • Admin
      Admin over 14 years
      @mgb - it's not impractical or uncommon (in some environments) to create a WIM of your drive, and install it on a VHD on the drive for failover or backup, or deploying to another machine on the same network. sysprep /generalize also resets the activation clock (if it hasn't been reset 3 times already). Just re-activate with a new key on the new machine.
  • quack quixote
    quack quixote over 14 years
    @bradlis7: while you're correct regarding a retail or OEM Win7 license, Microsoft has lots of different licenses; this may be valid practice (ie, legal) under a site license.
  • PP.
    PP. over 14 years
    This is rather interesting: so if I back up my HDD, the HDD crashes, then I install the backed up HDD into my machine, then Windows will simply never boot again? F***!
  • Ryan Alexander
    Ryan Alexander about 14 years
    @quack quixote: You're probably right, I was just speaking from my own experience (installing a single licensed copy of Windows). @PP: It's usually a waste to back up a full copy of Windows. Just reinstall Windows, explain that the hard drive crashed and they will give you an unlock code.