Install .net 3.5 on Windows 1809 for enterprises

Install .net 3.5 on Windows 1809 for enterprises

So, I ran into a situation where after upgrading a Win 10 machine to Windows 10 v1809, that it did not have .net 3.5 installed on the machine; and can only assume that the upgrade must have messed up something; and in troubleshooting figured out also that .Net 3.5 is also a Feature on Demand (FoD). My remediation below:

If you go to the Volume Licensing Service Center (VLSC) and download the FoD package, you will be able to install via offline or just create an SCCM application/package.

Once you complete the download, extract disk 1 of the FoD. Next, create a new folder so you only copy the .cab’s that are needed to install RSAT. No reason to use the huge 4.5GB file. The files/folders that are need to be copy is as follows:

metadata (folder)
FoDMetadata_Client.cab
Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~.cab
Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~.cab

Now that you have the files in a folder, create a PowerShell script in that folder to run to install .Net 3.5. Here is an example of what we used:

$NETFX3Install=Get-WindowsCapability -Online -Source .\ -LimitAccess |where name -like netfx3* | select name
  foreach ($item in $NETFX3Install){
  Write-Output $item.Name
  Add-WindowsCapability -Online -Name $item.name -LimitAccess -source .\ 
  }

Hopefully this helps you out as it did I.

Leave a Comment

%d bloggers like this: