Inject .NET 3.5 SP1 into your Windows image (WIM) using DISM offline servicing. This way, every new PC you image comes pre-loaded with the framework.
dism /mount-wim /wimfile:install.wim /index:1 /mountdir:mount
dism /image:mount /add-package /packagepath: "C:\DotNet35\cabfile.cab"
dism /unmount-wim /mountdir:mount /commit
This is a classic .NET 3.5 bug. It usually happens due to pending Windows Updates. Fix: Go to Settings > Windows Update > Check for updates. Install all pending updates, reboot, and then re-run the DISM command. net framework 3.5 sp1 offline installer
Here are three guaranteed methods to install using the offline installer. Inject