Jump to content




anyweb

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



Recommended Posts

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.

Tip: 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

computername being prompted for.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

mdt boot image properties.png

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

prestart commandline before.png

edit it so that it just reads

WScript.Quit(0)

then click apply as in this screenshot

prestart command after.png

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

dp update required.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).

start the UDI wizard designer.png

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

recent document.png

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

BitLocker changes.png

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

New Computer Details.png

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

add domain.png

when the Create or edit Domain Information window pops up

create or edit domain information.png

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

server2008r2 domain name added.png

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

add ou manually.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)

no firewall OU.png

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

server2008r2 details added.png

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

domain join credentials.png

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

add language packs.png

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

user data combo behaviour.png

ok that's us done in the UDI Wizard designer so save your UDIWizard_Config.XML file to the Scripts folder of your MDT Toolkit Files package, and once done don't forget to Update your distribution points for the MDT Toolkit Files package.

update dp for mdt toolkit files.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.

create package language.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)

danish language package details.png

click next and then select Do not create a program

do not create a program.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:-

language packages added.png

Step 4. Create a MDT based 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

create MDT task sequence udi.png

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

 

choose template.png

 

Note: In later versions of Configuration Manager 2012/MDT 2012 the wording in the template is changed from the screenshot above from User Driven Installation Task Sequence to Client Task Sequence and the option to select a User Driven Installation comes from within the Create MDT Task Sequence wizard, specifically when you get to the Deployment Method screen, choose User Driven Installation at that point to get a true UDI task sequence. See screenshot below for that setting.

Perform a User Driven Installation.png

give the task sequence a name like UDI Client Task Sequence

UDI client task sequence name.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...

network and windows details.png

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

mdt udi capture settings.png

select our previously created MDT boot image

mdt boot image udi.png

and our previously created MDT Toolkit Files package

mdt toolkit package udi.png

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

specify existing image.png

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

specify client package.png

and then specify the USMT 4 package

usmt 4 package udi.png

and next we specify our MDT Settings package, have patience we are getting there :-)

mdt settings package udi.png

click next through to the confirmation message

confirmation udi.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

edit udi task sequence.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.

set status 3.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

add mdt step.png

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


install language packs offline step.png

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

uilanguage equals sv-se.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..

install 4 languages.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

deploy ts udi.png

choose the Deploy Windows 7 X64 collection

deploy win7 collection.png

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

availbe udi ts.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

PXE BOOT.png

we get to see the list of available task sequences, note the really cool background ;-)

select udi task sequence.png

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

welcome to the deployment wizard.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

bitlocker screen.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.

volume.png

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

no data to restore.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..

deployment readiness.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

udi uda user.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..

domain join creds.png

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

admin pass.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

language udi.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 ?

install programs udi screen.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

install image.png

and after some time the language pack you selected is installed

Installing swedish language pack.png

and finally when the Deployment is complete you see the following,

deployment complete.png

click on start windows to logon to windows

Swedish Windows :-) job done..

swedish windows.png

cheers !

niall

 

Share this post


Link to post
Share on other sites


No big deal, but perhaps it can save somebody else some time? Everything worked according to instructions - except that the language pack (sv-se) wasn't installed...

 

Turned out I used an old lp.cab file from pre-SP1 days, once it was replaced with the correct one - Voila, right on!

 

And, of course, a big thank you to you Niall!!

  • Like 1

Share this post


Link to post
Share on other sites

Am I missing the option to set things up for UK English?

I couldn't find an option in the UDI Wizard for UK English, so in the end I added a step to the Task Sequence to set InputLocale to "en-GB." That seemed to work for me!

Share this post


Link to post
Share on other sites

Hi

When following the guide CLOSELY, but using rhe latest Win7 x64 SP1

SW_DVD5_SA_Win_Ent_7w_SP1_64BIT_English_-2_MLF_X17-58882.ISO

 

AND Languagepack

SW_DVD5_NTRL_Win_7SP1_64BIT_MultiLang_no_ZHTW_Lang_Pk_X17-19009.ISO

 

from Microsoft Volume Licensing Service Center.

 

The language package install starts, but then skips after a few seconds.

 

We do not get any errors and do not have "Continue on error" set. And the installation is not interrupted or anything. The languagepack just isn't installed.

Do you have any ideas?

Share this post


Link to post
Share on other sites

make sure you've more than 1gb of ram in the computer/vm and read the troubleshooting notes here

Share this post


Link to post
Share on other sites

Hi

Actually todd9774 nailed it for me!!

 

Here it is:

DO NOT point to the lp.cap folder directly.

If your language pack is contained in the in the folder structure \\"servername"\sources\languagepacks\da-dk\lp.cap

you should point to

\\"servername"\sources\languagepacks\

not

\\"servername"\sources\languagepacks\da-dk\

 

BUT be ware; EVERYTHING in the \\"servername"\sources\languagepacks\ folder will be copied to the distibution point!!

So if you want to use one or more languagepacks please do as Niall: create a folder for each language, da, de, ch, etc and put the corresponding language folders da-dk, de-de, etc, in there.

 

\\"servername"\sources\languagepacks\da\da-dk\lp.cap

\\"servername"\sources\languagepacks\de\de-de\lp.cap

 

THEN point to the da, de, etc.folders in the individual packages in System Center.

 

\\"servername"\sources\languagepacks\da\da-dk\lp.cap

\\"servername"\sources\languagepacks\de\de-de\lp.cap

 

 

Works like a charm

/Thomas Ehler

  • Like 1

Share this post


Link to post
Share on other sites

Hi

When re-deploying a workstation that has failed, the "Unknown" workstation in "Devices" just stays there.

It doesn't move into "All Unknown Computers" or another collection.

In other words it is now "known" but not a member of any collection so it will not be offered any installation.

 

WHAT to do?

Share this post


Link to post
Share on other sites

I have a problem with getting the client to join the domain through the UDI.

 

I have double-checked all the settings and can't fin anything different from this guide. Also it does not install my applications.

However if i join the domain manually everything is as it should be.

 

Any ideas?

  • Like 1

Share this post


Link to post
Share on other sites

I couldn't find an option in the UDI Wizard for UK English, so in the end I added a step to the Task Sequence to set InputLocale to "en-GB." That seemed to work for me!

 

Could you expand on how you did that please?

Share this post


Link to post
Share on other sites

I have been looking for a solution to generate computernames like this, companypc001, companypc002, companypc003 how can you do this?

Or even to give the computername to enter the computername in an unattend.xml before the deployment would be fine, but how do you add this unattend then to your task sequence?

 

I know about adding an unattend for changing keyboard settings has to be added to apply operating system image.

There must be a simple way to do this not?

I cant image that companies with 1500 pc's are going to every pc and manually enter the computername... :/

 

This is my first time using SCCM, sorry if my questions are too simple...

 

 

edit.: Is this the final guide? No ZTI guide? Or is that one coming in a different subforum on this site?

sccm2012, MDT2012, W7, ZTI?

  • Like 1

Share this post


Link to post
Share on other sites

Since you show the Install Programs during the windows-noob.com UDI Wizard, it would have been nice/consistent by adding a few screenshots and description of how you added those two Applications.

Share this post


Link to post
Share on other sites

Since you show the Install Programs during the windows-noob.com UDI Wizard, it would have been nice/consistent by adding a few screenshots and description of how you added those two Applications.

 

take a look at the previous part (Part 17) here, it covers adding those two applications

Share this post


Link to post
Share on other sites

Hi thanks for the great walk through above.

 

I am using MTD12 and SCCM 07. I have sucessfully built the UDI Task Sequence as above and am deploying it using stand alone media when I get to the enter the Domain Join credentials it says unable to access the Domain.

All the domain details are correct in the designer.

 

It allows me to skip this and select Join Workgroup but then end eith Error in Task sequence error (0x0000001)

 

Has anyone else come accross this?

Share this post


Link to post
Share on other sites

Hi thanks for the great walk through above.

 

I am using MTD12 and SCCM 07. I have sucessfully built the UDI Task Sequence as above and am deploying it using stand alone media when I get to the enter the Domain Join credentials it says unable to access the Domain.

All the domain details are correct in the designer.

 

It allows me to skip this and select Join Workgroup but then end eith Error in Task sequence error (0x0000001)

 

Has anyone else come accross this?

 

I have now got this all working. I recreated the BootImage and the take sequence again. It looks like I must have skipped over one of the steps the first time around.

Share this post


Link to post
Share on other sites

I'm running into some issues and could use a little help if possible. Currently I have Systems Center 2012 and MDT 2012 Integrated. I'm having issues getting the language and regional settings to apply. I've followed this post exactly and a few others on troubleshooting, but can't seem to figure out why it doesn't work. When I change all the drop downs on the regional settings menu to a language that I have setup with a language pack in the Task sequence. The only thing that changes is the Time Zone. The Language pack I choose I can see it trying to run the install during imaging, but after image completion nothing is applied except the Time and the Language pack didn't get installed. Any help would be appreciated. Thanks

 

Also how can I get that Deployment Complete pop up window to come up in my Task Sequence?

 

ZTIPatches.LOG

 

Microsoft Deployment Toolkit version: 6.0.2223.0 ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

The task sequencer log is located at X:\windows\TEMP\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log. ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

ZTIPatches Entered PREINSTALL state. Deployment Method = SCCM ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

Operating system being deployed requires x86 updates. ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

Pre-Install setup installation state. ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

Load XML.... ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

Packages.xml not found. Creating Packages.xml ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

Creating new Package: C:\_SMSTaskSequence\packages.xml ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

About to run command: expand "C:\_SMSTaskSequence\Packages\DEV000DF\fr-fr\lp.cab" -F:update.mum "C:\_SMSTaskSequence\ZTIPatches.tmp" ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

Command has been started (process ID 1644) ZTIPatches 8/15/2012 1:11:27 PM 0 (0x0000)

Return code from command = 0 ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Create Package Item : Microsoft-Windows-Client-Refresh-LanguagePack-Package ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Unable to find the Packages.xml file, assuming there are no packages to inject. ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Adding non-language pack entries to unattend.xml ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Open Control File: Packages ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Adding language pack entries to unattend.xml ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Nothing to save, exit. ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Language pack entries added to unattend.xml successfully ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

About to run command: dism.exe /Image:C:\ /Apply-Unattend:"C:\WINDOWS\panther\unattend\unattend.xml" /ScratchDir:C:\_SMSTaskSequence\Scratch /LogPath:X:\windows\TEMP\SMSTSLog\ZTIPatches_DISM.log ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Command has been started (process ID 1416) ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Console > Deployment Image Servicing and Management tool ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Console > Version: 6.1.7600.16385 ZTIPatches 8/15/2012 1:11:28 PM 0 (0x0000)

Console > Image Version: 6.1.7601.17514 ZTIPatches 8/15/2012 1:11:30 PM 0 (0x0000)

Console > The operation completed successfully. ZTIPatches 8/15/2012 1:11:30 PM 0 (0x0000)

Return code from command = 0 ZTIPatches 8/15/2012 1:11:30 PM 0 (0x0000)

Remove Folder: C:\_SMSTaskSequence\Scratch ZTIPatches 8/15/2012 1:11:30 PM 0 (0x0000)

ZTIPatches processing completed successfully. ZTIPatches 8/15/2012 1:11:30 PM 0 (0x0000)

Share this post


Link to post
Share on other sites

Thank you for the awesome tutorials, they've helped us a lot in moving forward with sccm 2012.

We want to run the same task sequence to capture data for USMT and then run the same task sequence for to restore the data on a new machine. It was my impression that the first part of UDI wizard was to determine which type of setup to run (replace, refresh, new computer). How do you set these guidelines?

Edit1: figured out that you have to set up a different TS :)

Share this post


Link to post
Share on other sites

Doesn't seem to matter what image I choose in the UDI. it still picks the image specified when I created the UDI task sequence. I thought the UDI was supposed to take precedence over what image is chosen when you create the TS. It's quite annoying. Anybody know how to fix this?

Share this post


Link to post
Share on other sites

I use a 64bit MDT boot image that boots to a UDI Task sequence. I'm curious, there is a volume selection within the task sequence and also within the config xml, where you can select volume. It always deploys the OS within the task sequence, no matter what I deploy through the UDI Task sequence. Should I get rid of the "apply OS" portion in the TS?

Share this post


Link to post
Share on other sites

I'm having a frustration issue with this. I edit the UDIWizard_Config.xml file to my specs, save it, update the MDT Settings Package, but it always defaults back to the orginal Wizard. I verified my changes are being saved and also checked the Content Status under Monitoring and my DP is updating the package, but it is using the default Wizard. Has anyone run into this issue?

 

Ok I just realized the problem, I was updating the Settings package and not the Toolkit!.. Ugh!!!

Edited by rsarnold1s
  • Like 1

Share this post


Link to post
Share on other sites

Hi,

 

when I run the UDI Client Task Sequence in PXE mode, the Wizard will not take the conifgured UDIWizard_Config.xml. It takes a standard configuration But I updated the package to the DP. Could you tell me where I can find the problem!?

 

BR!

 

UPDATE: Sorry but after I updated the DP several times it worked now for me!

Share this post


Link to post
Share on other sites

I've run through this lab and just can't get it to work.

 

I keep getting the same error shortly after the TS launches : Failed iwth Error code (0x800700A1)

Looking at the logs I find this: Failed to Run action : Use Toolkit Package : Specified path is invalid.... seems obvious enough but not :(

Checked package is distributed , repushed just in case, all good there. FQDN is fine from the client. I think this error is on the machine been built that it can't find the path locally and the package which should of been downloaded. Any idea what location this should be or even how to resolve the issue?

Share this post


Link to post
Share on other sites

post your smsts.log and i'll take a look

which version of MDT have you integrated ?

Share this post


Link to post
Share on other sites

post your smsts.log and i'll take a look

which version of MDT have you integrated ?

 

Thnx Niall, but I gave up on it after a lot of frustration and looked into doing it a different way, so don't have logs etc to go through.

Share this post


Link to post
Share on other sites

Is there a way to have a computer description field in MDT 2012 UDI Wizard? so that information would populate the AD, computer object's computer description field.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×