I tested the new "dotNetFx35_WX_10_x86_x64_u" install package on 25H2 It worked only after changing this line in the cmd file I hope this will be fixed in the next release @abbodi1406
Hi @abbodi1406 Could you please add Windows Server 2022 (build 20348) into the package? Thank you very much~
Nb I am the author of the script For windows server ? Use dism .... with net framework source from iso/usb of server 2022 CMD script to install .NET Framework 3.5 on Windows Server 2022 using a mounted ISO, without downloading files from Windows Update. Save code as netfx3.5.bat script works for any server 2008 r2 up to 2025 and windows 8 up to 11 Nb replace ISO=D with drive letter like D or others If drive are E become ISO=E Code: @echo off setlocal EnableExtensions title Install .NET Framework 3.5 - Windows Server 2022 :: Check for administrator privileges net session >nul 2>&1 if not "%errorlevel%"=="0" ( echo ERROR: Please run this script as Administrator. pause exit /b 1 ) :: Drive letter of the mounted Windows Server ISO set "ISO=D:" :: Check whether the installation source exists if not exist "%ISO%\sources\sxs\" ( echo ERROR: Source folder "%ISO%\sources\sxs" not found. echo Please update the ISO variable in this script. pause exit /b 2 ) echo. echo Installing .NET Framework 3.5... echo Source: %ISO%\sources\sxs echo. DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:"%ISO%\sources\sxs" /LimitAccess if errorlevel 1 ( echo. echo ERROR: Installation failed. DISM exit code: %errorlevel% pause exit /b 3 ) echo. echo Installation completed successfully. echo. echo Verifying feature status... DISM /Online /Get-FeatureInfo /FeatureName:NetFx3 pause exit /b 0
Why don't you leave the answering of specific questions to the starter and dev of the thread, the question was a request to add something, not getting a script who knows from where that is nicked..