Jump to content


  • 0
anyweb

How can I deploy Windows 10 x64 to the Microsoft Surface Pro 4 using MDT 2013 Update 1

Question

Introduction

In a previous post I've shown you how you can deploy Windows 10 x64 to the Surface Pro 3 with MDT 2013 Update 1 using a PowerShell script. Now that the Surface Pro 4 is released it's time to automate that installation also, so here we go !

 

surface-pro-4-press-970-80.jpg

 

The PowerShell script is to be run on your soon-to-be MDT server and it will create everything for you, all you have to do is supply it with an OS (Windows 10 x64) and optionally some apps, drivers or even the Windows ADK 10. Fear not, if you don't have the Surface Pro 4 drivers or Windows ADK 10 then the script will download them for you.

 

Download the script

You can download the script here, then unzip it.

 

Deploy Microsoft Surface Pro 4 with MDT 2013 Update 1- October 2015.zip

 

To use the script simply adjust the many variables within to suit your needs, the one you'll probably want to change first is

$SourcePath = "E:\Source"

followed by the CustomSettings.ini variables starting at line 310 as shown here...

 

customsettings ini.png

 

then the BootStrap.ini variables on line 386 and onwards as shown here..

 

bootstrap.png

 

Once done, copy Windows 10 X64 Enterprise to the specified folder

 

copy windows 10 enterprise to.png

 

and decide if you want the script to download the following:

 

  • Windows ADK 10
  • MDT 2013 Update 1
  • Surface Pro 4 drivers
  • Surface Ethernet adapter driver
  • Surface Gigabit Ethernet adapter driver

 

If you do NOT want the script to automatically download the above content, then manually copy the files to the location specified in the script

 

drivers and adk 10 downloaded.png

 

If you place the files listed above in the wrong folder or use a different name than specified in the script, then the script will attempt to download them again.

 

When you are ready to test the script, run it by starting Windows PowerShell ISE as Administrator.

 

run ISE as administrator.png

 

The script will automatically configure Windows ADK 10 and MDT 2013 Update 1. In addition, it will install Windows Deployment Services and after configuring the MDT DeploymentShare it will import the x64 boot image into WDS.

 

The x64 boot image in MDT 2013 Update 1 will have both the Surface Pro 4 100mb and gigabit network drivers injected. If you want to remove with, simply rem out the line in the script.

 

The script will import all drivers for the Surface Pro 4 into the MDT 2013 Update 1 deployment workbench.

 

Once the script is complete you should see something like the following screenshot

 

script is complete.png

 

you can go ahead and launch the MDT 2013 Update 1 deployment workbench to review what has happened. Here you can see the drivers imported for the Surface Pro 4.

 

sp4 drivers in mdt.png

 

Opening the task sequence reveals the Inject Drivers step for the Surface Pro 4 containing the WMI query needed

 

sp4 drivers in the task sequence.png

 

after you are done admiring what it's put in place, it's time to UEFI network boot your Surface Pro 4 and enjoy the show

 

install SP4 via mdt.png

 

Related Posts

Until next time, adios !

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

 

 

i'm updating it now and will post a new blog post shortly, but in the mean time look for the line that contains this string

 "$SourcePath\Operating Systems\$OStoDeploy"

and change it to

 "$SourcePath\Operating System Images\$OStoDeploy"

then run it again, should work

 

and depending on the version of Windows 10 you are deploying (1507 or 1511) read the change below, the above script was only tested with Windows 10 x64 - 1507, therefore if you use Windows 10 x64 - 1511 (original november release) it would fail, the below will resolve that.

# use this line for Windows 10 1507
# import-mdttasksequence -path "DS001:\Task Sequences\$OStoDeploy" -Name "Deploy $OStoDeploy - Surface Pro 4" -Template "Client.xml" -Comments "(c) windows-noob.com" -ID "001" -Version "1.0" -OperatingSystemPath "DS001:\Operating Systems\$OSToDeploy\Windows 10 Enterprise in Windows 10 x64 install.wim" -FullName "windows-noob" -OrgName "windows-noob.com" -HomePage "http://www.windows-noob.com"-AdminPassword "P@ssw0rd" -Verbose
# Use this line for Windows 10 1511
import-mdttasksequence -path "DS001:\Task Sequences\$OStoDeploy" -Name "Deploy $OStoDeploy - Surface Pro 4" -Template "Client.xml" -Comments "(c) windows-noob.com" -ID "001" -Version "1.0" -OperatingSystemPath "DS001:\Operating Systems\$OSToDeploy\Windows 10 Enterprise Technical Preview in Windows 10 x64 install.wim" -FullName "windows-noob" -OrgName "windows-noob.com" -HomePage "http://www.windows-noob.com"-AdminPassword "P@ssw0rd" -Verbose

If however you are using the Windows 10 x64 - 1511 media that was updated to February 2016 (availabe on Microsofts volume license site) then use the first import statement and rem out the second, like so.

# use this line for Windows 10 1507, or updated Windows 10 1511 media from Feb 2016
import-mdttasksequence -path "DS001:\Task Sequences\$OStoDeploy" -Name "Deploy $OStoDeploy - Surface Pro 4" -Template "Client.xml" -Comments "(c) windows-noob.com" -ID "001" -Version "1.0" -OperatingSystemPath "DS001:\Operating Systems\$OSToDeploy\Windows 10 Enterprise in Windows 10 x64 install.wim" -FullName "windows-noob" -OrgName "windows-noob.com" -HomePage "http://www.windows-noob.com"-AdminPassword "P@ssw0rd" -Verbose
# Use this line for original Windows 10 1511 media
# import-mdttasksequence -path "DS001:\Task Sequences\$OStoDeploy" -Name "Deploy $OStoDeploy - Surface Pro 4" -Template "Client.xml" -Comments "(c) windows-noob.com" -ID "001" -Version "1.0" -OperatingSystemPath "DS001:\Operating Systems\$OSToDeploy\Windows 10 Enterprise Technical Preview in Windows 10 x64 install.wim" -FullName "windows-noob" -OrgName "windows-noob.com" -HomePage "http://www.windows-noob.com"-AdminPassword "P@ssw0rd" -Verbose

Still the same error message I'm afraid.

Share this post


Link to post
Share on other sites

  • 0

did you see my new blog post here, as regards your current failure message i'd need to see the entire output from the script, can you post it please ? (copy/paste save as a txt file and attach)

Share this post


Link to post
Share on other sites

  • 0

Hi Niall,

 

I am tryign to deploy an captured OS image to SP4 via MDT 2013 (Update 1). I am getting the below error:

 

FAILURE ( 5624 ): 1392: Run DISM: /Apply-Image /ImageFile:"\\WDS\SP4Sept2016$\Operating Systems\WIN10Ver1607x64\WIN10Ver1607x64.wim" /Index:1 /ApplyDir:E: LTIApply 28/09/2016 2:06:04 p.m. 0 (0x0000)
Event 41002 sent: FAILURE ( 5624 ): 1392: Run DISM: /Apply-Image /ImageFile:"
\\WDS\SP4Sept2016$\Operating Systems\WIN10Ver1607x64\WIN10Ver1607x64.wim" /Index:1 /ApplyDir:E: LTIApply 28/09/2016 2:06:04 p.m. 0 (0x0000)
Command completed, return code = -2147467259 LiteTouch 28/09/2016 2:06:05 p.m. 0 (0x0000)
Litetouch deployment failed, Return Code = -2147467259 0x80004005 LiteTouch 28/09/2016 2:06:05 p.m. 0 (0x0000)
Event 41014 sent: Litetouch deployment failed, Return Code = -2147467259 0x80004005 LiteTouch 28/09/2016 2:06:05 p.m. 0 (0x0000)

 

I can deploy Surface Pro 3 without any issues but only get the above error for Surface Pro 4. Any idea ?

 

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
Answer this question...

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