今天将windows server 2016上的Web IIS 删除, 也同时将.NET Framework 4.6 删除, 导致系统无法打开Server Manager. 囧!!
通过CMD命令DISM可以启用.NET 4.6等windows features:
- 首先运行如下命令查看当前的功能安装情况
Dism /online /Get-Features
- 然后运行下面的命令安装功能:
Dism /online /Enable-Feature /FeatureName:NetFx4 /All
Dism /online /Enable-Feature /FeatureName:NetFx4ServerFeatures /All
Dism /online /Enable-Feature /FeatureName:MicrosoftWindowsPowerShell /All