Server Manager not available/accessible after removing .Net feature in widows server 2019

Viewed 5883

I have removed .Net Framework feature from "Server Manager -> Remove Roles and features Wizard".

enter image description here (This image is from a different server)

Later I noticed that this activity has affected many windows features (Server manager, IIS Manager, Turn on off windows features etc..).

After removed .Net Framework feature I was not able to find the Server Manager application.

I tried answer in this link and able to restore ServerManager.exe but once I try to load the server manager it's giving below error, enter image description here

I may be able to resolve this if I can re enable .Net frame work feature. But not sure how to do that without using server manager(since I cannot open sever manager). Appreciate any solutions or suggestions regarding this.

3 Answers

Finally able to re enable .Net feature and access server manager by following below steps,

  1. Open command prompt
  2. Run the command: dism /online /enable-feature /featurename:NetFx4ServerFeatures /ALL and press return.
  3. Type PowerShell and press enter.
  4. Run the command: Install-WindowsFeature PowerShellRoot,PowerShell,PowerShell-ISE.
  5. Restart the server.

Credit belongs to this blogger: https://glennopedia.com/2020/02/14/why-you-shouldnt-remove-net-in-windows-server/

This kind of errors are caused due to lack of .NET framework on your machine or if you installed old version of framework. You need to install an appropriate .NET Framework on your computer.

Updating .NET framework on your computer will solve your problem maximum.

Install it from the Microsoft website.

Run as Administrator , the server manager will open. Now you can try to add.

Related