在Win8下运行某些程序时,需要安装.NET Framework3.5
但是.NET Framework3.5只能在线安装,手动下载安装包安装无效,而在线安装经常是下载失败,常见的错误如下:
0x800f0906: “Windows couldn't connect to the Internet to download necessary files. Make sure that you're connected to the Internet, and click Retry to try again.”
这时候如果手头有Win8的安装光盘或镜像,可以以手动方式安装该特性:
1.将Win8安装盘放入光驱,或挂载Win8镜像,或将Win8安装盘中的 sources/sxs 目录拷贝出来
2.Windows键+X,以管理身份运行命令提示符,输入如下命令,即可手动安装
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:H:\sources\sxs