.netazure-vmservermanagerwindows-server-2022

Server Manager.exe - .NET Framework Initialization Error


I'm using Azure VM with Windows Server 2022 Datacenter 21H2. Two weeks back, I created it, and from the end of last week, the server manager was not working. It gives an error.

" To run this application, you first must install one of the following versions of the .NET Framework: v4.0.30319

enter image description here

Then I tried to install the required .net version. Then I got the following message.

"Microsoft .NET Framework 4 is already a part of this operating system, but it is currently turned off. To enable the .NET Framework 4, use Turn Windows features on or off in Control Panel."

enter image description here


Solution

  • Dism /online /Enable-Feature /FeatureName:NetFx4 /All