Unable to install .net

Handian Sudianto 7,301 Reputation points
2026-05-18T13:14:32.6466667+00:00

I try install .net framework on my windows server 2019 but got below error even i have permission on the foldeUser's image

Then i try to extract the exe file and run the setup file and got below error.User's image

Try running netfx_core_x64 and got below error. Anyone know how to solve this erroer?User's image

Developer technologies | .NET | .NET Runtime
0 comments No comments

3 answers

Sort by: Most helpful
  1. AI answer

    2026-05-18T13:14:57.5633333+00:00

    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:

    1. Open Server ManagerManageAdd Roles and Features.
    2. Go to Features.
    3. 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.
    4. 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\sxs folder as the alternate source path as described in the .NET 3.5 installation article.
    5. 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:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    2 people found this answer helpful.
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Danny Nguyen (WICLOUD CORPORATION) 7,345 Reputation points Microsoft External Staff Moderator
    2026-05-19T04:21:26.3966667+00:00

    Hi @Handian Sudianto ,

    On Windows Server 2019, .NET Framework 4.7.2 is included with the OS. The key clue is your third screenshot: “Microsoft .NET Framework 4 is already a part of this operating system, but it is currently turned off.”

    So the first thing to do is enable the built-in .NET Framework 4.x feature in Server Manager → Add Roles and Features → Features, or in Turn Windows features on or off.

    After that:

    • If the application works, you can stop there.
    • If the application specifically requires .NET Framework 4.8, then install 4.8 separately after enabling the built-in framework.

    Microsoft’s documentation for Windows/Windows Server shows that Windows Server 2019 includes .NET Framework 4.7.2, and 4.8 is the latest supported upgrade:

    https://learn.microsoft.com/en-us/dotnet/framework/install/on-windows-and-server

    If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance or provide feedback.

    Thank you. 

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.