Return Error Code 0x8024402c prompt when installing .NET Framework 3.5 feature on Windows 10 or Windows Server 2019 although installation media disc inserted.
The request to add or remove features on the specified server failed. Installation of one or more roles, role services, or features failed. Error: 0x8024402c
Error installation Microsoft(R) .NET Framework, Return Code: 0x8024402c
Resolution step as below:
Step 1: Open Notepad.
Step 2: Copy and paste the following into it:
Title .NET Framework 3.5 Offline Installer
for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist "%%I:\\sources\install.wim" set setupdrv=%%I
if defined setupdrv (
echo Found drive %setupdrv%
echo Installing .NET Framework 3.5...
Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess
echo .NET Framework 3.5 should be installed
) else (
echo No installation media found!
echo Insert DVD or USB flash drive and run this file once again.
Step 3: Save it as framefx.cmd
Step 4: Insert Windows 10 / Windows Server 2019 installation media ISO.
Step 5: Right-click framefx.cmd
Step 6: Click Run as administrator.
Step 7: The file will install .NET Framework 3.5 automatically after finding the drive letter of your Windows 10 installation media.
If the installation media are not found then insert Windows 10 / Windows Server 2019 USB or DVD drive and run as administrator again. If there is an issue in regards to your installation media, download the Windows 10 / Windows Server 2019 ISO file from Microsoft Evaluation Center then double-click to mount it.
Reference: Microsoft Community > Error Code 0x8024402c windows 10 when installing .net framework 3.5