Net Framework missing or blocked

J Longstreet 41 Reputation points
2021-02-22T12:26:31.14+00:00

In an efforts to enable an MVC IIS site to come up, someone suggested uninstall and reinstall of Net Framework. The removal of NET Framework causes Server Manager to disappear and control panel or "Turn Features On and Off" search in the settings to fail. I tried downloading a tool from Microsoft called NetFxRepairTool.exe which not only failed but told me it needs to send information to Microsoft because it cannot find the cause in the logs.

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,126 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jamie22 1 Reputation point
    2021-02-22T12:29:12.197+00:00
    1. Right-click the Start button and choose the Run option.
    2. Run the command shell (cmd.exe).
    3. Run the command: dism /online /enable-feature /featurename:NetFx4ServerFeatures /ALL
    4. Run PowerShell (PowerShell.exe).
    5. Run the command: Install-WindowsFeature PowerShellRoot,PowerShell,PowerShell-ISE
    6. Restart the server.