Wednesday, October 27, 2010

XP to Windows 7 Migration Using MDT 2010 Part 2 | Deployment

In part 2 of XP to Windows 7 migration, I will concentrate on the deployment of the captured reference image. First of all, you required a reference image to perform the deployment. If you followed my previous post, you shouldn't have any problem.

Continue from part 1, we need to import the captured reference image for the deployment later.

Same like what we did in part 1, right click on the Operating System, select Import Operating System

Select Custom image file, click Next

Browse to the deploymentshare$\captures and select the captured reference image, click Next
*If you tick the box below, it will move your captured image instead of copying, it's your choice.

 Accept the default selection, click Next

You can modify the name, I leave the default and click Next.

Click Next on the Summary page

Now you have already imported the captured reference image. Next, you'll need to create a new task sequence to perform the deployment.

Right click on Task Sequence, select New Task Sequence

Enter the Task sequence ID and Task sequence name, click Next
Select Standard Client Task Sequence, click Next

Select the captured reference image which you imported just now then click Next

Leave the default selection, click Next

Enter the Organization name, click Next

Select Do not specify an Administrator password at this time, click Next

Click Next on the Summary page, and click Finish once the process completed

You have just created a task sequence for the deployment. Next, you will need to modify some of the rules in Deployment Share to make the deployment simpler.

Right click on the Deployment Share, select Properties

Please copy the rules below and replace the existing rules. Click Edit Bootstrap.ini
*You might want to modify the red coloured rules

[Settings]

Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=YES
SkipAdminPassword=YES
SkipApplications=YES
SkipAppsOnUpgrade=YES
SkipBDDWelcome=YES
SkipBitLocker=YES
SkipCapture=YES
SkipComputerName=NO
SkipComputerBackup=NO
ComputerBackupLocation=AUTO
SkipDeploymentType=NO
SkipDomainMembership=YES
JoinDomain=TESTING
DomainAdmin=Administrator
DomainAdminDomain=TESTING
DomainAdminPassword=P@ssw0rd
SkipFinalSummary=NO
SkipLocaleSelection=YES
KeyboardLocale=en-US
UserLocale=en-US
UILanguage=en-US
SkipPackageDisplay=YES
SkipProductKey=YES
SkipSummary=NO
SkipTaskSequence=NO
SkipTimeZone=YES
TimeZone=215
TimeZoneName=Singapore Standard Time
SkipUserData=NO
UserDataLocation=AUTO

Replace the existing rules inside Bootstrap.ini with the rules below
*You might want to modify the red coloured rules

[Settings]
Priority=Default

[Default]
DeployRoot=\\MDT\DeploymentShare$

UserID=Administrator
UserDomain=TESTING
UserPassword=P@ssw0rd
KeyboardLocale=en-US
SkipBDDWelcome=YES

After you completed the modification, remember to update the Deployment Share.
Right click on Deployment Share annd select Update Deployment Share

Leave the default selection and click Next

Click Next on the Summary page

And finally, click Finish after the process have been completed

You have done all the necessary in the MDT side. Next, you'll need to run the LiteTouch.wsf script on the XP machine that you wish to migrate to Windows 7.

This migration exercise included USMT. As you can see, I got a picture in My Pictures folder and I also created a Paint shortcut in the desktop.

Open command prompt and run the following command, cscript \\path_to_deploymentshare$\scripts\litetouch.wsf

A wizard will pops out after you succesfully run the command. Select the Task Sequence you create, click Next

Select Refresh this computer, click Next

Rename the Computer name if you wish, click Next

Select Automatically determine the location, click Next

Select Do not back up the existing computer, click Next

Click Begin to start the deployment

The deployment started

Cheers~!!! XP successfully migrated to Windows 7~!!!
As you can see, the picture in My Picture and the Paint shortcut were migrated too. This shows that the migration and USMT is working fine. And finally, this comes to the end of XP to Windows 7 Migration.

14 comments:

  1. Hi, I had problem deploying Win 7 OS to Dell Optiplex 980 machine using SCCM 2007 R2. It able to pxe boot. But when it comes to a screen of "Prepare Network Connection" the Win 7 Restart and pxe boot again. After that it failed.

    ReplyDelete
  2. You need to check some of the logs in sccm in order to do the troubleshooting.

    ReplyDelete
  3. Hi, in refresh scenario with MDT 2010 Updated 1 iam facing problem regarding user data. It is not restoring user data which is in C: drive.

    ReplyDelete
  4. Hi Techie, what OS are you migrating from and migrating to?

    ReplyDelete
  5. From Windows XP SP3 x86 to Windows 7 Proffessionalx86

    ReplyDelete
  6. 1. Did you follow the Bootstrap.ini settings above?
    2. What parameter u entered for UserDataLocation?

    ReplyDelete
  7. Dear Hau,

    Thanks for helping me. I am resetuping testing enviroment if i got any problem i will take help from you. I have one question how much free space should be their in c: drive when deploying windows 7 enterprise x86 with MDT 2010 Updated 1 in refresh scenario.

    ReplyDelete
  8. Hi Hau, Do you have windows 7 deployment risk assessement documents and project charter.

    ReplyDelete
  9. I think this will help you, http://deployment.xtremeconsulting.com/2009/11/20/understanding-usmt-with-mdt-2010/

    Second question, I don't have the documents, sorry :)

    ReplyDelete
  10. we are getting below error while migarting from windows xp sp3 to wiZTI ERROR - Unhandled error returned by LTIApply: (-2147024832 0x80070040)and
    failed to run the action apply windows pe the specified network path is no longer available.

    ReplyDelete
    Replies
    1. Check your bootstrap.ini

      [Default]
      DeployRoot=\\YOURSERVERNAME\DeploymentShare$

      make sure this path exisits.

      Delete
  11. it's there same path... i have checked the again...

    ReplyDelete
    Replies
    1. is that path exisits? Can you connect to the path manually? Is the path being shared as DeploymentShare$?

      Delete
  12. Very informative post for me as I am always looking for new content that can help me and my knowledge grow better.
    windows 7 migration

    ReplyDelete