[SOLVED] Windows server 2012R2 does not want to install net framework 3.5.

David86

Well-known member
Joined
Feb 12, 2020
Posts
129
Hello. I ask you to help me. I have been trying for several days to find a solution why Windows server 2012R2 does not want to install features as net framework 3.5.
When any user logs into the server, a pop-up message is displayed stating that the 3.5 framework could not be installed. It is not clear what kind of application began to require it.

Снимок экрана 2023-12-18 193451.jpg

Снимок экрана 2023-12-18 193842.jpg

There were no known problematic updates that would prevent installation on the server. Specifying the path to the mounted iso with the Winsever 2012 installer also did not help, nor did changing the group policy.

Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> DISM /Online /Enable-Feature /FeatureName:NetFx3 /All

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

Enabling feature(s)
[===========================66.4%====== ]

Error: 0x800f0906

The source files could not be downloaded.
Use the "source" option to specify the location of the files that are required to restore the feature. For more informat
ion on specifying a source location, see Configure a Windows Repair Source.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
PS C:\Windows\system32> Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -Source E:\sources\sxs -LimitAccess
Enable-WindowsOptionalFeature : One or several parent features are disabled so current feature can not be enabled.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -Source E:\sources\sxs ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand

PS C:\Windows\system32> Dism /online /enable-feature /featurename:NetFx3 /All /Source:E:\sources\sxs /LimitAccess

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

Enabling feature(s)
[===========================66.4%====== ]

Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more informat
ion on specifying a source location, see Configure a Windows Repair Source.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log



PS C:\Windows\system32> Dism /online /enable-feature /featurename:NetFx3 /All /Source:E:\sources\sxs /LimitAccess

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

Enabling feature(s)
[===========================66.4%====== ]

Error: 0x800f081f

The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more informat
ion on specifying a source location, see Configure a Windows Repair Source.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
PS C:\Windows\system32>
 

Attachments

Hello,

Export registry as hive
  • Click on the Start button and in the search box, type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing

  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).
  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send To -> Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, please upload to Gofile or WeTransfer and just provide the downloadlink here.
 
FRST Search
  1. Click the Start button and choose Control Panel.
  2. In the upper right corner ensure the View by: is set to Category.
  3. Select the Programs group.
  4. Click the Turn Windows features on or off link. This will bring up the Server Manager dialog.
    Note: This loads your components hive which is what we want. Please keep this dialog open while you perform the remaining steps. You can minimize it if you wish but keep it open.
  5. Download the Farbar Recovery Scan Tool and save it to your Desktop:
    64-bit: Downloading Farbar Recovery Scan Tool
    Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.

  6. Right-click on the file FRST64.exe and choose Run as administrator.
  7. Copy and paste [B][COLOR=#0000ff]SearchAll:package_1_for_KB5028872[/COLOR][/B] into the Search box and click the Search Files button.
  8. When the scan is complete, a message will display that 'Search.txt' is saved in the same folder FRST was started from. Notepad will open this file also. Close Notepad and attach the file 'Search.txt' to your next reply.
  9. You may close any remaining open windows now.
 
Remove Update Manually
  1. Click on the Start button and in the search box, type Command Prompt.
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator.
  3. When command prompt opens, copy and paste the following command into it, then press enter.
    wusa /uninstall /KB:5028872
  4. Let me know if it says it was successful or if there are any errors.
 
Great. Restart the computer.
Open an elevated command prompt.
Copy and paste the following commands into it, press enter after each.

Code:
sfc /scannow
Wait for this to finish before you continue

Code:
copy %windir%\Logs\CBS\cbs.log "%userprofile%\Desktop\cbs.txt"
This will create a file, cbs.txt on your Desktop. Zip this file and attach the zipped cbs.txt to your next post.
 
Remove Update Manually
  1. Click on the Start button and in the search box, type Command Prompt.
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator.
  3. When command prompt opens, copy and paste the following command into it, then press enter.
    wusa /uninstall /KB:5028970
  4. Let me know if it says it was successful or if there are any errors.
 
Great. Restart the computer.
Open an elevated command prompt.
Copy and paste the following commands into it, press enter after each.

Code:
sfc /scannow
Wait for this to finish before you continue

Code:
copy %windir%\Logs\CBS\cbs.log "%userprofile%\Desktop\cbs.txt"
This will create a file, cbs.txt on your Desktop. Zip this file and attach the zipped cbs.txt to your next post.
 
Great. The log is clean.
Restart the machine.
Do you still have the issues posted in this thread ?
 
Unfortunately, Net Framework 3.5 still does not install even after removing those updates that caused errors in the logs, and Microsoft's recommendations did not help. .NET Framework 3.5 installation errors: 0x800F0906, 0x800F081F, 0x800F0907, 0x800F0922 .Perhaps you have a net fx 3.5 cab file for WinServer 2012r2 EN because I didn’t find it on the disk and the one I found on the net apparently doesn’t fit.

PS C:\Windows\system32> dism /online /Add-Package /PackagePath:C:\install /ignorecheck

Deployment Image Servicing and Management tool
Version: 6.3.9600.19408

Image Version: 6.3.9600.19397

An error occurred trying to open - microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab Error: 0x800f0
80d

Error: 0x800f080d

DISM failed. No operation was performed.
For more information, review the log file.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
 
Attach a fresh copy of the file C:\Windows\Logs\CBS\cbs.log.
 
Remove Update Manually
  1. Click on the Start button and in the search box, type Command Prompt.
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator.
  3. When command prompt opens, copy and paste the following command into it, then press enter.
    wusa /uninstall /KB:5029915
  4. Let me know if it says it was successful or if there are any errors.
 
Great.
Restart the machine.
Try to install .NET Framework 3.5 again.
If it fails attach a fresh copy of the file C:\Windows\Logs\CBS\cbs.log to your next reply.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top