LogoLogo
OSDeploy.comTwitterGitHubPowerShell Gallery
  • Overview
  • Release Notes
    • 2019 Archive
  • OSDeploy Home
  • Module
    • Functions
      • Get-DownOSDBuilder
      • Get-OSBuilds
      • Get-OSDBuilder
      • Get-OSMedia
      • Get-PEBuilds
      • Import-OSMedia
      • Initialize-OSDBuilder
      • New-OSBuild
      • New-OSBuildMultiLang
      • New-OSBuildTask
      • New-OSDBuilderContentPack
      • New-OSDBuilderISO
      • New-OSDBuilderUSB
      • New-OSDBuilderVHD
      • New-OSDBuildPack
      • New-PEBuild
      • New-PEBuildTask
      • Show-OSDBuilderInfo
      • Update-OSMedia
    • GitHub
    • PowerShell Gallery
  • Docs
    • Basics
      • Requirements
      • Installation
      • Get-OSDBuilder
        • Get-OSDBuilder -Update
    • OSImport
      • Import-OSMedia
      • Import-OSMedia Automation
      • Import-OSMedia -Update
      • Import-OSMedia -BuildNetFX
      • Download FeatureUpdates
    • OSMedia
      • Get-OSMedia
      • Download OSMediaUpdates
      • Download OneDrive
      • Update-OSMedia
        • Updates Parameter
        • SkipComponentCleanup Parameter
    • Download Updates
    • Media Functions
      • OS Information
      • Create an ISO
      • Create a USB
      • Create a VHD
    • ContentPacks
      • Content
        • Media
        • OSCapability
        • OSDrivers PEDrivers
        • OSExtraFiles PEExtraFiles
        • OSPackages
        • OSPoshMods PEPoshMods
        • OSRegistry PERegistry
        • OSScripts PEScripts
        • OSStartLayout
        • PEADK
        • PEDaRT
      • MultiLang Content
        • OSLanguagePacks
        • OSLanguageFeatures
        • OSLocalExperiencePacks
        • PEADKLang
      • New-OSBuildTask
      • New-OSBuild
      • Recipes
        • MultiLang FOD NetFX3
        • Multilang FOD RSAT
        • Frogger
    • OSBuild
      • New-OSBuildTask
        • Basic Parameters
          • CustomName
          • EnableNetFX3
          • EnableFeature
          • DisableFeature
          • RemoveAppx
          • RemoveCapability
          • RemovePackage
          • WinPEAutoExtraFiles
        • Content Parameters
          • ContentDrivers
          • ContentExtraFiles
          • ContentPackages
          • ContentScripts
          • ContentStartLayout
          • ContentUnattend
        • WinPE Content Parameters
          • ContentWinPEADK
          • ContentWinPEDaRT
          • ContentWinPEDrivers
          • ContentWinPEExtraFiles
          • ContentWinPEScripts
        • Manual Editing
        • SaveAs
        • Templates
        • Language Parameters
      • New-OSBuild
        • OSBuild Validate
        • OSBuild Download
        • OSBuild Execute
      • Content Directory
        • ADK
        • DaRT
        • Drivers
          • Intel Wireless
          • Intel Bluetooth
          • Intel Ethernet
        • ExtraFiles
        • IsoExtract
        • Mount (Managed)
        • OneDrive
        • OSDUpdate (Managed)
        • Packages
        • Scripts
        • StartLayout
        • Unattend
          • Windows System Image Manager
    • Advanced
      • Settings
        • Redirecting Paths
        • Disable Global Settings
        • Citrix PVS Target Device
        • Automatic Downloads
        • Import-OSMedia
        • Update-OSMedia
      • OSMedia Baseline
      • MultiLang Baseline
        • Clean Start
        • Add Primary Operating System
        • ContentPack Configuration
        • New-OSBuild
        • New-OSBuild PE
    • Legacy Operating Systems
      • Windows 7 SP1
        • Build and Capture
      • Windows Server 2012 R2
    • Windows MultiLang
      • Requirements
      • OSMedia
      • OSBuild Task
      • OSBuild Task WinPE
      • OSBuild
      • OSBuild Test
      • OSBuild MultiLang
      • OSBuild MultiLang Test
    • Support
      • Review the Logs
  • External Links
    • Addons
      • OSDBuilder Import Tool (Andrew Jimenez)
    • WebCast
      • Offline WaaS Servicing (Modern Deployment)
    • Training
      • Arthur
      • DeploymentMX (2018)
      • Brian Gonzales
      • Ben Whitmore
      • Manel Rodero
      • DeploymentMX (2019)
Powered by GitBook
On this page
  • Mount Features on Demand ISO
  • Copy Script
  • Remove Unnecessary Content
  • New-OSBuildTask

Was this helpful?

  1. Docs
  2. ContentPacks
  3. Recipes

Multilang FOD RSAT

To properly add RSAT to Windows 10 using ContentPacks and proper Language support, follow these steps. Languages are selected by the System Language and the installed Language Packs

Windows 10 1909 uses the same FOD as Windows 10 1903

Mount Features on Demand ISO

You will need to first mount the Features on Demand ISO

Copy Script

Adjust the following script to copy the content to the ContentPack. Modify and repeat as necessary

#Path to the mounted Features on Demand ISO
$FodISO = 'G:\'

#Set the Arch and ReleaseId of the mounted FOD ISO
$Arch = 'x64'
$ReleaseId = '1903'

#ContentPack Name
$ContentPack = 'MultiLang FOD RSAT'

#Languages to support
#The first value must be $null for Language Neutral
#Second value can be * for all Languages
#Second or additional values can be the Language.  eg. en-us
$Languages = @($null,'*')

#Do not modify below this line
#Initialize OSDBuilder
OSDBuilder -Initialize

#Create the ContentPack
New-OSDBuilderContentPack -Name $ContentPack -ContentType OS

#Destination Path
$Destination = "$SetOSDBuilderPathContentPacks\$ContentPack\OSCapability\$ReleaseID $Arch RSAT"

#Process Content
$Architectures = @('x86','amd64','wow64')
if (!(Test-Path $Destination)) {New-Item $Destination -ItemType Directory -Force | Out-Null}
foreach ($Language in $Languages) {
    foreach ($Architecture in $Architectures) {
        Get-ChildItem $FodISO -Recurse -Include metadata,FoDMetadata_Client.cab,"Microsoft-Windows*FoD*$Architecture~$Language~.cab" -Exclude *LanguageFeatures*,*Holographic* | foreach {
            if (!(Test-Path "$Destination\$($_.Name)")) {
                Write-Output "$Destination\$($_.Name)"
                Copy-Item $_.FullName $Destination -Force -Recurse
            }
        }
    }
}

Remove Unnecessary Content

You can now safely remove all directories in the ContentPack except for OSCapability

In the OSCapability directory, remove the non-RSAT directories

New-OSBuildTask

Now simply add the ContentPack to your MultiLang OSBuild Task with the AddContentPacks parameter. During New-OSBuild, RSAT will be enabled with the proper Language support

PreviousMultiLang FOD NetFX3NextFrogger

Last updated 5 years ago

Was this helpful?