积极答复者
WindowsServer2012R2系统安装.Net Framework3.5的几种方式都未成功,请问是什么原因?

问题
-
按照网上的说明进行了以下几个方式安装,都出现出失败,请问是什么原因?
1、使用“备用源”方式安装“.Net Framework3.5”时,从光盘指定路径和硬盘指定路径均提示安装失败。可以确定的路径完全没有问题,使用系统盘或者ISO文件均无效
如指定以下路径:
G:\Sources\Sxs\ 或G:\Sources\Sxs 或 D:\Sources\Sxs\ 或 D:\Sources\Sxs
提示安装失败,找不到源文件。
2、使用Dism 命令安装也提示失败:
指令:Dism /online /enable-feature /featurenane:NetFx3 /All /Source:c:\sources\sxs /LimitAccess
安装进度到 66.3% 后提示错误代码: 0x800f081f
3、使用网上提供“PowerShell脚本命令”安装也出现失败:
命令如下:
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0
Restart-Service -Name wuauserv
Install-WindowsFeature Net-Framework-Core
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1
Restart-Service -Name wuauserv
答案
-
您好,
错误代码: 0x800f081f表示我们遇到的问题使无法正确读取安装源。
由于您已经尝试了很多方法,在此,我建议您再进行如下尝试:
- 重新下载一个ISO,将其挂在并作为安装源进行再次尝试。
- 运行命令Dism /online /cleanup-image /restorehealth 和sfc scannow以修复可能受损的系统文件。
Best Regards,
William
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已标记为答案 maple_leaf_Blue 2018年6月26日 13:01
-
首先确保你安装的是MSDN原版系统,然后挂载你当前安装的这个2012 R2系统的ISO镜像,系统管理员权限打开cmd命令行窗口,依次尝试执行以下命令行:
先试试
dism.exe /online /enable-feature /featurename:netfx3 /Source:X:\sources\sxs /all
不行就依次执行下面的
dism.exe /online /enable-feature /featurename:NetFx3ServerFeatures /Source:X:\sources\sxs
dism.exe /online /enable-feature /featurename:netfx3 /Source:X:\sources\sxs其中X是挂载ISO镜像的盘符,请自行修改。我是server 2016系统,这样操作一下就成功了,不知道在2012 R2上是否适用,你可以试试
Pulled over our eyes to blind us from the truth
- 已标记为答案 maple_leaf_Blue 2018年6月26日 13:01
全部回复
-
您好,
错误代码: 0x800f081f表示我们遇到的问题使无法正确读取安装源。
由于您已经尝试了很多方法,在此,我建议您再进行如下尝试:
- 重新下载一个ISO,将其挂在并作为安装源进行再次尝试。
- 运行命令Dism /online /cleanup-image /restorehealth 和sfc scannow以修复可能受损的系统文件。
Best Regards,
William
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已标记为答案 maple_leaf_Blue 2018年6月26日 13:01
-
首先确保你安装的是MSDN原版系统,然后挂载你当前安装的这个2012 R2系统的ISO镜像,系统管理员权限打开cmd命令行窗口,依次尝试执行以下命令行:
先试试
dism.exe /online /enable-feature /featurename:netfx3 /Source:X:\sources\sxs /all
不行就依次执行下面的
dism.exe /online /enable-feature /featurename:NetFx3ServerFeatures /Source:X:\sources\sxs
dism.exe /online /enable-feature /featurename:netfx3 /Source:X:\sources\sxs其中X是挂载ISO镜像的盘符,请自行修改。我是server 2016系统,这样操作一下就成功了,不知道在2012 R2上是否适用,你可以试试
Pulled over our eyes to blind us from the truth
- 已标记为答案 maple_leaf_Blue 2018年6月26日 13:01
-