Jump to content


anyweb

How can I deploy Windows 10 Enterprise x64 with MDT 2013 Update 1 integrated with System Center 2012 R2 SP1 Configuration Manager ?

Recommended Posts

In a previous post I showed you how you can upgrade System Center 2012 R2 Configuration Manager to System Center 2012 R2 SP1 Configuration Manager with MDT 2013 Update 1 integrated. If you haven't upgrade ConfigMgr yet then I urge you to do so before starting this post.

 

In this post I'll show you how you can deploy a clean build of Windows 10 Enterprise x64 by using the official media from Microsoft in a MDT integrated task sequence in ConfigMgr. Before we can do that however we need to create a bunch of new MDT content by creating a new MDT 2013 Update 1 task sequence and choosing from the available options to create the new MDT Toolkit and MDT Settings packages. In addition, we will create a new MDT 2013 Udpate 1 boot image (x64).

 

Note: I should point out that there were some bugs in the initial release of MDT 2013 Update 1 which were excellently documented by Johan here. However, Microsoft has released a new version of MDT 2013 update 1 (September 15th 2015) as documented here and it should resolve most of those bugs.

 

Step 1. Get the Windows 10 Enterprise x64 media

I used the Windows 10 Enterprise x64 media from MSDN available here which i then mounted in Windows File Explorer. After mounting the ISO, copy the contents to somewhere useful like \\server2012\sources\os\os_media\windows 10 x64

 

windows 10 media.png

 

Step 2. Add a Windows 10 x64 image

To add the operating system do as follows. In the ConfigMgr console, select Software Library, then Operating Systems then Operating System Images. Right click and choose Add Operating System Image.

 

add operating system IMAGE.png

 

Point it to the install.wim file in the sources folder of the Windows 10 Enterprise x64 media you added in Step 1.

 

\\server2012r2\sources\os\os_Media\Windows 10 x64\sources\install.wim

 

and fill in some details about the image and continue through the wizard until completion.

 

Step 3. Distribute the Windows 10 image to your dps

Right click the newly added image, choose Distribute Content, and continue through that wizard.

 

distribute wim.png

 

Step 4. Create MDT Task Sequence

In order to create our new packages (MDT Toolkit and MDT Settings) we need to go through the Create new mdt task sequence wizard. To start that, in the ConfigMgr console click on Software Library, Operating Systems, Task Sequences, right click and choose Create MDT Task Sequence.

 

create mdt task sequence.png

 

Choose Client Task Sequence from the list of available options

 

Client task sequence.png

 

For task sequence name, use Deploy Windows 10 x64

 

mdt task sequence name.png

 

For Details, enter the domain join details, then enter any Windows settings, and lastly enter a Local administrator password in case you decide to deploy this task sequence later and it fails before joining the domain.

 

Details.png

 

For Capture Settings, select This task sequence will never be used to capture an image

 

no capture.png

 

For Boot Image select the second option, this will allow you to create one of the two architecture MDT boot images, specify a suitable source such as \\sccm\sources\os\MDT\MDT 2013 Update 1\WinPE 10(x64) which will be created later by this wizard.

 

boot image path.png

 

for the Boot Image General Settings use the following values:

  • Name: MDT 2013 Update 1 boot image (x64)
  • Version: 10.0.10240.16384
  • Comment: WinPE10

boot image general settings.png

 

select x64 architecture

 

architecture.png

 

for Components, leave the selection as is (there is a bug related to this)

 

components.png

 

For the Customization step let's point it to some preconfigured Extrafiles, basically in the extrafiles folder we create a folder called Windows and in that folder place a text file called smsts.ini which has the following contents

[Logging]
LOGLEVEL=0
LOGMAXSIZE=524288000
LOGMAXHISTORY=3
DEBUGLOGGING=1
CCMDEBUGLOGGING=1

this will enable better logging in WinPE as per this blog post.

 

customization.png

 

For the MDT Package step, not you have the ability to create the new MDT 2013 Update 1 MDT Toolkit Package, by selecting the Create a New Microsoft Deployment Toolkit Package option. For the Package source option use something like

 

\\sccm\sources\os\mdt\MDT 2013 Update 1\MDT Toolkit

 

MDT Package.png

 

for MDT Details use the following settings:

  • Name: MDT Toolkit
  • Version: 2013 Update 1
  • Language
  • Manufacturer: Microsoft
  • Comments

MDT Details.png

 

For OS Image, select Specify an existing OS image and browse to the previously added Windows 10 Enterprise x64 image.

 

specify an existing os image.png

 

For Deployment Method you get to choose the type of task sequence interaction will be used, if you want your users to have choices then select the UDI option, otherwise select the Zero Touch option to remove choices from the task sequence. In this guide we will select Perform a Zero Touch Installation OS Deployment with no user interaction.

 

deployment method.png

 

for Client Package, select Specify an existing ConfigMgr client package and browse to the one you wish to use.

 

specify client package.png

 

for USMT Package select the User State Migration Tool for Windows 10 package which we renamed in this post.

 

usmt package.png

 

For Settings Package, we need to create our new MDT 2013 Update 1 settings package, therefore select the second option. You only have to do this once, and that is when you upgrade to a new version of MDT. Select Create a new settings package and fill in the path to be created as shown below something like \\sccm\sources\os\mdt\MDT 2013 Update 1\MDT Settings

 

settings package.png

 

for Settings Details use the following settings:

  • Name: MDT Settings
  • Version: 2013 Update 1
  • Language
  • Manufacturer: Microsoft
  • Comments

settings details.png

 

for Sysprep Package, set No sysprep package to use and continue through to the end of the wizard.

 

no sysprep.png

 

off it goes creating the Boot Image

 

creating boot image.png

 

and after a while you'll get a process completed successfully message (hopefully).

 

process completed.png

 

close the wizard.

 

Step 5. Distribute the new MDT Toolkit and MDT Settings packages

Open the ConfigMgr console, and press F5 or refresh the view to see the newly created packages. Select both of the MDT packages, right click and choose distribute content, continue through that wizard until completion.

 

distribute mdt packages.png

 

Step 6. Edit the boot image settings.

Browse to Software Library, Operating Systems, Boot images and select the MDT 2013 Update 1 boot image x64. Right click and choose Properties, and select the Data Source tab. Place a checkmark in Deploy this boot image from a PXE enabled distribution point.

 

deploy this boot image.png

 

Next select the Optional Components tab and select the yellow starburst to add any new Optional Components that you want in the boot wim including Database (WinPE-MDAC) which was not included due to a bug.

 

optional components.png

 

click Apply and answer no to the Distribute content to dp's now question

 

no.png

 

close the wizard when done.

 

Step 7. Distribute the new MDT 2013 Update 1 boot image

Browse to Software Library, Operating Systems, Boot images and select the MDT 2013 Update 1 boot image x64. Right click and choose Distribute Content, continue through that wizard until completion.

 

boot wim distributed.png

 

Step 8. Deploy the task sequence

Browse to Software Library, Operating Systems, Task Sequences and select the Deploy Windows 10 x64 task sequence. Right click and choose Deploy and use the following settings

 

For the General screen choose a suitable OSD Deploy collection

 

deploy ts general.png

 

for Deployment Settings make sure it is set to Available and deployed to Only media and PXE

 

only media and pxe.png

 

continue through the rest of the wizard until completion

 

ts deployed.png

 

Note: Once you've deployed the task sequence, you may have to set the Deployment available date back a day otherwise it won't show up due to a bug. This ConfigMgr bug is set to be fixed in CU2.

 

deployment scheduling.png

 

Step 9. PXE boot a VM to experience the changes

Now everything is in place for testing a deployment of Windows 10 using an MDT 2013 Update 1 integrated task sequence in Configuration Manager. Simply PXE boot a computer that is a member of the OSD Deploy collection.

 

While PXE booting, you can verify that the WIM file it's pulling down is indeed your newly created MDT 2013 update 1 boot image by looking at the boot image package id.

 

winpe wim.png

 

It should match the Image ID column beside your new boot wim

 

boot image package id.png

 

if it doesn't then you are probably booting from a different task sequence or there are problems with the content of the MDT boot image.

 

Once the boot image has loaded you'll see the new Microsoft Deployment Toolkit background, and the new Windows PE 10 PXE password prompt

 

mdt pxe booted.png

 

and you see the list of Task Sequences, if your's doesn't show up, verify the deployment scheduling date as mentioned above.

 

list of task sequences.png

 

select the Deploy Windows 10 x64 and click next

 

and off it goes...

 

mdt 2013 update 1.png

 

running Windows Setup

 

And we are done.

 

windows 10 done.png

 

In a later post i'll guide you through adding drivers to the task sequence, until next time adios.

 

Recommended reading

  • Like 1

Share this post


Link to post
Share on other sites

Do you still need to remove AutoLogon and FirstLogonCommands from the Unattend.xml after the re-released MDT 2013 Update 1 (8298)? In your guide you said that Johan had said to remove them in his MDT Update 1 upgrade guide, but i dont see it there, so I can only assume that he removed it when the re-release came out because it was no longer needed?

Share this post


Link to post
Share on other sites

I installed 8298 last night on my MDT Server and on my SCCM Server, and I created a new MDT Based Task Sequence in SCCM (as recommended by the re-release post from Microsoft). When trying to image a system with my Windows 10 Image, the system installs ConfigMgr and then reboots and goes through the "setting up services" first boot/sysprep setup area. Then it continues setting up ConfigMgr and I get the error "Cannot find script file X:\LTIBootstrap.vbs". So I assumed it was related to the options you said to remove from the Unattend since that script is referenced in the FirstLogonCommands section which you said to remove.

 

I tried creating a new Settings package thinking that maybe it would be different after 8298, but i still get that error. Ill remove the sections from the unattend.xml and see if it makes a difference, but im not 100% sure my error is related to that unattend.xml.

Share this post


Link to post
Share on other sites

Multiple issues related to XML processing:

  • Application bundles returning error 87
  • Selecting a keyboard locale in the Deployment Wizard
  • Deployments failing due to Unattend.xml errors
  • ZTIPatches returning error "Object required (424)"
  • Cleanup after image capture doesn't remove LTIBootstrap entry

which should cover the error above (which i've removed from the post),

so, make sure that after you've updated the version that you also update the new packages to your distribution points otherwise they'll still be using the old source.

Share this post


Link to post
Share on other sites

Hi,

I am running SCCM 2012 R2 Sp1 CU2 and getting the error below:

 

The Windows Boot Configuration Data file does not contain a valid Operating system entry.

Ensure that the server has boot images installed for this architecture.

error 0x0000098

 

Any ideas?

 

I checked my SMSPXE.log and it was showing errors:

PXE::MP_InitializeTransport failed; 0x80004005 SMSPXE

PXE::MP_LookupDevice failed; 0x80004005 SMSPXE

PXE::MP_InitializeTransport failed; 0x80004005 SMSPXE

PXE::MP_ReportStatus failed; 0x80004005 SMSPXE

PXE Provider failed to process message.

Unspecified error (Error: 80004005; Source: Windows) SMSPXE

 

I checked DP properties for certificate under the general tab.

Create self signed certificate was selected, I just specified to use a PKI certificate instead of a self-signed certificate. Now PXE boot works.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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.