Hello
Thank you for posting in Microsoft Community forum.
It sounds like you're attempting to install the .NET Framework 3.5 on Windows Server 2012 R2 and encountering an issue with the source files not being available. Here's some methods you can try:
First, ensure that your system is fully updated as updates might include necessary files.
- Prepare the Source Files:
If you have the Windows Server 2012 R2 installation media, you can use it as the source for the .NET Framework 3.5 files.
Mount the ISO or insert the installation DVD.
- Use DISM with a Source Path:
Note the drive letter of the mounted ISO or installation DVD (let's assume it's D:).
The required files are located in the sources\sxs
folder. Using DISM, you can specify the source path as follows:
dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess
Note:Replace D:
with the actual drive letter of your mounted ISO or installation media.
- Ensure Connectivity to Windows Update (if using online source):
If you don't have the installation media, ensure that the server has access to Windows Update, as DISM might attempt to download the feature from there.
- Check Group Policy Settings (if applicable):
Sometimes, group policies can restrict the installation. Ensure there is no policy blocking the installation of features from Windows Update.
Check the policies at Computer Configuration -> Administrative Templates -> System -> Specify settings for optional component installation and component repair
. Ensure it is either "Not Configured" or configured to allow the installation of optional components.
- Install via Server Manager:
Open Server Manager.
Navigate to Add roles and features
.
Follow the wizard and select .NET Framework 3.5 Features
.
On the "Confirm installation selections" page, click "Specify an alternate source path".
Enter the path to the sources\sxs
folder on your installation media.
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou