今天將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