.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.
On Windows Server 2019, .NET Framework 4.x is built into the OS and isn’t installed by running the standalone web/offline installer. The message “You cannot use this setup program to install the .NET Framework” and the dialog from netfx_core_x64 (“.NET Framework 4 is already a part of this operating system, but it is currently turned off”) indicate that .NET is already present but disabled as a Windows feature.
To resolve the issue, enable the built‑in .NET Framework feature instead of running the EXE:
- Open Server Manager → Manage → Add Roles and Features.
- Go to Features.
- For .NET Framework 4.x, select .NET Framework 4.x Features (for example, .NET Framework 4.7 Features on Server 2019) and all required sub‑features.
- If the app also needs .NET Framework 3.5, enable .NET Framework 3.5 Features here as well. If installation fails with source‑file errors, use the Windows Server media and specify the
\sources\sxsfolder as the alternate source path as described in the .NET 3.5 installation article. - Complete the wizard and let the server install the feature, then reboot if prompted.
If the wizard reports that .NET 4.x is already installed, no further action is required for that version; focus on enabling any missing 3.5 feature if the application targets .NET 3.5 or earlier.
The initial “Unable to create or save new files in the folder into which the files are being extracted” dialog is only from the self‑extracting EXE and can be ignored once using Server Manager instead; .NET should not be deployed on Server 2019 via that EXE.
References:
- .NET Framework 3.5 installation errors: 0x800F0906, 0x800F081F, 0x800F0907, 0x800F0922
- Install .NET Framework on Windows and Windows Server
- Troubleshoot blocked .NET Framework installations and uninstallations
- Install .NET on Windows
- .net 4.8 fails installation on 2016 windows server - Microsoft Q&A