Updating Surface Pro 3 drivers and firmware with SCCM and SCUP

Our company has been rolling out Surface Pro 3 devices for several months now. We use SCCM with MDT integration to image these devices and we integrate the latest driver and firmware packages as part of the build process.

As we deployed more Surface Pro 3’s, it was clear that we needed an automated method to update firmware and drivers. We started down the path of creating an application in SCCM but preferred to update our Surface Pro 3’s during monthly patches so we didn’t create an extra reboot for our end users.

I discovered you can use SCUP to deliver Surface Pro 3 drivers and firmware updates as part of your monthly patch process. In the past, it was difficult to do this but as it turns out, Microsoft recently released an .MSI package that installs the latest Surface Pro 3 drivers and firmware making our job much easier.

This guide will help you

Items you will need to create this package:

  • WinRAR or a similar compression program with the ability to create a self extracting .exe
  • Psexec from Windows Sysinternals
  • Working SCCM 2012 and SCUP environment
  • At least one Surface Pro 3 to test with
  • A directory on local PC’s that can be used to extract temporary data

Start by downloading the latest drivers and firmware updates from Microsoft. You only need to download the latest .MSI file http://www.microsoft.com/en-us/download/details.aspx?id=38826

Download Windows Sysinternals PsExec http://technet.microsoft.com/en-us/sysinternals/bb897553

Download WinRAR, use IExpress.exe or use an alternative self extracting program.

Create a folder named SurfacePro3_15_01_1. I chose this folder name as it matches the .MSI file name for this month and will easily be identifiable as time goes on.

Place the downloaded .MSI file in this folder.

Also place the PsExec file in this folder

SCUP9

Using WinRAR, right click the folder and select Add to Archive

Place a check in the box Create SFX Archive and click OK

On the newly created SurfacePro3_15_01_1.exe file, right click and left click Open with WinRAR

On the WinRAR toolbar, click on SFX, then click on Advanced SFX options

On the General tab on the path to extract section enter the path you want to extract the .MSI file. I use the absolute path of C:\Windows\Defminl\Drivers

On the Setup tab, in the Run after extraction section enter in “C:\Windows\Defminl\Drivers\SurfacePro3_15_01_1\psexec.exe” -s -accepteula msiexec /i  “C:\Windows\Defminl\Drivers\SurfacePro3_15_01_1\SurfacePro3_15_01_1.msi” /qn REBOOT=ReallySuppress

On the Modes tab, ensure the Hide all radio button is selected.

On the Update tab, ensure the Extract and replace files and Overwrite all files radio button is selected.

Click OK, then OK again to save the file

I recommend to test the packaged .exe on a test VM before proceeding. It’s much easier to get any issues corrected now rather than to find out after you publish it with SCUP.

When satisfied with the results of your custom .exe, copy to your user profile on your server with SCUP installed to C:\Users\\Documents\LocalSourcePublishing

Adding the drivers and firmware updates to SCUP

Open SCUP

Add a new product to SCUP. I named mine Microsoft Corporation (Drivers and Firmware)

Create a new Software Update in your newly created product group.

In the Package source field click Browse and then navigate to your SurfacePro3_15_01_1.exe file

Click the checkbox Use a local source to publish software update content

SCUP1

Click Next

On the Required Information screen, fill in the information as shown

SCUP2

On the Optional Information screen, fill in the information as shown

SCUP3

On the Prerequisites screen, click Next

On the Superseded Updates screen, click Next

On Installable Rules screen click on the star icon to add a new rule.

Choose rule type of System/WMI Query
In the WMI namespace field type in: root\cimv2
In the WMI query filed type in: Select * From Win32_ComputerSystemProduct WHERE Name LIKE “Surface Pro 3”

SCUP10

Click OK
This WMI query ensures that this package is only intended for Surface Pro 3 computers.

While still in the Installable Rules click on the star icon to add another rule.
In this rule, change the following: Common path: Windows Path: Firmware File Name: UEFI.3.11.450.0.cap

SCUP4

Click OK
Highlight the line you just added that starts with File ‘[Windows] and click on the explanation point so the file reads NOT: File ‘[Windows]

SCUP5
Click Next

On the Installed Rules screen, click the star icon to add a rule.
In this rule, change the following: Common path: Windows Path: Firmware File Name: UEFI.3.11.450.0.cap

SCUP4
Click OK

SCUP7

Click Next

Review the summary screen and click Next and then Close.

Publish this update with SCUP and then synchronize your Software Update point. If your new update doesn’t appear in All Software Updates you may need to add your new product under SCCM>Administration>Site Configuration>Sites>Site Server name>Configure Site Components>Software Update Point>Products, then synchronize again.

Add your new update to a test Software Update Group, deploy and test.

Hope this helps in getting your Surface Pro 3’s up to date.

Tagged with: , ,
Posted in SCCM, SCUP, Surface Pro 3

Automating Microsoft Surface Pro 3 Docking Station audio drivers

***UPDATE**** 1/19/2015

Microsoft added the drivers for the docking station audio in the Surface Pro 3 January 2015 update.

http://www.microsoft.com/en-us/download/details.aspx?id=38826


If your company is rolling out Surface Pro 3 devices, your help desk may receive calls that the speakers on the Surface Pro 3 may not work when docked using the Microsoft docking station. This can be especially problematic if using analog monitors or digital monitors without speakers.

While you can direct audio to the Surface Pro 3 speakers by setting the default audio device to Speakers Realtek High Definition Audio in Audio Playback settings, there’s a better way. Back in July 2014, Microsoft released a driver update to fix this issue but I’ve only been able to find this driver on Windows Update.

If your company is using WSUS or SCCM, you may not even know this update is available. Luckily this driver update is quite easy to obtain and deploy.

Below you’ll learn how to deploy this with System Center 2012 Configuration Manager but you can also install this driver by group policy, batch scripts, etc.

You should have a clean Surface Pro 3 handy for testing. Using the Surface Pro 3, check go to Windows Update and check for updates from Microsoft Update. Unselect all updates discovered. Now under optional updates install the update labeled Microsoft – Audio Device – Microsoft Docking Station Audio device.

Go to the C:\Windows\SoftwareDistribution\Download folder. You should see a folder with a GUID names. If you only installed this driver update it should be easy to find the correct folder by date and time. Mine was in an install folder. Copy these files to a folder on your source location for Configuration Manager.

AudioDriver

I created a folder named Surface Pro 3 Docking Station Audio and then created another folder inside the first with the driver files inside.

FolderStructure

In the root folder create a batch file with the following content

powershell.exe -executionpolicy bypass -file .\InstallDrivers.ps1

This is the method that Microsoft uses and documented on how to update Surface Pro drivers for devices already running operating systems. http://www.microsoft.com/en-us/download/details.aspx?id=38826
See the Enterprise Deployment Quick start guide located at the above URL for more information.

Copy and paste this Powershell code into a file named InstallDrivers.ps1

$ScriptPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$files = get-childitem -path $Scriptpath -recurse -filter *.inf

foreach ($file in $files)

{

Write-host “Injecting driver $file“

pnputil -i -a $file.FullName

}

At this point you can create a new package or application to target all of your Surface Pro 3 devices. In testing, installation was quick, didn’t require a reboot and audio will start working immediately while docked.

If you would like to know more about how to target and deploy this in SCCM, let me know and I’ll update this post.

Dave

Tagged with: ,
Posted in SCCM, Surface Pro 3

USMT and Internet Explorer Enterprise mode

If you are using Internet Explorer 11 Enterprise mode you might notice that websites on your list do not work as expected when restoring data. The issue is that by default, USMT backs up and restores the registry key that Internet Explorer looks at for versioning.

USMT backs up and restores the HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\EnterpriseModeCurrentVersion key. If the version hasn’t changed and you restore users data, websites may not render as expected. The fix is easy, you can add a new xml file to your scanstate step to ensure that this registry key is not backed up.

ExcludeIEEM.xml

<?xml version=”1.0″ encoding=”UTF-8″?>
<migration urlid=”http://www.microsoft.com/migration/1.0/migxmlext/blockwallpaperandthemes”&gt;
<component type=”Documents” context=”User”>
<displayName>Don’t migrate Internet Explorer Enterprise mode settings</displayName>
<role role=”Data”>
<rules>
<unconditionalExclude>
<objectSet>
<!– Excludes migrating Internet Explorer Enterprise mode registry key –>
<pattern type=”Registry”>HKCU\Software\Microsoft\Internet Explorer\Main\EnterpriseMode[*]</pattern>
</objectSet>
</unconditionalExclude>
</rules>
</role>
</component>
</migration>

This is the command line I use to call this new .xml file: scanstate.exe \\server\usmt\computername /L:USMTScanState.log /v:5 /i:MigApp.xml /i:MigDocs.xml /i:ExcludeIEEM.xml /config:config.xml /uel:90

Posted in USMT
Create your own website, free on WordPress.com.Create your own website.
Start free