FIX: NET Framework 3.5 0xc004000d Install Error on Server 2016. (Solved)
The Net Framework 3.5 0xc004000d installation error on a Windows Server 2016, appears because Windows cannot find, or cannot download, the required files needed to install the .NET Framework 3.5 features (that includes .Net Framework 2.0 & 3.0.). In this tutorial, you will find step by step instructions and all the available methods to resolve the NET Framework 3.5 0xc004000d installation error on Server 2016.
"The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, of features failed.
One of the several parent features are disabled so current feature can not be installed. Error: 0xc004000d"
How to Install .NET Framework 3.5, 2.0 & 3.0 on Server 2016.
Method 1. Specify an Alternative Source for the Installation Files.
Method 2. Install NET Framework 3.5 using DISM.
Method 3. Install NET Framework 3.5 from PowerShell.
Method 1. Specify an Alternative Source for the Installation Files.
Requirements: A Windows Server 2016 Installation Media (or .ISO file)
1. Attach the Windows Server 2016 installation media (or mount the Windows Server 2106.ISO file).
2. Open Windows Explorer and note the drive letter of the Windows media.
3. In Server Manager click Add roles and features.
2. At 'Installation Type' options, choose Role-based or feature-based installation and click Next.
3. Select the local server as the destination server and click Next.
4. At 'Select server roles' options screen click Next.
5. At 'Features' options, select the .NET Framework 3.5 features and click Next.
6. Click Specify an alternative source path.
7. In Path box, type:
- X:\sources\sxs
* Note: Where X=the drive letter of the Windows Server 2016 install media. (When done, click OK)
8. Click Install to install the Net Framework feature.
9. If everything goes smoothly, you should informed that the .Net Framework installation succeeded.
Method 2. Install NET Framework 3.5 using DISM.
Requirements: A Windows Server 2016 Installation Media (or .ISO file)
1. Attach the Windows Server 2016 installation media (or mount the Windows Server 2106.ISO file).
2. Open Windows Explorer and note the drive letter of the Windows media.
3. Open Command Prompt as Administrator and give the following command:
- DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:X:\sources\sxs
* Note: Replace the letter "X" on the above command according the drive letter of the Windows media. e.g. If the Windows Media's drive letter is "E" , type:
- DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:E:\sources\sxs
Method 3. Install NET Framework 3.5 using PowerShell.
Requirements: A Windows Server 2016 Installation Media (or .ISO file)
If you cannot still install .NET Framework 3.5 by using the DISM command, try to install it from PowerShell. To do that:
1. Attach the Windows Server 2016 installation media (or mount the Windows Server 2106.ISO file).
2. Open Windows Explorer and note the drive letter of the Windows media.
3. Open PowerShell as Administrator and give this command:
- Enable-WindowsOptionalFeature –Online –FeatureName "NetFx3" –Source X:\sources\sxs -LimitAccess
Note: Replace the letter "X" on the above command according the drive letter of the Windows media. e.g. If the Windows Media's drive letter is "E" , type:
- Enable-WindowsOptionalFeature –Online –FeatureName "NetFx3" –Source E:\sources\sxs -LimitAccess
That's it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
We're hiring
We're looking for part-time or full-time technical writers to join our team! It's about a remote position that qualified tech writers from anywhere in the world can apply. Click here for more details.
- How to Backup Synology NAS to External USB Drive. - December 11, 2023
- How to Send Automatic Replies in Outlook with an Office365/Exchange Account. - December 6, 2023
- How to Send Automatic Replies in Outlook with POP3/IMAP Accounts. - December 4, 2023
September 11, 2023 @ 1:43 pm
These don't always work but #3 is the closes. The only way we were able to resolve these, you need to jump through some hoops.
1) “Right click” on “CMD” then “Left click” on “Run as Administrator”.
2) In the “Command” window copy and paste the following command:
reg add “HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU” /v UseWUServer /t REG_DWORD /d 0 /f
3) Press the “Start” button, then in the “Search Bar” type “PowerShell”.
4) “Right click” on “PowerShell” then “Left click” on “Run as Administrator”.
5) In the “PowerShell” window copy and paste the following command:
Get-WindowsCapability -Online -Name NetFx3~~~~
NOTE: After the command completes it will show you some additional information.
Successful:
Name : NetFX3~~~~
State : False
Display Name : .NET Framework 3.5 (includes .NET 2.0 and 3.0)
Description : .NET Framework 3.5 (includes .NET 2.0 and 3.0)
Download Size : 72702771
Install Size : 247885750
NOTE: If it says “State: True” you can skip the next step (14) and continue with the step after.
6) In the same “PowerShell” window copy and paste the following command:
Add-WindowsCapability -Online -Name NetFx3~~~~
NOTE: If the status bar inside PowerShell does not make it past 6 or 7 segments in 30 minutes, you may need to reboot the PC.
7) In the same “PowerShell” window copy and paste the following command:
Enable-WindowsOptionalFeature -Online -FeatureName "NetFx3"
NOTE: After the install command completes it will show you a status.
Path :
Online : True
Restart Needed : True
8) In the Elevated Command Prompt run the following command to remove the registry key.
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v UseWUServer /f