It seems (from Michael Niehaus’s post here) that some folders are missed out when replicating to Linked Deployment Shares and more importantly (in my case anyway) to Offline Media – in my scenario the folder being missed is some Custom GPOPacks that I have created and placed in the ‘%DeploymentRoot%\Templates\GPOPacks’ folder.
As Michael demonstrates there is a PowerShell command which can be used to ensure that this content is copied when creating Offline Media. This is what I used to add my GPOPacks into my Offline Media copy:
Import-Module 'C:\Program Files\Microsoft Deployment Toolkit\Bin\MicrosoftDeploymentToolkit.psd1' Restore-MDTPersistentDrive Set-ItemProperty -Path 'DS002:\Media\MEDIA001' -Name ExtraFolders -Value @(“Templates\GPOPacks”)
After running these commands and then updating the media content, the required folders were included in the Offline Media.