优选主流主机商
任何主机均需规范使用

如何在Windows Server 2016上恢复不小心卸载的.NET Framework 4.6

本人所用的服务器系统为Windows Server 2016,之前卸载IIS的时候不小心手贱把.net framework 4.6给卸载了,下面有一个比较简单的恢复方法。

可以尝试一下通过cmd命令DISM启用.NET 4.6:

1. 首先运行如下命令查看当前的功能安装情况

Dism /online /Get-Features

2. 然后运行下面的命令安装功能:

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

Dism /online /Enable-Feature /FeatureName:NetFx4ServerFeatures /All

未经允许不得转载:搬瓦工中文网 » 如何在Windows Server 2016上恢复不小心卸载的.NET Framework 4.6