DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:D:\sources\sxs Use code with caution.
/Online : Targets the operating system you are currently running. /All : Enables all parent features of the specified feature. download sxs windows server 2012 r2
This is often faster and more reliable than the GUI. Open an and run: This is often faster and more reliable than the GUI
Because Microsoft does not provide a standalone "SxS folder" download, you must obtain it through one of the following official methods: Installing
Open and click Manage > Add Roles and Features .
/LimitAccess : Prevents DISM from contacting Windows Update (useful if the server is offline or uses WSUS). Installing .Net 3.5 on Windows 2012 R2 - Server Fault
Windows Server 2012 R2 utilizes a system called , which means certain installation files—most notably for .NET Framework 3.5 —are not stored on the local hard drive to save space. When you attempt to enable these features, you must provide an "alternate source path," typically pointing to the \sources\sxs folder found on the original installation media. How to Obtain the SxS Folder