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.

Saturday, October 23, 2010

XP to Windows 7 Migration Using MDT 2010 Part 1 | Sysprep and Capture Reference Machine

In Part 1 of XP to Windows 7 migration, I'll be showing you on how to Sysprep and Capture your reference machine using MDT 2010. Please get your reference machine ready before you begin.

First, you'll need to import the operating system that you used for your reference machine. For my case, I'll import Windows 7 Enterprise x86 from my dvd.

Right click on the Operating System and select Import Operating System on the menu

On the OS Type, select Full set of source files then click Next

Browse to the DVD drive and click OK, followed by Next

Enter the destination name and then click Next

Click Next on the Summary

Now, you have imported the OS from the DVD. Next, you'll be create a task sequence to sysprep and capture the reference image.

Right click on the Task Sequence and click New Task Sequence

Enter the Task sequence ID and Task sequence name, click Next

Click on the arrow and select Sysprep and Capture on the drop down menu

Select the OS you imported just now

Leave the default selection and click Next

Click Next after you finished entered your information

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

Click Next on the Summary

You have just created a Sysprep and Capture task sequence. Next, you need update the deployment share.

Right click on the MDT Deployment Share and click Update Deployment Share on the menu

Leave the default option and click Next
Click Next on the Summary page

Click Finish after the process completed

Before proceed to the next step, pleace make sure the Rules and Bootstrap.ini are the same as below.


Next, we will run the Sysprep and Capture task sequence in the reference machine. There are two ways of doing it, you can either use the script file or use the LiteTouchPE boot image. We will be using the script method.

On the reference machine, open command prompt and enter cscript \\path_to_your_deploymentshare$\Scripts\LiteTouch.wsf

Select the Sysprep and Capture task sequence you created

Select the first option, Create an image of this reference machine. You can rename the file name if you want. Click Next once you done.

Enter the credentials that can connect to the network shares and then click Next

Click Begin to start the process

After you click begin, the reference machine will run the sysprep task first. And then it will boot into WinPE and create the .wim file in the captures folder under DeploymentShare$.