How to guide Guide RSAT Windows 10 1903 Offline FOD – SCCM-MDT OSD
With the release of Windows 10 1809 and the current spring 1903 version, Microsoft changed the way the Remote Server Administration Tools (RSAT) gets installed. With Windows 10 1809+ the Feature On Demand option must be used vs manually downloading the RSAT MSU installer from previous versions of Windows 10. There are PowerShell scripts you can find to install RSAT for 1903 and 1809 while the PC is ONLINE but that requires the task sequence have access to the internet during MDT or SCCM OS Deployment. However, in this post (Quick Start Guide RSAT W10 1903 Offline FOD – SCCM-MDT OSD), I will outline how to do this in an OFFLINE approach without the need for an internet connection when the OSD task sequence runs for Windows 10 1903. Sure a proxy service account can be used by an SCCM task sequence step but this approach removes that need.
In scope of this article:
- Install Windows 10 1903 x64 RSAT using Feature On Demand without an Internet Connection (No need to worry about Proxy or security team request)
- Use PowerShell script to integrate the process into the MDT or SCCM OSD task sequence for deployment use in production
- Use the custom PowerShell script to extract only the RSAT files to keep the MDT/SCCM package source files small (154 MB for Win10 1903) since the full Feature On Demand ISO is 5GB!
- Applies to Windows 10 1809 or higher.
- Pre-download the MSDN/VLSC Windows 10 1903 (or 1809) Feature On Demand Part 1 ISO media only
- MDT / SCCM task sequence step configured to use the PowerShell install script set to “Bypass“
- Run the W10_FOD_RSAT_Offline_CopySource.ps1 (linked here) PowerShell script to extract only the RSAT files
- Run the W10_FOD_RSAT_Offline_Install.ps1 (linked here) PowerShell script to perform the Offline install of the Windows 10 1903 Feature On Demand RSAT features during the MDT/SCCM OSD task sequence
- Must have local administrator rights on the source PC where you will extract the ISO content
- Must set the PowerShell execution policy to “unrestricted” while you extract the ISO content
Get RSAT Capabilities using PowerShell Command
Run the following command on a Windows 10 1903 or 1809 PC to show that RSAT tools are not installed. The output will show “Not Present“.
Command: Get-WindowsCapability -online | ? Name -like Rsat* | FT
Download the MSDN/VLSC Feature On Demand ISO
Login to your MSDN subscription or Volume License site (VLSC) and download Part 1 (Disk 1) of the Windows 10 1903 (or 1809) “Feature On Demand” ISO content. Search for “Feature On Demand“. If the option is not available for 1903 VLSC, it may take some time for a newer version of Windows 10.
Click on the “Windows 10 Feature on Demand part 1, Version 1903 (x64) DVD” ISO. Save to an applicable download or package source location on a local PC where the W10_FOD_RSAT_Offline_CopySource.ps1 script will be run.
The PowerShell Scripts
The first script needs to be modified to include the path to the Feature On Demand ISO media that was downloaded in the previous steps. Modify line 3 of the script to provide the ISO path and line 17 to provide the extraction path (Default C:\temp). It’s also a good idea to rename the ISO media at this time to a shorter name.
W10_FOD_RSAT_Offline_CopySource.ps1 PowerShell Script
CRITICAL NOTE: Lines 21 and 22 had to be modified to ensure the commands were one string and not word wrapped. The defaults from Microsoft were not in the same line so I kept getting errors for the -include and -Container parameters in the original files.
On a Windows 10 PC where you have copied the Feature On Demand ISO, from an elevated PowerShell command prompt run the following command and select “Yes To All”: Set-ExecutionPolicy Unrestricted
Run the W10_FOD_RSAT_Offline_CopySource.ps1 PowerShell script downloaded from the previous step from an elevated PowerShell command prompt. The content will look like this:
Copy the W10_FOD_RSAT_Offline_Install.ps1 that was previously downloaded in the previous step to the C:\TEMP\RSAT_1903_en-US folder location (or whatever folder name if it was changed in the script). This will be the source files for the Feature On Demand Offline MDT / SCCM package content that will be used in the OSD task sequence.
The RSAT source extracted ISO content will look like this. In the screenshot, I’ve renamed the folder to a different name that will be used for import into MDT or SCCM as package content. Make sure you copy the install PowerShell script into this location.
To push them with SCCM jst create a package with each folder and run the powershell script.