1) Download the Microsoft .NET Framework 4 (Standalone Installer) http://www.microsoft.com/en-us/download/details.aspx?id=17718
– Copy this file to your SCCM server repository location. Ex: \\SCCM\Source\dotNet4
2) In the SCCM 2012 Console under Software Library > Application Management > Packages
– Right Click Packages and “Create Package” > Name your package and point it to your repository \\SCCM\Source\dotNet4
3) Select “Standard Program” > Give the program a name “Install” > Browse and select the “dotNetFx40_Full_x86_x64.exe”
– Under Command Line type: “dotNetFx40_Full_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT”
Set the program to run “Whether or not a user is logged on”
4) Hit okay and add this package to your Task Sequence.