试图在VM Windows 2016上安装Net Framework 3.5 [英] trying to install net framework 3.5 on VM Windows 2016
问题描述
PS C:\ Users \ veryimportantpu> Add-WindowsFeature NET框架核心
您应该能够使用Windows功能而不是PowerShell启用此功能.
如果您在VM中打开搜索并查找Windows功能,则选择打开或关闭Windows功能"中的调整".
然后您可以从那里启用它
I would like to install .NET Framework 3.5 on Windows Server 2016 VM . Please see error messages below.
PS C:\Users\veryimportantpu> Add-WindowsFeature NET-Framework-Core
Add-WindowsFeature : The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed.
One or several parent features are disabled so current feature can not be enabled. Error: 0xc004000d
+ CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind owsFeatureCommand+ Add-WindowsFeature NET-Framework-Core
You should be able to enable this using Windows Features rather than PowerShell.
If you open a search in your VM and look for Windows Features you then pick Tun on or off Windows Features
Then you can enable it from there
这篇关于试图在VM Windows 2016上安装Net Framework 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!