Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Windows 7 Installation - Transfer to a New Computer



 

Windows 7 Installation - Transfer to a New Computer

How to Transfer your Complete Windows 7 Installation to a New Computer
Published by Kari
01-02-2011
Default Windows 7 Installation - Transfer to a New Computer

How to Transfer your Complete Windows 7 Installation to a New Computer

information   Information
Windows 7 System Preparation Tool is a powerful, native Windows tool. When for instance used in so called Audit Mode, it let's you to freely configure Windows 7 to be then deployed to other computers as hardware independent image.

In this tutorial we use System Preparation Tool (sysprep) to prepare your Windows 7 installation to be moved to a new computer, keeping all your installed applications, program settings and user profiles. You can use this method for instance when you have bought a new PC and want to transfer your existing setup completely, without need to reinstall everything, or when you want to make major hardware changes like change the motherboard or GPU, which would usually cause Windows to stop booting normally.

warning   Warning
Using this method causes Windows 7 to lose all activation information, and it needs to be reactivated afterwards. If your Windows 7 is an OEM version, you might not be able to reactivate afterwards, at least not without phone activation option.

With the speed of today's hardware evolution, most of us geeks are upgrading the hardware more often than operating system. Upgrading hardware can be painfully slow process if we need to reinstall the operating system and all our installed applications, plus transfer program settings and user profiles.

Using sysprep makes this easy. Changing the motherboard, or for instance an old ATI GPU to a new nVidia GPU quite often causes Windows 7 not to be able to boot anymore. This fact is usually accepted by the user, who then reinstalls the OS and all applications and transfers user profiles from a backup location.

Same thing when buying a new computer with completely different hardware setup compared to the old one, or trying to restore a system image to different hardware setup. Normally this would include a complete reinstallation of Windows 7 and all applications.

Why not use sysprep to avoid reinstalling? Here are the different scenarios where you can use it.


warning   Warning
PLEASE DO NOT FORGET TO CREATE A SYSTEM IMAGE BEFORE PROCEEDING!


As you can read on this thread, on rare occasions this method does not work. If this happens, you can always restore your system using your backup image.

Backup Complete Computer - Create an Image Backup
System Image Recovery




METHOD ONE

Changing hardware components but keeping old hard disk(s)

Use this method if you:
- Change other hardware components but keep your old HD containing Windows 7

- Move the HD containing Windows 7 to another computer
  1. Before installing new hardware, boot Windows 7 normally
  2. Run Command Prompt as administrator
    .
    Windows 7 Installation - Transfer to a New Computer-audit_1.png
    .
  3. Type to Command Prompt: %windir%\System32\Sysprep\Sysprep.exe, and hit Enter
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_start.png
    .
  4. In sysprep dialog that opens, choose System Cleanup Action as Enter System Out-of-Box-Experience (OOBE), select Generalize, select Shutdown Options Shutdown. Click OK
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_run_and_generalize.png
    .
  5. Sysprep generalizes now your Windows 7 setup and shuts down your computer. Do not run any other programs during this phase!
    .
    Name:  Sysprep_Run_and_generalize_2.png
Views: 48592
Size:  3.5 KB
    .
    Name:  Sysprep_Run_and_generalize_3.png
Views: 48490
Size:  3.4 KB
    .
  6. Switch the main power of your PC off and install the new hardware OR dismount the hard disk(s) and mount it (them) to a new computer
  7. Boot the PC from sysprep generalized hard disk. You will notice Windows booting as if it was the first boot after installation, installing default drivers and updating registry. One or two reboots are needed, depending on your system specifications
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_reinstalling_devices.png
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_registry_settings.png
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_reboot_needed.png
    .
  8. When Windows finally boots up, you will need to enter all information as if this really was a new, fresh installation
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_2.png
    .
  9. Because your old user profiles already exist, Windows does not accept your normal username, but instead you have to create a new temporary user. I use username Test for this purpose
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_3.png
    .
  10. When login screen appears, choose your old user account to login
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_5.png
    .
  11. Windows boots now to default OOBE first boot desktop, with default 800*600 resolution and default theme. All your installed applications are there, as well as your old user profiles and folders. Windows has installed the default drivers for your setup, you can update them if needed
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_6.png
    .
  12. Go to Control Panel > User Accounts and delete the temporary user account (in this case Test) that you just created



METHOD TWO

Change the hard disk(s) or move Windows 7 setup to a new computer using third party imaging software
Use this method if you:
- Replace the HD containing Windows 7 on your old computer

- Move Windows 7 to a new HD on another computer
  1. Follow steps 1 through 5 above (method 1)
  2. Boot PC with an imaging CD/DVD (Paragon, Macrium etc.)
  3. Create an image of your system
  4. Turn PC off, change the hard disk(s) and reboot with imaging application, restoring the image OR boot the new computer with imaging software and restore the image
  5. Continue from step 7 above (method 1)



METHOD THREE

Change the hard disk(s) or move Windows 7 setup to a new computer using Windows Seven's native Backup and Restore
Use this method if you:
- Replace the HD containing Windows 7 on your old computer

- Move Windows 7 to a new HD on another computer
  1. Follow steps 1 through 5 above (method 1)
  2. Change the hardware componets you want to, letting the old HD be still mounted as system disk OR if transferring to a new computer, mount the old HD to the new computer as system (boot) disk
  3. Boot computer normally, continuing from step 7 above (method 1)
  4. Launch Windows Seven Backup and Restore, create a complete system image. This tutorial shows you how: Backup Complete Computer - Create an Image Backup
  5. Shut down the computer, dismount the HD and mount the new one
  6. Boot from Windows 7 installation DVD, choosing Repair > Restore an image, using the image you created in previous step. This tutorial shows you how (from Step Two / 7): System Image Recovery
  7. When image is restored, boot your computer normally
This procedure is failsafe, and works every time. There is nothing to worry, but of course it is recommended to make a backup before trying this. I have even used this method when some serious driver issues caused the PC to constantly crash (BSOD), to reset all drivers to Windows defaults and then reinstalling them one by one to find the culprit.




Note   Note
What does Sysprep generalizing do to my Windows 7 setup?
  • 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 if needed

What happens when booting first time after sysprep generalizing?
  • 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


I have tested all above mentioned methods with all versions of Windows 7, from Starter to Enterprise. It works every time, with one exception: for reasons unknown to me, sysprep seems sometimes dislike Windows Media Player networking service, which is by default started every time Windows 7 starts. In about every third time I've done this, I've got an error message when trying to generalize:

Windows 7 Installation - Transfer to a New Computer-sysprep_fatal_error.png

However, this is not a big problem. You just need to stop the WMP networking service, and run sysprep with generalize option again. You can stop the service in question by typing net stop WMPNetworkSvc to command prompt, and hitting Enter:

Windows 7 Installation - Transfer to a New Computer-sysprep_stop_wmp_service.png

If you have any questions, do not hesitate to ask.

Happy computing!

Kari
Published by
An angry old man


Join Date: Jun 2009
Location: A Finnish immigrant in Leipzig, Germany
Posts: 9,452
Kari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond repute
Kari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond reputeKari has a reputation beyond repute

Tutorial Tools
01-02-2011   #1
derekimo


Windows 7 Pro 64 SP1
 
 


Awesome work Kari, very handy tutorial.

My System SpecsSystem Spec
01-02-2011   #2
Kari


 


Thanks, Derek. If I'm allowed to say it myself, this is a very handy method to avoid problems and issues for instance when changing motherboard.

Kari
My System SpecsSystem Spec
01-02-2011   #3
iseeuu


7 Home Pre x64, Windows XP Pro, Ubuntu 9.04
 
 


Nice job Kari!
My System SpecsSystem Spec
.


01-02-2011   #4
derekimo


Windows 7 Pro 64 SP1
 
 


Quote   Quote: Originally Posted by Kari View Post
Thanks, Derek. If I'm allowed to say it myself, this is a very handy method to avoid problems and issues for instance when changing motherboard.

Kari
You're allowed.

Excellent walk through!
My System SpecsSystem Spec
01-02-2011   #5
DocBrown


Xp Pro SP3 x64, Win7 x86 (Ult 7600), Win7 x64 Ult 7600, TechNet RTM on AMD x64 (2.8Ghz)
 
 


Nice Tutorial Kari,

Bookmarked for future reference
My System SpecsSystem Spec
01-02-2011   #6
Kari


 


Thanks, Iseeuu & Doc.
My System SpecsSystem Spec
01-03-2011   #7
WindowsStar


Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 


Great work Kari!

Please note as Kari has stated:

All personalization is removed (taskbar, toolbars, folder options, start orb etc.)

This is one of the major problems with sysprep that computer techs have complained about for years. In major deployments we NEED the personalization to stay in the image.

Another note: If you have the Built-In Administrator account Enabled it will Disable it. If you have any custom settings for the Built-In Administrator account those are wiped out too as it is part of the personalization removal process. Very annoying. -WS
My System SpecsSystem Spec
01-03-2011   #8
Kari


 


WS, thanks for pointing out I forgot to mention that about sysprep generalizing disabling built-in administrator account. I add that piece of information to tutorial.

I agree with you, including personalization should be possible. Using this method to transfer a single user's existing Windows setup to new hardware setup or computer, even deploying a Windows setup to a few computers as I have done transferring an existing setup from an older computer to a new desktop and new laptop, then activating them with two codes, this is not a big deal. But deploying tens, maybe hundreds of images in a corporate network should have the option to fine tune it as wanted and needed.

It's a bit funny that as much as I want to think that Microsoft listens users and their needs, this issue still remains although it has been discussed on every major pro forum and board.

Kari
My System SpecsSystem Spec
01-03-2011   #9
Dave76


Windows 7 Ult x64 - SP1/ Windows 8 Dev Build x64
 
 


Nice tutorial, great work Kari, thanks this will be handy.
My System SpecsSystem Spec
Comment

Windows 7 Installation - Transfer to a New Computer problems?



Tutorial Tools



Similar Threads for: Windows 7 Installation - Transfer to a New Computer
Windows 7 Tutorial Category
New computer: Issues Windows 7 from XP carbonite transfer General Discussion
XP computer locks up, windows easy transfer to ext HDD Installation & Setup
Windows 7 Installation - Computer Shuts Off During Installation Installation & Setup
Using windows east transfer from a seperate drive not computer Performance & Maintenance
Dead Laptop - Transfer Windows Home Premium to New Computer? General Discussion


All times are GMT -5. The time now is 04:09 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30