No .NET 4 in registry

Bourgais, David 96 Reputation points
2021-06-10T09:44:10.693+00:00

Dears,

On Windows Server 2019, I wanted to install .net 4.8 framework.
I wanted to revert back afterwards and were the problems.
First, I don't have anymore access to server manager app.
Second and more strange is in regedit, I don't have any entry for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4. It stops at v3.5.
Even if I try to reinstall .net framework 4.8, it says it's already in. If I try on .net 4.5, 4.6 or 4.7, it says I got already an higher version of .net.
How can I restore .net 4 on my system?
Thanks in advance for your help,

Kind regards,

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,693 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bourgais, David 96 Reputation points
    2021-06-10T12:58:54.23+00:00

    Hi Leon
    Well, I think I solved it using: Dism /online /Enable-Feature /FeatureName:NetFx4 /All
    Et voila, I got again my v4 in the registry editor and it looks to work like a charm.
    Thanks for your support anyway, appreciate it,
    Kind regards,


1 additional answer

Sort by: Most helpful
  1. Leon Laude 86,016 Reputation points
    2021-06-10T11:11:02.31+00:00

    Hi @Bourgais, David ,

    Sounds like your .NET Framework might be corrupted/broken, I suggest trying the Microsoft .NET Framework Repair Tool over here:
    https://www.microsoft.com/en-us/download/details.aspx?id=30135

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Best regards,
    Leon


Your answer

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