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.

Developer technologies .NET .NET Runtime
Developer technologies .NET .NET CLI
{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.

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.