Fixing sysprep in MDT 2013 Update 1 for Windows 10 Build 10041

Posted: March 23, 2015 in Microsoft Deployment Toolkit, Windows 10
Tags: ,

Microsoft released a preview of MDT 2013 Update 1 to support Windows 10 and it’s working fine with build 9926.

Build 10041 was released to the fast ring as an update last week and as previously stated by Microsoft no updated ISO will appear before it’s released to the slow ring.

Johan Arwidmark posted an article on how to create your own ISO from Build 9860 update and this still works for Build 10041 as I tweeted last week.. (Also and updated article is posted here)

I created the ISO, imported Windows 10 Build 10041 into MDT and was ready to do and build and capture with MDT.
1

Everything looked fine until it came to the Sysprep step, where it failed with the following error Messages;
4

5

By looking at the LTISysprep.wsf, we can see that script check for If oEnvironment.Item(“OSCurrentBuild”) >= “6000” two places (under these two sections “Prepare for running Sysprep” and “Run the appropriate Sysprep based on the OS Version”) and this worked for previous build as it was 9926, but now it’s 10041 and it doesn’t hit this rule, so sysprep will fail.
2

3

So I edited LTISysprep.wsf and added or oEnvironment.Item(“OSCurrentBuild”) >= “10041” to the two places as shown below
8

9

Now the build and capture task sequence completed with no issues.

6 7

Advertisements
Comments
  1. winoutreach2 says:

    Official updates to the scripts (not just LTISysprep.wsf) have been released by the MDT team. See:

    http://blogs.technet.com/b/msdeployment/archive/2015/03/28/mdt-updates-for-windows-10-technical-preview-build-10041.aspx

    Brandon
    Windows Outreach Team- IT Pro
    Windows for IT Pros on TechNet

  2. Awesome, found this on build 10240

  3. Roger says:

    Unfortunately this article is no longer relevant as the current build is 10.0.10586.0
    Sysprep still doesn’t work in this current build and there is no longer a script line called If oEnvironment.Item(“OSCurrentBuild”) >= “6000”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s