Enabling .NET Framework 3.5.1 in Windows 10 OSD using Configuration Manager

As in earlier Windows Versions the Feature Installation of .NET Framework 3.5.1 in Windows 10 is still needed if you have (legacy) Applications which are depending on it. By default, this feature is not enabled:


If you’re using Microsoft Deployment Toolkit (MDT), enabling NET Framework 3.5 during a Task-Sequence is pretty simple due to a dedicated Step for Roles and Features. If you “just” have Configuration Manager without MDT, you need to do the (little) magic on your own.

1. Mount the Windows 10 ISO and navigate to the following Folder “\sources\sxs”

Starting with Windows 10 the structure of the sxs folder is different from before. With Windows 8 / 8.1 we had around 800 Folders. In Windows 10 this is reduced to one single file called “microsoft-windows-netfx3-ondemand-package.cab”


2. Grab that file and copy it to a new folder on your Package Share. Create a new file called “InstallNetFx3.ps1” in the same folder with the following content:

$currentLocation = Split-Path -Parent $MyInvocation.MyCommand.Path;
Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -Source $currentLocation -LimitAccess -All


3. Create a new package in the Configuration Manager Console:

4. Enter a package name and set the source folder to the Package Share Folder which you just created with the two files:

5. Do not create a program:

6. Review your settings:

7. Close the Create Package and Program Wizard:

8. Distribute the content of the created package to your Distribution Point(s) or Distribution Point Group(s):configmgr_netfx3_distributepackage

9. Open your Windows 10 Task-Sequence and create a new Step “Run PowerShell Script”configmgr_netfx3_ts1

10. Select your created package and enter the Script name as below. Don’t forget to set the PowerShell execution policy field to Bypass, otherwise the execution of the Script will fail:

11. Run the Task-Sequence. After completion .NET Framework 3.5 should be enabled as below:configmgr_netfx3_win10features2


Source : http://msitproblog.com/2015/10/14/enabling-net-framework-3-5-1-in-windows-10-osd-using-configuration-manager/


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: