Symptoms

When you (by accident) remove .NET Framework 4.5/4.6 from the Windows Server Roles and Features, many tools on the server stop working, including:

  • Server manager
  • PowerShell
  • Server management tools
  • Control panel
  • Add & Remove software from control panel

Troubleshooting

When you try to reinstall .NET Framework from the install files via classic media, the setup fails.

Solution

In an elevated Command Prompt run:

dism /online /enable-feature /featurename:netfx4

See also

References