Enable .NET Framework 3.5 in Windows 10 using SCCM

42 3,389

In this post we will see the steps to enable Net Framework 3.5 in windows 10 using SCCM. Few legacy applications still need dot net framework 3.5 to function well. When you install windows 10, the .Net Framework 3.5 is not enabled. The user has to enable it manually and this is painful when you have many systems in your setup. We will be using SCCM to achieve this task. We will create a package that enables .Net framework 3.5 in Windows 10. To enable dot net framework 3.5, there are various methods to go with. You could use DISM method or group policy or by using Powershell too. We will use a very simple way to deploy the dot net framework 3.5.

Related Posts :-

Enable NET Framework 3.5 in Windows 10 using SCCM

Let’s now look at the steps to enable .NET framework 3.5 in windows 10 using SCCM. First of all I have got few set of files required for deployment. Ensure that you copy microsoft-windows-netfx3-ondemand-package to a folder first. Then paste both the scripts in the same folder. You can download them from here. It’s a zip and extract all of them and place it into sources folder.

Enable .NET Framework 3.5 in Windows 10 using SCCM Snap1Right click Packages and click Create Package.

Enable .NET Framework 3.5 in Windows 10 using SCCM Snap1

Specify the name of the package and provide the path to source files. Click Next.

Enable .NET Framework 3.5 in Windows 10 using SCCM Snap1Select Do not create a program. Click Next.

Enable .NET Framework 3.5 in Windows 10 using SCCMClick Close.

Enable .NET Framework 3.5 in Windows 10 using SCCMRight click Task Sequences and click Create Task Sequence. Next select Create a new custom task sequence. Click Next.

Enable .NET Framework 3.5 in Windows 10 using SCCMSpecify the Task Sequence name and click Next.

Enable .NET Framework 3.5 in Windows 10 using SCCMOn the completion page, click Close.

Enable .NET Framework 3.5 in Windows 10 using SCCM

Right click and edit the task sequence. Click Add > General > Run PowerShell script.

Enable .NET Framework 3.5 in Windows 10 using SCCM

Provide the script name with extension. Ensure the PowerShell execution policy is set to Bypass. Click OK.

Enable .NET Framework 3.5 in Windows 10 using SCCM

On the client computer refresh the software center. When you see the application click Install. The package is downloaded and installed.

Enable .NET Framework 3.5 in Windows 10 using SCCM

Finally you have found an easy way to enable .Net Framework 3.5 in Windows 10.

Enable .NET Framework 3.5 in Windows 10 using SCCM

Video Tutorial :-

  • Hi,

    i’m having a problem with the script.

    Enable-WindowsOptionalFeature : The source files could not be found.
    Use the “Source” option to specify the location of the files that are required to restore the feature. For more

    thank you

  • when i run the script manually i don’t get any error, but when the sccm deploys it. i receive this error

    Enable-WindowsOptionalFeature : The source files could not be found.
    Use the “Source” option to specify the location of the files that are required to restore the feature. For more

  • Hi, and thanks for all your good posts.

    I also apply updates using SCCM, and .net 3.5 is available there. Would it be possible to enable .NET simply by running something like:
    “Install-WindowsFeature Net-Framework-Core” in my TS?

  • This works perfectly, thanks. Is there any reason this couldn’t be done as an Application instead of a Package/Task Sequence? The reason I ask is the User Experience options for Software Center in Applications are better than Task Sequences. Specifically, if the Application is Required, you can Hide it from Software Center – I didn’t see that option in Task Sequences.

  • Can someone please answer Sam’s question. I would like to run as required instead of available as I have an application in OSD TS that needs this enabled.

  • Worked perfectly!
    I just wanted to say thank you for this tutorial and all of the tutorials that you have posted. They have all been incredibly helpful.

  • How can I make a cab-package with the source files of .Net Framework 3.5 for Windows Server 2012 R2 to deploy it via SCCM?

  • Hi Pradjwal!
    were can i find the microsoft-windows-netfx3-ondemand-package?
    I’m not understanting or i can’t find it.

    Thanks for your help!

  • I am trying this on Fall Creators Update 1709. Do these files need to be updated?
    My task sequence completes successfully but .NET 3.5 is not enabled, even after a reboot.

    • Gary,
      I am trying the same thing on 1709. The Task Sequence completes successfully and I watched as it opened a new window to install .Net 3.5.
      After it finished I checked to see if the box was checked on the “Turn Windows Features On and Off” and it was still unchanged. Did you ever get this resolved?

  • Thanks for a great blog but I am having issues with the task sequence failing

    On examining the log it displays the following error
    The argument ‘Install NetFX3.ps1’ to the -File parameter does not exist. Provide the path to an existing ‘.ps1’ file as an argument to the -File parameter.

    Any help gratefully appreciated

  • dropbox link doesnt work, could you please post the scripts?

    Error (429)
    This link is temporarily disabled. The person who shared it hit their daily limit of traffic or downloads. Learn about traffic limits.

  • I´m using SCCM 2012 and in Task Sequence Editor is no option Run Powershell Script, just Run Command Line. How can I run ps1 file to enable .Net3.5? Thank for help

  • Hi Prajwal,
    I´m using SCCM 2012 and in Task Sequence Editor there is no Run Powershell Script option, just Run Command Line. How can I run your ps1 file in Command Line option? Thank you for help. OP

  • >