Jump to content


We use cookies to let you log in, for ads and for analytics. OK

Photo

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




  • Please log in to reply
14 replies to this topic

#1 anyweb

anyweb

    Administrator

  • Root Admin
  • PipPipPip
  • 7,210 posts
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager

Posted 30 October 2015 - 06:56 PM

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.

 

Attached File  Deploy Microsoft Surface Pro 4 with MDT 2013 Update 1- October 2015.zip   6.22KB   964 downloads

 

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 !


Microsoft MVP > Enterprise Client Management
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog



#2 chida

chida

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 14 January 2016 - 08:44 AM

How about pen pairing in Surface Pro 4 during deployment, is it the same as for Surface Pro 3 as descibed in your article

 

"https://www.windows-noob.com/forums/topic/11508-how-can-i-add-support-for-pen-pairing-during-oobe-on-a-surface-pro-3-using-system-center-2012-r2-configuration-manager/"



#3 anyweb

anyweb

    Administrator

  • Root Admin
  • PipPipPip
  • 7,210 posts
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager

Posted 01 February 2016 - 06:08 PM

yup it works the same, it just looks different in windows 10 (more polished)


Microsoft MVP > Enterprise Client Management
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog

#4 alou

alou

    Newbie

  • Established Members
  • Pip
  • 3 posts

Posted 15 February 2016 - 03:31 PM

Hi anyweb,

 

I am having this really odd issue with my deployment of Windows 10 (1511) x64 with MDT 2013 Update 1 and Update 2 as well.The deployment wizard windows size on the Surface Pro 4 are really small and I cant seem to make them any bigger except by resizing them. Also, audio drivers are not being injected in Windows. Once deployment is complete Surface Pro 4 is missing the audio drivers. Only way to get the audio drivers installed is to manually update them.

I am attaching pictures just to have a better view of the issues.

 

Any idea how to solve my issues?

 

Thanks!

Attached Images

  • window_size.jpg
  • drivers_missing.png


#5 anyweb

anyweb

    Administrator

  • Root Admin
  • PipPipPip
  • 7,210 posts
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager

Posted 20 February 2016 - 05:43 PM

something is clearly not right, which drivers are you using and did you try my script ?


Microsoft MVP > Enterprise Client Management
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog

#6 alou

alou

    Newbie

  • Established Members
  • Pip
  • 3 posts

Posted 22 February 2016 - 05:27 PM

Hi,

 

first of all thank you for approving and replying to my post.

I need to be honest, I haven't ran the script, but locking at you script I did follow all the instructions, just like I have been doing for years when building images using MDT.

Drivers have been added, selection profiles created and correctly assigned using WMI queries in the task sequence, but I am having the issues I described. For instance, image for Surface Pro 1 works great, just having issues with the Pro 4.

Any clue?

 

Thanks!!



#7 anyweb

anyweb

    Administrator

  • Root Admin
  • PipPipPip
  • 7,210 posts
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager

Posted 22 February 2016 - 06:06 PM

which driver pack are you using ?


Microsoft MVP > Enterprise Client Management
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog

#8 alou

alou

    Newbie

  • Established Members
  • Pip
  • 3 posts

Posted 24 February 2016 - 09:40 AM

SurfacePro4_Win10_160128_0.zip - The one downloaded from MS: https://www.microsof...s.aspx?id=49498

 

I can see all the drivers (including the sound ones) added to the deployment (out-of-box drivers).

drivers_out-of-box.PNG

 

Installing the driver manually once Windows 10 deployment finishes works, which I believe it means that there is nothing wrong with the hardware.



#9 jeffsolberg125

jeffsolberg125

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 15 March 2016 - 02:15 AM

Attempting to deploy Windows 10 to Surface Pro 4 using MDT 2013 SP1. I updated ADK to include Win 10 support on my Build Server. Using WDS and MDT combo.

 

I have had no issue deploying the Surface Pro 3 in my environment deploying Windows 8.1.

 

The issue i am running into is it appears that my WinPE boot images cannot find a storage driver for the SP4. I get all the way into the PXE sequence with no issue. I choose the task sequence I have created for SP4 which points to a selection profile containing the SP4 drivers I got from Microsoft. I imported them into the deployment share i have for the rest of my models i am deploying. I took the 2 network drivers from the SP4.zip and placed them into my WinPE boot image. I then ran an update to my deployment share and re-published the Boot images to the WDS server. 

 

I get all the way through the task sequence selections and it starts the LiteTouch Deployment. As soon as it gets to the task that it formats the disk, the deployment fails with the following error:

 

#################################

## Disk(0) was not found. Unable to continue.

##Possible Cause: Missing Storage Driver.

##################################

Failure (7711 ) Disk OSDiskindex(0) can not be found!

Litetouch deployment failed: Return Code = 214767259 0x80004005

##################################

 

I believe the Surface Pro 4 model that comes with the 128 GIG Drive is a Samsumg MZFLV128 SSD. I have went out to Samsung's site and got the driver for this model and included it in my WinPE boot image along with the MS SP4 drivers and no resolution.  I have spent the better part of today on this. I have seen others successfully deploy the SP4 using MDT but not many. I am hoping someone here can lend a hand. Thanks in advance.

 

-Jeff



#10 fluidmint

fluidmint

    Newbie

  • New Members
  • Pip
  • 2 posts

Posted 15 April 2016 - 07:16 PM

Hi Anyweb,

 

Any chance this could be updated please? I wouldn't want your hard work to be wasted. The drivers/firmware link needs updating. Also I keep getting an error when the script tries to create the task sequence. Could you give me any advice please?

 

Import-MDTTaskSequence : Cannot bind parameter 'OperatingSystemPath' to the target. Exception setting "OperatingSystemPath": "Cannot find path 
'DS001:\Operating Systems\Windows 10 x64\sources\install.wim' because it does not exist."
At E:\Deploy Microsoft Surface Pro 4.ps1:304 char:211
+ ... tingSystemPath "DS001:\Operating Systems\$OSToDeploy\Windows 10 Enterprise in Windows 10 x64 install.wim" -FullN ...
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Import-MDTTaskSequence], ParameterBindingExcept


#11 anyweb

anyweb

    Administrator

  • Root Admin
  • PipPipPip
  • 7,210 posts
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager

Posted 17 April 2016 - 08:23 AM

 

Hi Anyweb,

 

Any chance this could be updated please? I wouldn't want your hard work to be wasted. The drivers/firmware link needs updating. Also I keep getting an error when the script tries to create the task sequence. Could you give me any advice please?

 

Import-MDTTaskSequence : Cannot bind parameter 'OperatingSystemPath' to the target. Exception setting "OperatingSystemPath": "Cannot find path 
'DS001:\Operating Systems\Windows 10 x64\sources\install.wim' because it does not exist."
At E:\Deploy Microsoft Surface Pro 4.ps1:304 char:211
+ ... tingSystemPath "DS001:\Operating Systems\$OSToDeploy\Windows 10 Enterprise in Windows 10 x64 install.wim" -FullN ...
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: ( :) [Import-MDTTaskSequence], ParameterBindingExcept

 

 

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

Microsoft MVP > Enterprise Client Management
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog

#12 fluidmint

fluidmint

    Newbie

  • New Members
  • Pip
  • 2 posts

Posted 17 April 2016 - 05:21 PM

 

 

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.



#13 anyweb

anyweb

    Administrator

  • Root Admin
  • PipPipPip
  • 7,210 posts
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager

Posted 18 April 2016 - 04:26 PM

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)


Microsoft MVP > Enterprise Client Management
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog

#14 pk@ianz

pk@ianz

    Newbie

  • Established Members
  • Pip
  • 5 posts
  • Gender:Male

Posted 28 September 2016 - 01:52 AM

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 ?

 



#15 anyweb

anyweb

    Administrator

  • Root Admin
  • PipPipPip
  • 7,210 posts
  • Gender:Male
  • Location:Sweden
  • Interests:Deploying Operating systems and more with System Center Configuration Manager

Posted 29 September 2016 - 07:06 AM

have you tried with MDT 2013 Update 2 ? and what version of ADK are you using ?


Microsoft MVP > Enterprise Client Management
My linkedin profile at > linkedin.com
Follow me on Twitter > ncbrady
Follow windowsnoob.com on Twitter > windowsnoob
My blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users