Jump to content




anyweb

Updated Powershell script with June 2015 drivers for deploying the Surface Pro 3 with MDT 2013



Recommended Posts

On June 25th, Microsoft released another driver update for the Surface Pro 3 here. As usual, i've updated my PowerShell script to allow you to deploy this awesome device using minimal effort via a MDT 2013 solution all built with PowerShell.

 

running the powershell script.png

 

I've updated the script somewhat to include a few more variables to allow for easily changing the source drivers going forward, to change them simply input the correct values for the following variables:

 

new vars.png

 

You don't need to change this script now however, just download it, and run it on a Windows Server 2012 R2 in Windows PowerShell ISE as administrator, the script will do the rest.

 

script running.png

 

If you want to know how the script works then please see this post for more details. When the script is finished running it should look like this.

 

all complete.png

 

you can review the installation of MDT 2013 which it has created for you complete with all the June 2015 drivers for the Surface Pro 3 by opening up the Deployment Workbench and seeing for yourself.

 

MDT deployment workbench.png

 

which means you can PXE boot a Surface Pro 3 straight away and start imaging it

 

deploying it with mdt.png

 

The actual driver updates are listed below

FIRMWARE:

EC 38.7.50.0 ECFirmware.inf
SAM 3.9.350.0 SamFirmware.inf
TOUCH 426.27.66.0 TouchFirmware.inf
UEFI 3.11.950.0 UEFI.inf

DRIVERS:

Accessory SurfaceAccessoryDevice 2.0.1012.0 SurfaceAccessoryDevice.inf
Accessory SurfaceCoverAudio 2.0.722.0 SurfaceCoverAudio.inf
Accessory SurfaceCoverClick 2.0.375.0 SurfaceCoverClick.inf
Accessory SurfaceCoverTelemetry 2.0.722.0 SurfaceCoverTelemetry.inf
Accessory SurfaceTouchCover 2.0.722.0 SurfaceTouchCover.inf
Accessory SurfaceTouchCover2FwUpdate 2.0.722.0 SurfaceTouchCover2FwUpdate.inf
Accessory SurfaceTouchCoverFwUpdate 2.0.722.0 SurfaceTouchCoverFwUpdate.inf
Accessory SurfaceTypeCover 2.0.1193.0 SurfaceTypeCover.inf
Accessory SurfaceTypeCover2FwUpdate 2.0.722.0 SurfaceTypeCover2FwUpdate.inf
Accessory SurfaceTypeCoverFwUpdate 2.0.722.0 SurfaceTypeCoverFwUpdate.inf
Accessory SurfaceTypeCoverV3FwUpdate 2.0.1021.0 SurfaceTypeCoverV3FwUpdate.inf
Accessory SurfaceWirelessAdapter 1.0.1.0 SurfaceWirelessAdapter.inf
Audio DockingStationAudioDevice 1.31.35.7 msdokub.inf
Audio HdAudio 6.0.1.7198 HDXMSSDS1.inf
Camera LifeCam 5.20.1034.0 TrueColor.inf
Display DisplayAudio 6.16.00.3172 IntcDAud.inf
Display Graphics 10.18.14.4170 64dp4170.inf
Display SurfaceDisplayCalibration 2.0.1002.0 SurfaceDisplayCalibration.inf
Network Bluetooth 15.68.3091.193 mbtr8897w81x64.inf
Network SurfaceEthernetAdapter 8.10.0830.2013 msu64w8.inf
Network SurfaceGigabitEthernetAdapter 8.14.0704.2014 msu30x64w8.inf
Network WiFi 15.68.3091.193 mrvlpcie8897.inf
Pen SurfacePen 1.0.13.0 SurfacePen.inf
Pen SurfacePenSettingsDriver 4.0.112.1 SurfacePenDriver.inf
System CapacitiveHomeButton 2.0.1179.0 SurfaceCapacitiveHomeButton.inf
System CardReader 6.2.9200.30164 RtsUStor.inf
System GPIO 1.1.165.1 iaLPSS_GPIO.inf
System I2C 1.1.165.1 iaLPSS_I2C.inf
System LowPinCount 9.4.0.1023 LxLpCore.inf
System ManagementEngine 9.5.24.1790 heci.inf
System SATA_AHCI 9.4.0.1023 LxLpAHCI.inf
System SMBus 9.4.0.1023 LxLpSMB.inf
System SurfaceIntegrationDriver 2.0.1182.0 SurfaceIntegrationDriver.inf
System SurfacePciController 2.0.1151.0 SurfacePciController.inf

 

Download the script

 

Here's the script, download it, unzip, run it in Windows PowerShell ISE.

 

Setup MDT 2013 for Microsoft Surface Pro 3 - June 2015.zip

 

enjoy !

cheers

niall


 

 

 

Share this post


Link to post
Share on other sites


Hello,

 

I am so happy i came across these scripts.

I am trying this one, however upon entering in the new Driver release date 160128 , i get a 404 it can not find the file.. also 404 errors for the pen drivers..

 

I edited the file (all my stuff is on C:\ in a test lab right now)

 

$DriverReleaseDate = "160128"

$SourcePath = "C:\Source"
using that version based on the MS site.
ffr1MXS.png

 

 

Downloading Surface Pro 3 160128 drivers..Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."

At C:\Source\Setup MDT 2013 for Microsoft Surface Pro 3 - June 2015-org.ps1:115 char:3
+ $clnt.DownloadFile($url,$file3)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( :) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
done!
unzipping C:\Source\SurfacePro3_160128.zip You cannot call a method on a null-valued expression.
At C:\Source\Setup MDT 2013 for Microsoft Surface Pro 3 - June 2015-org.ps1:125 char:9
+ $destination.Copyhere($zip_file.items(), 0x14)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ( :) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
done!
Downloading Surface Pro 3 pen drivers..Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At C:\Source\Setup MDT 2013 for Microsoft Surface Pro 3 - June 2015-org.ps1:136 char:3
+ $clnt.DownloadFile($url,$file4)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ( :) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
done!
unzipping C:\Source\SurfacePro3PenDriverOct62014.zip You cannot call a method on a null-valued expression.
At C:\Source\Setup MDT 2013 for Microsoft Surface Pro 3 - June 2015-org.ps1:146 char:9
+ $destination.Copyhere($zip_file.items(), 0x14)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: ( :) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Edited by SysIT

Share this post


Link to post
Share on other sites

I will start this with I am no power shell pro, only going by what I see in errors.

 

I managed to get the files missing, i also adjusted the script manually, in this one you do have the SurfacePro2 URL hard coded:

$DriverReleaseDate = "160128"
$DriverReleaseURL = "http://download.microsoft.com/download/2/0/7/2073C22F-2F31-4F4A-8059-E54C91C564A9/SurfacePro3_150623.zip"
$SourcePath = "C:\Source"

 

So even editing the $DriverReleaseDate it looks for the 150623 instead. So i edited
 $file3 = $SourcePath+"\SurfacePro3_Win8x_160128_0.zip"

and hardcoded the file name

 

 

So now i got past that first part, things run and then i get a bunch more errors - does the script not create the folders it needs I think you had noted?

ERBOSE: Import processing finished.
import-mdtdriver : Path 'C:\Source\Drivers\Microsoft\Surface Pro 3\SurfacePro3 - March 2015\Drivers\Network\SurfaceGigabitEthernetAdapter' does not exist.
At C:\Source\Setup MDT 2013 for Microsoft Surface Pro 3 - June 2015-org.ps1:344 char:1
+ import-mdtdriver -path "DS001:\Out-of-Box Drivers\WinPE x64" -SourcePath "$Sourc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Source\Drive...EthernetAdapter:String) [Import-MDTDriver], DeploymentPointException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.BDD.PSSnapIn.ImportDriver
 
WARNING: Import terminated because one or more invalid paths specified

Share this post


Link to post
Share on other sites

if you use teamviewer i'm happy to remote in and help out, let me know

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

×