Jump to content


  • 0
anyweb

Migrate XP to Windows 7 using Offline mode in Windows PE - screenshots describing the process

Question

I've been testing scanstate in Offline mode while in Windows PE in the last few days for Windows XP to Windows 7 migrations and it's impressive and fast, so I thought this would be a good way of showing you how the process works using some screenshots and links to info.

 

First of all we start with a Windows XP desktop, nothing fancy, I’ve just dumped 2.5GB of data onto the desktop for the Demo.

 

data in XP.jpg

 

 

All of this data will migrate via scanstate in offline MODE while in Windows PE. So let’s get started with that and reboot into PXE to start the process. I’m doing this in a hyperV environment which is great for testing and I highly recommend you have a virtual environment for testing/demoing.

 

pxe boot press f12.jpg

 

 

As the screenshot says press F12 for network service boot. The reason we are seeing this is because I have advertised Optional Task Sequences to my Migrate Windows XP to Windows 7 X86 collection. Having the task sequences optional instead of Mandatory means you get to choose which one you want from a list (provided that there are more than one Task Sequence). Once the Task Sequence wizard starts we can be prompted for a password, in this example we have none set so we can just click Next. If you want to set a PXE Service Point password then read this post.

 

 

ts wizard.jpg

 

 

And then we see our list of task sequences, in this particular example only two optional task sequences are advertised to this collection, so that’s all we see. Select the appropriate one and click next.

 

select ts.jpg

 

The task sequence starts and the appropriate variables are set, then folders are created and finally packages and files are xcopy’d into place.

 

xcopy.jpg

 

Once everything is in place, we kick off scanstate in Offline mode by initiating the scanstate batch file which all takes place in the do X86 Scanstate step.

 

do scanstate.jpg

 

 

When scanstate is done hardlinking in OFFLINE mode in Windows PE, the task sequence downloads the windows 7 WIM which we captured before.

 

 

downloading WIM.jpg

 

 

Then the drive is wiped which deletes all of Windows XP but leaves our migrated and hardlinked data in c:\usmtoffline along with logs files and the captured Windows 7 wim...

 

wiping volume.jpg

Windows 7 wim gets applied

 

applying captured wim.jpg

 

And then windows Reboots

 

restart.jpg

 

After the reboot we see the Windows 7 boot screen

 

starting 7.jpg

 

Windows setup starts installing devices etc…

 

installing devices.jpg

 

Installs the configmgr client...and Reboots again

 

starting windows again.jpg

 

and then Restores all the migrated data (this bit requires that you set the following variable, otherwise it will fail with USMT error 38)

 

OSDMigrateAdditionalRestoreOptions=/Hardlink /nocompress

 

restore user files and settings.jpg

 

And finally we see the Windows 7 login screen.

 

login screen.jpg

 

We login as the same Domain user that we migrated, (testuser)

 

done 7 desktop with migrated data.jpg

 

 

And that’s it, the data is all migrated using Offline mode while in Windows PE. Cool huh ?

 

 

If you want to download the Task Sequences used above, click here.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.