Installing .NET Framework 3.5 with MDT
- By : Dom
- Category : Deployment
- Tags: .Net 3.5, DISM, MDT
You could use a DISM command line to install .net Framework 3.5 using something like:
DISM.exe /online /enable-feature /featurename:NetFX3 /All/Source:”%deployroot%\Operating Systems\Windows 8.1 x64 Enterprise\Sources\SXS” /LimitAccess
But since you have already imported the OS into MDT you may as well use the media that MDT already has and specify the source instead of using online sources.
In the State restore add a step to set the WindowsSource Path
The Windows Source will be located within the Operating Systems folder on your Deployment Share
- Add a Set Task Sequence Variable step
- Type Task Sequence Variable: WindowsSource
- Type Value for your source files: %deployroot%\Operating Systems\Windows 8.1 x64 Enterprise VL\Sources\SXS
- Add a Install Roles and Features step
- Select your Operating System within the step
- Mark .NET Framework 3.5 (Includes .NET 2.0 and 3.0)
At this point, you could also remove the Skip roles from CustomSettings.ini using: SkipRoles=YES
No Comments