using SCCM 2012 RC in a LAB – Part 18. Deploying a UDI Client Task Sequence with MDT 2012 RC1 integrated in Configuration Manager 2012

In Part 1 of this series we got our AD and SCCM servers ready, and then we installed System Center 2012 Configuration Manager as a standalone Primary site. In Part 2 we configured the SCCM server further by adding some Windows Server roles necessary for the following Configuration Manager 2012 functionality, Software Update Point (SUP) and Operating System Deployment. In Part 3 we configured the server further by Enabling Discovery methods and creating Boundary’s and Boundary Groups. In Part 4 we configured Client Settings, Added roles and Distributed the Configmgr Client to our Computers within the LAB, then in Part 5 we enabled the Endpoint Protection Role and configured Endpoint Protection settings and targeted a collection called All Windows 7 Computers with these settings and policies.

In Part 6 we configured our SUP further to Deploy software updates to our All Windows 7 Computers and Build Windows 7 X64 collections. In Part 7 we used the Build and Capture process to create our Base Windows 7 X64 wim image. In Part 8 we created a USMT 4 package to migrate the users data using hardlinking and then we imported the captured image into ConfigMgr and created a Deploy Windows 7 X64 task sequence. We created a Deploy Windows 7 X64 Collection and set some User Device Affinity collection variables.

In Part 9 we created an Application, and created a deployment type for that application to only install if the Primary User was True for that device (User Device Affinity), we then copied our Task Sequence (duplicated it), deployed the new Task Sequence, added a computer to the new collection and then PXE booted the computer to the Deployment Menu. In Part 10 we monitored the Deployment process in a lot of detail to how UDA sent state messages and we verified that our application installed on the users Primary Device, in addition we modified our collection variables, and added a prestart command to our boot image to prompt for the SMSTSUdaUsers. In Part 11 we setup the Reporting Services Point Role and verified that reporting was working.

In Part 12 we demonstrated a new feature in ConfigMgr which allows us to Patch operating system WIM images using Offline Servicing. This means that you can apply Windows Updates by using Component-Based Servicing (CBS) to update the your previously captured WIM images. In Part 13 we looked at how Role Based Administration is used within ConfigMgr and we created a new custom role to allow a user (or users within a Security Group) to view Software Update Reports. This is useful because you will probably want one team to take care of configuring and deploying software updates, and to grant another (Management etc) the capability of reviewing Compliance Reports. In Part 14 we performed a side-by-side migration from Configuration Manager 2007.

In Part 15, we deployed Windows 8 Consumer Preview to see if it was possible, and indeed it was (it’s not supported by Microsoft however). In Part 16 we integrated MDT 2012 RC1 with Configuration Manager 2012 RC2. In Part 17 we configured MDT 2012 and used the UDI Wizard designer to configure the default Custom XML file used in a UDI task sequence. Now we will configure that XML file some more before creating a new MDT Task sequence to Deploy a User Driven Installation Client Task Sequence. We will then edit that task sequence to add Offline Language support and finally deploy it and monitor a client progress.

Note: This post is long and may take you some time to complete so do please give yourself plenty of time to go through it all.

Step 1. Remove the prompt for Computername in our MDT boot image
Note: Perform the following on the ConfigMgr 2012 server as SMSadmin

In it’s current state, when we boot our MDT boot image it will prompt the end user to enter a computername as you can see in the screenshot below

Attached Image: monthly_03_2012/post-1-0-41925900-1332404839.png

we don’t need this functionality as we will use the computer naming ability within the UDI wizard itself, so let’s disable this. To remove the prompt locate your MDT Boot image in the boot images node, right click and choose properties

Attached Image: monthly_03_2012/post-1-0-67638000-1332405325.png

Click on the Customization tab,the prestart command will look like this

Attached Image: monthly_03_2012/post-1-0-18926500-1332406599.png

edit it so that it just reads

WScript.Quit(0)

then click apply as in this screenshot

Attached Image: monthly_03_2012/post-1-0-55463300-1332406794.png

answer yes to update the boot image to your distribution points, continue through that wizard to completion.

Attached Image: monthly_03_2012/post-1-0-61804800-1332406909.png

Step 2. use the UDI Wizard Designer to configure network settings and other changes
Note: Perform the following on the ConfigMgr 2012 server as SMSadmin

We already edited our UDIWizard_Config.XML file in the previous part but we need to make some additional changes to make it more user friendly and functional, so let’s start up the UDI Wizard Designer again (start, programs, Microsoft Deployment Toolkit, UDI Wizard Designer).

Attached Image: monthly_03_2012/post-1-0-96005500-1332408799.png

when the UDI Wizard Designer starts, click on the file ribbon and select our recently edited UDIWizard_Config.XML file.

Attached Image: monthly_03_2012/post-1-0-93746000-1332409078.png

Select the BitLockerPage and remove the checkmark so that we are not prompted to enter any BitLocker info

Attached Image: monthly_03_2012/post-1-0-24698900-1332409988.png

Next, double click on the New Computer Details Page and expand Network Details, select Domain

Attached Image: monthly_03_2012/post-1-0-66414600-1332410220.png

scroll down further to Domains and OUs, click on the blue Plus symbol to add a domain

Attached Image: monthly_03_2012/post-1-0-72175100-1332421497.png

when the Create or edit Domain Information window pops up

Attached Image: monthly_03_2012/post-1-0-86759000-1332421591.png

enter your domain info and friendly text something like below..

Attached Image: monthly_03_2012/post-1-0-72138400-1332421813.png

click ok when done, to add a default OU right click on the added domain and choose Add OU Manually

Attached Image: monthly_03_2012/post-1-0-88786600-1332421970.png

now you get the chance to add your OU information, so add it using the Distinguished name (which you can get from Active Directory)

Attached Image: monthly_03_2012/post-1-0-89416400-1332422231.png

click ok when done, it should now appear something like this

Attached Image: monthly_03_2012/post-1-0-94721100-1332422502.png

scroll down to Domain Join Credentials and add your domain join user account (I use one called Domjoin)

Attached Image: monthly_03_2012/post-1-0-97856800-1332422743.png

Next open the Languages Page and add a few more languages (i’m using the scandinavian ones…) if you want,

Attached Image: monthly_03_2012/post-1-0-96459500-1332424709.png

and then scroll down to the Volume page and select the User data and settings option, place a checkmark in the Format box…

Attached Image: monthly_03_2012/post-1-0-24043300-1332425079.png

ok that’s us done in the UDI Wizard designer so save your XML file and don’t forget to Update your distribution points for the MDT Toolkit Files package.

Attached Image: monthly_03_2012/post-1-0-25858200-1332425396.png

Step 3. Create Language Packs
Note: Perform the following on the ConfigMgr 2012 server as SMSadmin

If you have read my Customizing Windows 7 series you’ll have seen that we added language packages offline using MDT 2010 update 1 in Configuration Manager 2007, we will use similar functionality here in Configuration Manager 2012 RC2 but with MDT 2012 RC1. But before we do, we need some language packages added. I will add Danish here and I expect you to add whatever languages you are interested in.

In the ConfigMgr console click on Packages , select Create Pacakge from the ribbon or right click and select Create Package.

Attached Image: monthly_03_2012/post-1-0-14282800-1332425914.png

give the language pack some useful name like Windows 7 X64 SP1 Danish Language Pack and details so that it’s easy to find in the task sequence later on…click on Browse and select the folder where you have your Danish langauge pack (eg: \\sccm\sources\os\Windows 7 X64 Language packs\Windows 7 X64 – Danish)

Attached Image: monthly_03_2012/post-1-0-37833200-1332427291.png

click next and then select Do not create a program

Attached Image: monthly_03_2012/post-1-0-72824000-1332426548.png

click your way through the rest of that wizard.

Note: when the package is created add it to your distribution points and update it to the dp’s. Repeat the above for all language packs you intend to use in your UDI task sequence.

once done we should have all the Language Packages we need and intend to use created and distributed like below:-

Attached Image: monthly_03_2012/post-1-0-70197500-1332428697.png

Step 4. Create a MDT UDI Client Task Sequence
Note: Perform the following on the ConfigMgr 2012 server as SMSadmin

We need to create a new MDT Task Sequence which leverages a User Driven Installation template, we will then edit it slightly before deploying to a Deploy Windows 7 X64 collection.
So right click on Task Sequences and choose Create MDT Task Sequence

Attached Image: monthly_03_2012/post-1-0-87526600-1332439484.png

when prompted to choose a template, select User Driven Installation Task Sequence from the drop down menu

Attached Image: monthly_03_2012/post-1-0-89503500-1332439736.png

give the task sequence a name like UDI Client Task Sequence

Attached Image: monthly_03_2012/post-1-0-67635800-1332445602.png

Enter domain details and Windows settings, nothing new here in fact we’ll be using our UDI xml file to replace the network settings later…

Attached Image: monthly_03_2012/post-1-0-16680100-1332445936.png

Select This task sequence will never be used to capture an image

Attached Image: monthly_03_2012/post-1-0-21606200-1332446051.png

select our previously created MDT boot image

Attached Image: monthly_03_2012/post-1-0-38940700-1332446269.png

and our previously created MDT Toolkit Files package

Attached Image: monthly_03_2012/post-1-0-36274700-1332446464.png

Next you get to specify the Windows 7 X64 image we captured in Part 7.

Attached Image: monthly_03_2012/post-1-0-47198300-1332446840.png

specify the Configuration Manager Client upgrade package which we also created in Part 7 (Step 5.).

Attached Image: monthly_03_2012/post-1-0-67536000-1332447125.png

and then specify the USMT 4 package

Attached Image: monthly_03_2012/post-1-0-97049800-1332447274.png

and next we specify our MDT Settings package, have patience we are getting there 🙂

Attached Image: monthly_03_2012/post-1-0-89867600-1332447463.png

click next through to the confirmation message

Attached Image: monthly_03_2012/post-1-0-16526900-1332447637.png

click Finish

Step 5. Edit the Task Sequence to add Language packs
Note: Perform the following on the ConfigMgr 2012 server as SMSadmin

Language pack installation steps are not included in our UDI task sequence, so we have to add those steps, to do so right click on our newly created task sequence and choose Edit

Attached Image: monthly_03_2012/post-1-0-57498800-1332447968.png

scroll down to the Post Install stage and to the Set Status 3 step (which occurs just before the Setup windows and configmgr step). This is where we need to add our new step(s) to install language packs offline.

Attached Image: monthly_03_2012/post-1-0-34441200-1332448258.png

In the top left corner of your task sequence, click on Add, scroll down to MDT and choose Install Language Pack offline, these options are only available after MDT is integrated with ConfigMgr

Attached Image: monthly_03_2012/post-1-0-78926500-1332448473.png

click on Browse and select your Swedish Language pack (or whatever language you are adding)

Attached Image: monthly_03_2012/post-1-0-78732600-1332448696.png

click on the options tab for that step and add the following options, Task Sequence variable UIlanguage equals SV-SE

Attached Image: monthly_03_2012/post-1-0-50653000-1332448920.png

Note: repeat the above process to add a new Install Language Pack Offline step for each Language you want to add, rename each step to correspond to the language you are installing and obviously the SV-SE task sequence variable in the options tab will have to correspond to the correct language, eg DA-DK for Danish etc..

Attached Image: monthly_03_2012/post-1-0-94338500-1332449377.png

click Apply and then ok the save the changes to your Task Sequence.

Step 6. Deploy the Task Sequence
Note: Perform the following on the ConfigMgr 2012 server as SMSadmin

Right click the Task Sequence, choose Deploy

Attached Image: monthly_03_2012/post-1-0-08639300-1332449546.png

choose the Deploy Windows 7 X64 collection

Attached Image: monthly_03_2012/post-1-0-78313600-1332449655.png

set it to Available and make it available to boot media and PXE, continue through the rest of the wizard.

Attached Image: monthly_03_2012/post-1-0-01474800-1332449775.png

once done, add a new virtual machine to your Deploy Windows 7 X64 collection, you can use this process if you wish.

Step 7. PXE Boot a client and review the UDI process
Note: Perform the following on virtual machine as a testuser

After PXE booting our new virtual machine

Attached Image: monthly_03_2012/post-1-0-35231100-1332451357.png

we get to see the list of available task sequences, note the really cool background 😉

Attached Image: monthly_03_2012/post-1-0-16724900-1332451714.png

after some moments of downloading the MDT Toolkit package, the UDI wizard appears !

Attached Image: monthly_03_2012/post-1-0-36697100-1332452101.png

and you can click your way (as a user driven installation is supposed to be done, by the end-user) through the wizard, the first screen after the welcome screen is the BItlocker screen, it’s not enabled as we removed that option

Attached Image: monthly_03_2012/post-1-0-48712000-1332452257.png

next we see the Volume screen, notice that Partition and format disk is selected already, we did that in the UDI Wizard Designer above.

Attached Image: monthly_03_2012/post-1-0-06753800-1332452484.png

This is a new computer so we are not restoring any data, so click next at that screen

Attached Image: monthly_03_2012/post-1-0-84481500-1332452556.png

the Deployment Readiness screen appears, this changes depending on New computer or refresh scenario and just lists the checks it performs you can retry checks in the event that you forgot to connect power to a laptop or whatever..

Attached Image: monthly_03_2012/post-1-0-81321900-1332452770.png

next you get the User Device Affinity screen, enter a primary user if you wish and click next, i guess you could call this the UDI UDA user screen

Attached Image: monthly_03_2012/post-1-0-74084700-1332454639.png

and we can choose domain/OU based on what we entered in our UDI Wizard designer, enter the Domain Join credentials (password) to continue..

Attached Image: monthly_03_2012/post-1-0-54459000-1332454778.png

enter the local administrator password and specify a user (or users) to add to the local administrators group

Attached Image: monthly_03_2012/post-1-0-49484200-1332454900.png

select your language and regional settings, notice how there are as many languages *listed to install* as you added in the UDI Wizard designer

Attached Image: monthly_03_2012/post-1-0-82722900-1332455042.png

for the Install programs screen, you can see the apps we added earlier, you can select or deselect them and click next to continue, cool huh ?

Attached Image: monthly_03_2012/post-1-0-16612600-1332455182.png

click next at the summary and let the installation begin, note how it shows you what stage it’s on via a changing background picture

Attached Image: monthly_03_2012/post-1-0-52968300-1332455392.png

In the next part we’ll review the deployed computer, verify that it is using the correct language settings and applications as defined in the User Driven Installation and see what else we can do with MDT integration in ConfigMgr.

until then, cheers !

niall

This entry was posted in ConfigMgr 2012, MDT 2012. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.