ConfigMgr Console

MS Surface Deployment Accelerator

Topics: ConfigMgr Console

<img style=”float: right;” src=”https://www.recastsoftware.com/wp-content/uploads/2021/10/Recast-Logo-Dark_Horizontal.svg” alt=”Image” height=”43″ width=”150″>

Surface Deployment Accelerator

Overview

Surface Deployment Accelerator (SDA) is a PowerShell command line tool to create Images for Surface Devices… or anything that installs Windows.

Demo Pre-Reqs

  • Demo Machine
    • At least 40GB Free for Demo
    • Local Admin Access
    • Internet Access
    • Windows 10 2004 or Newer
      • if you don’t you’ll have problems, trust me
    • Internet Explorer must be installed on the device used to create images, and first run wizard must be completed (you must successfully start Internet Explorer once) or file downloads may fail.
      • if you don’t you’ll have problems, trust me
  • Windows Media ISO you wish to create serviced media from.

Demo – Simple Servicing of Windows 10 VLSC Media

In this Demo, I’ll be using the Folder D:SDABuild as my Destination directory

Install Script

You’ll need to download the Project from GitHub, then unblock and copy the contents to your storage location:

SDA 00
After you download, open the properties and check the box to unblock the file. Then extract it where you want to run it from:
SDA 00a

Running SDA

In this example, I’m going to point to the ISO I want to be used for my base media, then pass several other parameters to give me the outcome I want.

D:SurfaceDeploymentAccelerator-masterCreateSurfaceWindowsImage.ps1 -ISO "D:en_windows_10_business_editions_version_1909_updated_may_2020_x64_dvd_5df215e3.iso" -DestinationFolder D:SDABuild -OSSKU Enterprise -ServicingStack:$true -CumulativeUpdate:$true -CumulativeDotNetUpdate:$true -Architecture x64 -AdobeFlashUpdate:$true -Device Custom -DotNet35:$true -Office365:$false -CreateUSB:$false -CreateISO:$true

SDA requires ADK to be installed, if you don’t it does it for you:

SDA 01

PowerShell Output

Instead of taking a pile of screenshots, I’m pasting in the output, which will show you all the things it does, which is updating the WIM, and this process took 51 minutes to update the 1909 Media.

    Directory: D:SDABuildLogs


Mode                LastWriteTime         Length Name                                                                                                                                                                   
----                -------------         ------ ----                                                                                                                                                                   
-a----         2/6/2021  12:40 PM              0 Log--Enterprise-x64--2021-02-06_12-40-35.log                                                                                                                           
Script start: 2/6/2021, 12:40:35 PM
This space intentionally left blank...






SDA version:  1.2.5.4
 
 
 *********************************************
 *                                           *
 *       Parameters passed to script:        *
 *                                           *
 *********************************************
 
ISO path:                     D:en_windows_10_business_editions_version_1909_updated_may_2020_x64_dvd_5df215e3.iso
OS SKU:                       Enterprise
Architecture:                 x64
Output:                       D:SDABuild
  .NET 3.5:                   True
  Servicing Stack:            True
  Cumulative Update:          True
  Cumulative DotNet Updates:  True
  Adobe Flash Player Updates: True
  Office 365 install:         False
  Device drivers:             Custom
  Create USB key:             False
  Create ISO:                 True
 
 
Deleting C:UserscmadminAppDataLocalTempMountScratch...
Mounting ISO D:en_windows_10_business_editions_version_1909_updated_may_2020_x64_dvd_5df215e3.iso...
ISO successfully mounted at K:

Parsing install.wim/install.esd file(s) in K: for images...
Checking K:sourcesinstall.wim for valid images...
Found image matching Enterprise :
Path:          K:sourcesinstall.wim
Index:         3
Name:          Windows 10 Enterprise
Version:       10.0.18362.836
Architecture:  x64

K:sourcesinstall.wim contains image version 10.0.18362, validating if H1 or H2 build of 10.0.18362 - checking...

Mounting K:sourcesinstall.wim in C:UserscmadminAppDataLocalTempMountScratch...
Querying image registry for ReleaseId...
The operation completed successfully.

Unloading image registry...
The operation completed successfully.

Dismounting C:UserscmadminAppDataLocalTempMountScratch...

Copying C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64en-uswinpe.wim to D:SDABuildEnterprise10.0.18363x64SourceWIMsboot.wim...
Copying K:Sourcessxs* to D:SDABuildEnterprise10.0.18363x64Tempsxs...
Copying K:sourcesinstall.wim to D:SDABuildEnterprise10.0.18363x64SourceWIMsinstall.wim...

OSVersion:  10.0.18363
ReleaseId:  1909

Deleting C:UserscmadminAppDataLocalTempMountOSImage...
Deleting C:UserscmadminAppDataLocalTempMountBootImage...
Deleting C:UserscmadminAppDataLocalTempMountWinREImage...


Surface device not specified. Skipping driver download.


Downloading latest VisualC++ Runtimes...
aka.ms link: https://aka.ms/vcpp2013x86
Actual URL:  https://download.visualstudio.microsoft.com/download/pr/10912113/5da66ddebb0ad32ebd4b922fd82e8e25/vcredist_x86.exe
File name:   vcredist_x86.exe
Using BITS to download files
Downloading vcredist_x86.exe to D:SDABuildEnterprise10.0.18363x64TempVCRuntimes2013...
Downloaded File:   D:SDABuildEnterprise10.0.18363x64TempVCRuntimes2013vcredist_x86.exe

aka.ms link: https://aka.ms/vcpp2013x64
Actual URL:  https://download.visualstudio.microsoft.com/download/pr/10912041/cee5d6bca2ddbcd039da727bf4acb48a/vcredist_x64.exe
File name:   vcredist_x64.exe
Using BITS to download files
Downloading vcredist_x64.exe to D:SDABuildEnterprise10.0.18363x64TempVCRuntimes2013...
Downloaded File:   D:SDABuildEnterprise10.0.18363x64TempVCRuntimes2013vcredist_x64.exe

aka.ms link: https://aka.ms/vcpp2019x86
Actual URL:  https://download.visualstudio.microsoft.com/download/pr/8c211be1-c537-4402-82e7-a8fb5ee05e8a/AC96016F1511AE3EB5EC9DE04551146FE351B7F97858DCD67163912E2302F5D6/VC_redist.x86.exe
File name:   VC_redist.x86.exe
Using BITS to download files
Downloading VC_redist.x86.exe to D:SDABuildEnterprise10.0.18363x64TempVCRuntimes2019...
Downloaded File:   D:SDABuildEnterprise10.0.18363x64TempVCRuntimes2019VC_redist.x86.exe

aka.ms link: https://aka.ms/vcpp2019x64
Actual URL:  https://download.visualstudio.microsoft.com/download/pr/8c211be1-c537-4402-82e7-a8fb5ee05e8a/B6C82087A2C443DB859FDBEAAE7F46244D06C3F2A7F71C35E50358066253DE52/VC_redist.x64.exe
File name:   VC_redist.x64.exe
Using BITS to download files
Downloading VC_redist.x64.exe to D:SDABuildEnterprise10.0.18363x64TempVCRuntimes2019...
Downloaded File:   D:SDABuildEnterprise10.0.18363x64TempVCRuntimes2019VC_redist.x64.exe

Downloading latest Servicing Stack update for 10.0.18363...
Attempting to find and download Servicing Stack updates for x64 Windows 10 version 1909 for month 2021-02...
No update found for month (2021-02) - attempting previous month (2021-01)...
Download found:
2021-01 Servicing Stack Update for Windows 10 Version 1909 for x64-based Systems (KB4598479)


Actual URL:  http://download.windowsupdate.com/c/msdownload/update/software/secu/2021/01/windows10.0-kb4598479-x64_6ba0ac3da31ffd0f8e78eea46ddaaa6673e49bdd.msu
File name:   windows10.0-kb4598479-x64_6ba0ac3da31ffd0f8e78eea46ddaaa6673e49bdd.msu

Using BITS to download files
Downloading windows10.0-kb4598479-x64_6ba0ac3da31ffd0f8e78eea46ddaaa6673e49bdd.msu to D:SDABuildEnterprise10.0.18363x64TempServicing...

D:SDABuildEnterprise10.0.18363x64TempServicingwindows10.0-kb4598479-x64_6ba0ac3da31ffd0f8e78eea46ddaaa6673e49bdd.msu





Downloading latest Cumulative Update for 10.0.18363...
Attempting to find and download Cumulative Update updates for x64 Windows 10 version 1909 for month 2021-02...
No update found for month (2021-02) - attempting previous month (2021-01)...
Download found:
2021-01 Cumulative Update for Windows 10 Version 1909 for x64-based Systems (KB4598229)


Actual URL:  http://download.windowsupdate.com/d/msdownload/update/software/secu/2021/01/windows10.0-kb4598229-x64_5dab2cf1bc856e3c228a7b8d669b11ae6c51065c.msu
File name:   windows10.0-kb4598229-x64_5dab2cf1bc856e3c228a7b8d669b11ae6c51065c.msu

Using BITS to download files
Downloading windows10.0-kb4598229-x64_5dab2cf1bc856e3c228a7b8d669b11ae6c51065c.msu to D:SDABuildEnterprise10.0.18363x64TempCumulative...

D:SDABuildEnterprise10.0.18363x64TempCumulativewindows10.0-kb4598229-x64_5dab2cf1bc856e3c228a7b8d669b11ae6c51065c.msu





Downloading latest Dot Net Cumulative updates for 10.0.18363...
Attempting to find and download Cumulative .NET Framework Update updates for x64 Windows 10 version 1909 for month 2021-02...
No update found for month (2021-02) - attempting previous month (2021-01)...
Download found:
2021-01 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows 10 Version 1909 for x64 (KB4586878)


Actual URL:  http://download.windowsupdate.com/d/msdownload/update/software/updt/2020/11/windows10.0-kb4586878-x64-ndp48_999de1e5d15823c4863dc0a8fffb733447227c73.msu
File name:   windows10.0-kb4586878-x64-ndp48_999de1e5d15823c4863dc0a8fffb733447227c73.msu

Using BITS to download files
Downloading windows10.0-kb4586878-x64-ndp48_999de1e5d15823c4863dc0a8fffb733447227c73.msu to D:SDABuildEnterprise10.0.18363x64TempDotNet...

D:SDABuildEnterprise10.0.18363x64TempDotNetwindows10.0-kb4586878-x64-ndp48_999de1e5d15823c4863dc0a8fffb733447227c73.msu





Downloading latest Adobe Flash update for 10.0.18363...
Attempting to find and download Adobe Flash Player updates for x64 Windows 10 version 1909 for month 2021-02...
No update found for month (2021-02) - attempting previous month (2021-01)...
No update found for month (2021-01) - attempting previous month (2020-12)...
No update found for month (2020-12) - attempting previous month (2020-11)...
No update found for month (2020-11) - attempting previous month (2020-10)...
Download found:
2020-10 Security Update for Adobe Flash Player for Windows 10 Version 1909 for x64-based Systems (KB4580325)


Actual URL:  http://download.windowsupdate.com/d/msdownload/update/software/secu/2020/10/windows10.0-kb4580325-x64_ba6058564aac1216c91d3749bd76cc9d5d6192cb.msu
File name:   windows10.0-kb4580325-x64_ba6058564aac1216c91d3749bd76cc9d5d6192cb.msu

Using BITS to download files
Downloading windows10.0-kb4580325-x64_ba6058564aac1216c91d3749bd76cc9d5d6192cb.msu to D:SDABuildEnterprise10.0.18363x64TempAdobe...

D:SDABuildEnterprise10.0.18363x64TempAdobewindows10.0-kb4580325-x64_ba6058564aac1216c91d3749bd76cc9d5d6192cb.msu










 
 
 *********************************************
 *                                           *
 *           Updating install.wim            *
 *                                           *
 *********************************************
 
 
Exporting D:SDABuildEnterprise10.0.18363x64SourceWIMsinstall.wim to D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim...

ImagePath        : D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim
Name             : 
LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : C:Windowstemp
LogLevel         : WarningsInfo



Mounting D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim in C:UserscmadminAppDataLocalTempMountOSImage...

Path   : C:UserscmadminAppDataLocalTempMountOSImage
Online : False



Running image cleanup on C:UserscmadminAppDataLocalTempMountOSImage...

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.836


[=====                      10.0%                          ] 

[===========                19.0%                          ] 

[===========                20.0%                          ] 

[===========                20.0%                          ] 
The operation completed successfully.


Saving D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim...

LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : 
LogLevel         : WarningsInfo



Mounting D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim in C:UserscmadminAppDataLocalTempMountOSImage...

Path   : C:UserscmadminAppDataLocalTempMountOSImage
Online : False



Adding .NET Framework 3.5 to C:UserscmadminAppDataLocalTempMountOSImage...

Path   : C:UserscmadminAppDataLocalTempMountOSImage
Online : False



Adding Servicing Stack updates to C:UserscmadminAppDataLocalTempMountOSImage...

Path   : C:UserscmadminAppDataLocalTempMountOSImage
Online : False



Saving D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim...

LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : 
LogLevel         : WarningsInfo



Mounting D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim in C:UserscmadminAppDataLocalTempMountOSImage...

Path   : C:UserscmadminAppDataLocalTempMountOSImage
Online : False



Adding Cumulative updates to C:UserscmadminAppDataLocalTempMountOSImage...

Path   : C:UserscmadminAppDataLocalTempMountOSImage
Online : False



Adding Cumulative .NET updates to C:UserscmadminAppDataLocalTempMountOSImage...

Path   : C:UserscmadminAppDataLocalTempMountOSImage
Online : False



Adding Adobe Flash updates to C:UserscmadminAppDataLocalTempMountOSImage...

Path   : C:UserscmadminAppDataLocalTempMountOSImage
Online : False



Adding Driver updates for Custom to C:UserscmadminAppDataLocalTempMountOSImage from D:SDABuildEnterprise10.0.18363x64TempCustom...
Add-WindowsDriver : Driver file or path not found
At D:SurfaceDeploymentAccelerator-masterCreateSurfaceWindowsImage.ps1:2613 char:13
+             Add-WindowsDriver -Path $ImageMountFolder -Driver "$Devic ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-WindowsDriver], FileNotFoundException
    + FullyQualifiedErrorId : Add-WindowsDriver,Microsoft.Dism.Commands.AddWindowsDriverCommand
 


Copying VC++ Runtime binaries to C:UserscmadminAppDataLocalTempMountOSImageWindowsTemp...

Copying files to disk for unattended installation...

 
 
 *********************************************
 *                                           *
 *           Updating winre.wim              *
 *                                           *
 *********************************************
 
 
Copying WinRE image to D:SDABuildEnterprise10.0.18363x64Temptmp_winre.wim...


Mounting D:SDABuildEnterprise10.0.18363x64Temptmp_winre.wim to C:UserscmadminAppDataLocalTempMountWinREImage...

Path   : C:UserscmadminAppDataLocalTempMountWinREImage
Online : False



Adding Servicing Stack updates to C:UserscmadminAppDataLocalTempMountWinREImage...

Path   : C:UserscmadminAppDataLocalTempMountWinREImage
Online : False



Saving D:SDABuildEnterprise10.0.18363x64Temptmp_winre.wim...

LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : 
LogLevel         : WarningsInfo



Mounting D:SDABuildEnterprise10.0.18363x64Temptmp_winre.wim in C:UserscmadminAppDataLocalTempMountWinREImage...

Path   : C:UserscmadminAppDataLocalTempMountWinREImage
Online : False



Adding Cumulative updates to C:UserscmadminAppDataLocalTempMountWinREImage...

Path   : C:UserscmadminAppDataLocalTempMountWinREImage
Online : False





Running image cleanup on D:SDABuildEnterprise10.0.18363x64Temptmp_winre.wim...

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18362.1


[=====                      10.0%                          ] 

[===========                19.0%                          ] 

[===========                20.0%                          ] 

[===========                20.0%                          ] 

[===========                20.0%                          ] 

[===========                20.0%                          ] 

[===========                20.0%                          ] 

[===========                20.0%                          ] 

[===========                20.0%                          ] 

[===========================60.0%==                        ] 
The operation completed successfully.


Saving D:SDABuildEnterprise10.0.18363x64Temptmp_winre.wim...

LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : 
LogLevel         : WarningsInfo



 
 
 *********************************************
 *                                           *
 *            Saving winre.wim               *
 *                                           *
 *********************************************
 
 
Exporting D:SDABuildEnterprise10.0.18363x64Temptmp_winre.wim to C:UserscmadminAppDataLocalTempMountOSImageWindowsSystem32Recoverywinre.wim...

ImagePath        : C:UserscmadminAppDataLocalTempMountOSImageWindowsSystem32Recoverywinre.wim
Name             : 
LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : C:Windowstemp
LogLevel         : WarningsInfo



 
 
 *********************************************
 *                                           *
 *            Saving install.wim             *
 *                                           *
 *********************************************
 
 
Adding registry tattoo...

The operation completed successfully.

The operation completed successfully.

Saving D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim...

LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : 
LogLevel         : WarningsInfo



Exporting D:SDABuildEnterprise10.0.18363x64Temptmp_install.wim to D:SDABuildEnterprise10.0.18363x64Custom-Install-10.0.18363.1316-Enterprise-2021-02-06_12-40-35.wim...

ImagePath        : D:SDABuildEnterprise10.0.18363x64Custom-Install-10.0.18363.1316-Enterprise-2021-02-06_12-40-35.wim
Name             : 
LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : C:Windowstemp
LogLevel         : WarningsInfo



Splitting D:SDABuildEnterprise10.0.18363x64Custom-Install-10.0.18363.1316-Enterprise-2021-02-06_12-40-35.wim into 3GB files as D:SDABuildEnterprise10.0.18363x64Custom-Install-10.0.18363.1316-Enterprise-2021-
02-06_12-40-35--Split.swm...

ImagePath        : D:SDABuildEnterprise10.0.18363x64Custom-Install-10.0.18363.1316-Enterprise-2021-02-06_12-40-35.wim
Name             : 
LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : C:Windowstemp
LogLevel         : WarningsInfo



 
 
 *********************************************
 *                                           *
 *           Updating boot.wim               *
 *                                           *
 *********************************************
 
 
Copying D:SDABuildEnterprise10.0.18363x64SourceWIMsboot.wim to D:SDABuildEnterprise10.0.18363x64Temptmp_boot.wim...


Mounting D:SDABuildEnterprise10.0.18363x64Temptmp_boot.wim to C:UserscmadminAppDataLocalTempMountBootImage using Index 1...

Path   : C:UserscmadminAppDataLocalTempMountBootImage
Online : False





Adding WMI...
Adding PE Scripting...
Adding Enhanced Storage...
Adding Bitlocker support...
Adding .NET...
Adding PowerShell...
Adding Storage WMI...
Adding DISM support...
Adding Secure Boot support...
Adding Secure Startup support...
Adding WinRE support...
Copying scripts to C:UserscmadminAppDataLocalTempMountBootImage...


 
 
 *********************************************
 *                                           *
 *            Saving boot.wim                *
 *                                           *
 *********************************************
 
 
Saving D:SDABuildEnterprise10.0.18363x64Temptmp_boot.wim...

LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : 
LogLevel         : WarningsInfo



Exporting D:SDABuildEnterprise10.0.18363x64Temptmp_boot.wim to D:SDABuildEnterprise10.0.18363x64Custom-Boot-10.0.18362.1-2021-02-06_12-40-35.wim...

ImagePath        : D:SDABuildEnterprise10.0.18363x64Custom-Boot-10.0.18362.1-2021-02-06_12-40-35.wim
Name             : 
LogPath          : C:WindowsLogsDISMdism.log
ScratchDirectory : C:Windowstemp
LogLevel         : WarningsInfo





Creating WinPE media in D:SDABuildEnterprise10.0.18363x64TempMedia...
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediabootmgr
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediabootmgr.efi
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediabg-bgbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootBCD
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootboot.sdi
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootbootfix.bin
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootmemtest.exe
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootbg-bgbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootcs-czbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootcs-czmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootda-dkbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootda-dkmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootde-debootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootde-dememtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootel-grbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootel-grmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBooten-gbbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBooten-usbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBooten-usmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootes-esbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootes-esmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootes-mxbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootet-eebootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootfi-fibootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootfi-fimemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontschs_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontscht_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsjpn_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontskor_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsmalgunn_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsmalgun_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsmeiryon_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsmeiryo_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsmsjhn_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsmsjh_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsmsyhn_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontsmsyh_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontssegmono_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontssegoen_slboot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontssegoe_slboot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootFontswgl4_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootfr-cabootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootfr-frbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootfr-frmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBoothr-hrbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBoothu-hubootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBoothu-humemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootit-itbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootit-itmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootja-jpbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootja-jpmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootko-krbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootko-krmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootlt-ltbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootlv-lvbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootnb-nobootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootnb-nomemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootnl-nlbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootnl-nlmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootpl-plbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootpl-plmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootpt-brbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootpt-brmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootpt-ptbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootpt-ptmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootResourcesbootres.dll
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootro-robootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootru-rubootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootru-rumemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootsk-skbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootsl-sibootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootsr-latn-rsbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootsv-sebootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootsv-sememtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBoottr-trbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBoottr-trmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootuk-uabootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootzh-cnbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootzh-cnmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootzh-twbootmgr.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaBootzh-twmemtest.exe.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediacs-czbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediada-dkbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediade-debootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIBootbootx64.efi
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIBooten-usbootx64.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootBCD
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootmemtest.efi
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootcs-czmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootda-dkmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootde-dememtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootel-grmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBooten-usmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootes-esmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootfi-fimemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontschs_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontscht_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontsjpn_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontskor_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontsmalgun_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontsmeiryo_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontsmsjh_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontsmsyh_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontssegmono_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontssegoe_slboot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootFontswgl4_boot.ttf
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootfr-frmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBoothu-humemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootit-itmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootja-jpmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootko-krmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootnb-nomemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootnl-nlmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootpl-plmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootpt-brmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootpt-ptmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootResourcesbootres.dll
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootru-rumemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootsv-sememtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBoottr-trmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootzh-cnmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64MediaEFIMicrosoftBootzh-twmemtest.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediael-grbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediaen-gbbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediaen-usbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediaes-esbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediaes-mxbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediaet-eebootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediafi-fibootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediafr-cabootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediafr-frbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediahr-hrbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediahu-hubootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediait-itbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediaja-jpbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediako-krbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Medialt-ltbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Medialv-lvbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Medianb-nobootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Medianl-nlbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediapl-plbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediapt-brbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediapt-ptbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediaro-robootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediaru-rubootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediask-skbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediasl-sibootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediasr-latn-rsbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediasv-sebootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediatr-trbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediauk-uabootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediazh-cnbootmgr.efi.mui
C:Program Files (x86)Windows Kits10Assessment and Deployment KitWindows Preinstallation Environmentamd64Mediazh-twbootmgr.efi.mui
153 File(s) copied
Copying D:SDABuildEnterprise10.0.18363x64Custom-Install-10.0.18363.1316-Enterprise-2021-02-06_12-40-35--Split.swm to D:SDABuildEnterprise10.0.18363x64TempMedia...
Copying D:SDABuildEnterprise10.0.18363x64Custom-Install-10.0.18363.1316-Enterprise-2021-02-06_12-40-35--Split2.swm to D:SDABuildEnterprise10.0.18363x64TempMedia...
 
 
 *********************************************
 *                                           *
 *       Image modifications complete!       *
 *                                           *
 *********************************************
 
 
Finalized image files can be found here:

ISO:      D:SDABuildEnterprise10.0.18363x64Custom-10.0.18363.1316-2021-02-06_12-40-35.iso

Install:  D:SDABuildEnterprise10.0.18363x64Custom-Install-10.0.18363.1316-Enterprise-2021-02-06_12-40-35--Split.swm
Boot:     D:SDABuildEnterprise10.0.18363x64Custom-Boot-10.0.18362.1-2021-02-06_12-40-35.wim

Script start: 2/6/2021, 12:40:35 PM
Script end:   2/6/2021, 1:32:11 PM

Execution time: 00:51:36 seconds

Deployment via ConfigMgr

So once it is built, you’ll see the files in the folder you specified in the command, then drill down:
SDA 05

I then imported the Image:
SDA 06

Added to a Default OSD TS for testing:
SDA 07

Then I Ran OSD on a HyperV VM and checked out the results. SDA will tattoo some basic info into the registry:

HKLMSOFTWAREMicrosoftSurfaceSDA

SDA 04

Test Drive Video

Click on the image to view YouTube Video
SDA 08

Troubleshooting

If you don’t use 2004 or newer, when you run the script it fails very quickly being unable to mount your ISO file.

If you don’t launch IE first and have the first run wizard complete, then you’ll get these issues:

SDA 03

Summary

Surface Deployment Accelerator is a nice tool especially if you’re deploying Microsoft Surface devices. The ability to inject Surface drivers into the WIM automatically is pretty slick. My honest opinion on this, if you’re using CM, the native features in CM are on par, this doesn’t buy you much, if you’re using MDT, this would be useful, or if you’re 100% cloud and not using any imaging tools, and you need to help an end user get their surface device back into a working state so you can get them onboarded into your MDM solution like intune again, this could be a viable solution.

I liked the simplicity of this solution, a script that is easy to read and see exactly what is happening, along with some really nice functions that I’d say are worth looking at if you’re trying to learn PowerShell and make enhancements to your own scripts. I’ll touch on this in the video. Overall, it’s worth a test drive and a look over the script at the very least.

About Recast Software
1 in 3 organizations using Microsoft Configuration Manager relies on Right Click Tools to surface vulnerabilities and remediate them quicker than ever before.
Download Free Tools
Request Pricing

Back to Top