This page looks best with JavaScript enabled

Using Snappy Driver Installer Origin with MDT

 ·  ☕ 3 min read

Snappy Driver Installer Origin

Snappy Driver Installer Origin is a great utility for finding and installing or updating drivers. You can find out more about Snappy Driver Installer Origin and download it here.

Why SDIO and not Windows Update

Snappy Driver Installer Origin (SDIO) supports automation and running scripts and so I thought it would be perfect for use with MDT when deploying lots of different types of devices with various drivers. If you have large fleets of the same types of PC/Laptop then using MDT to deploy those drivers from a central store is still best in my opinion.

Windows Update is “fine” at getting most drivers but still misses some or gets very old versions, SDIO gets up to date and in a lot of cases better drivers than Windows update.

Requirements

To use SDIO with MDT using my script, SDIO must be present on the MDT server somewhere (eg. Applications) and then copied to the local disk of the device (eg. C:\scripts) before running SDIO-Auto-Install.ps1.

The device must have internet access to get the required drivers and also the storage and network drivers which is a requirement of deploying an OS across the network with MDT.

SDIO-Auto-Install - PowerShell Script To Run SDIO

Below is my script for running SDIO. The script file itself is copied to the local disk along with SDIO and then the Task Sequence runs the script after OS deployment.

A Windows Firewall rule is created to allow SDIO to connect to the internet, SDIO itself is run to update the indexes and then after a 10 second wait period it is run again to install the drivers. There’s probably a better way to do this but this works for now. The firewall rule is then removed

1
2
3
4
5
6
7
8
New-NetFirewallRule -DisplayName "SDIO-Drivers" -Enabled True -Direction Outbound -Profile Any -Action Allow -Program "C:\scripts\SDIO\SDIO_x64_R746.exe" | Out-Null

cd C:\scripts\SDIO
.\SDIO_x64_R746.exe /script:C:\scripts\SDIO\update-install.txt
Start-Sleep -Seconds 10
.\SDIO_x64_R746.exe /script:C:\scripts\SDIO\update-install.txt

Get-NetFirewallRule -DisplayName "SDIO-Drivers" | Remove-NetFirewallRule

SDIO Script To Get Drivers

Below is my script for SDIO to run. I’m still very new to it so I’ve copied one of the example scripts and made it work for me. The verbose option prints a lot of information (which MDT will output to a log) which can be useful for troubleshooting. The script is pretty self explanatory.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
verbose 384
enableinstall on
keeptempfiles off
init

checkupdates
onerror goto :end
get indexes
select missing newer better
install
onerror goto :end
:end
end

Finishing up

I’ve tested this on a few random devices that I currently have access to and it runs well, it will likely require some customisation for other environments.

I’ve put the script files above on my general MDT Files GitHub

Support My Work

If you would like to support me, please check out the links below. Thank you!

If you’d like to contact me, please leave a comment, send me a tweet, or you can join the community on Discord.

-Mike

Share on
Support the author with