最近在批量部署.Net Framework 4.7时,遇到了报错,搜了些资料后解决了这个问题,具体问题和解决步骤如下。
这个报错是因为缺少了KB4019990这个系统补丁,可根据补丁号去微软官网搜索下载,我放的这个windows server 2008 R2测试通过,想来win7应该也可以。
安装该补丁后,出现了新的报错。
这个需要安装一个根证书即可,似乎在.Net Framework4.6.2以后的版本容易出现这个问题,win10等比较新的系统似乎很少出现这个问题。
1.下载证书:MicrosoftRootCertificateAuthority2011.cer
2.开始→运行→MMC
3.文件→添加删除管理单元 (Ctrl+M)
4.证书→计算机账户(其他的都保持默认,无限下一步)
5.回到窗体,展开:证书→受信任的根证书颁发机构→证书
6.右击展开菜单,所有任务→导入
7.最后选择下载好的cer文件。
然后再安装,.Net Framework4.7就能顺利安装完了。
那么问题来了,这个过程需要手动而且很繁琐,无法大批量部署,怎么通过命令行来实现呢?
OK,do not talk,show the code。
wusa.exe Windows6.1-KB4019990-x64.msu /quiet /norestart #安装系统补丁 certutil -addstore root MicrosoftRootCertificateAuthority2011.cer #安装证书 NDP47-KB3186497-x86-x64-AllOS-ENU.exe /q /norestart #安装.Net Framework4.7
我们最终都要远行,
最终都要跟稚嫩的自己告别。
——海子
评论
F*ckin’ tremendous issues here. I am very happy to look your post. Thanks so much and i am taking a look forward to contact you. Will you please drop me a e-mail?
https://youtu.be/eDbbOWUZvIU
I like this site very much so much excellent info .
https://www.microsys2000.com/ordenadores-portatiles/590737-lenovo-82vg00eesp-ip1-15amn7-r5-7520u-8-512-fdos-0197529191538.html
Magnificent beat ! I wish to apprentice while you amend your web site, how could i subscribe for a blog web site? The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear concept
https://www.axilusonline.com/hire-a-hacker-to-change-grades/
Hey there! This is kind of off topic but I need some help from an established blog. Is it hard to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about creating my own but I’m not sure where to start. Do you have any points or suggestions? With thanks
https://www.xixona.net/cajas-de-lapices/184568-oxford-400159977-oxford-estuche-live-go-cuadrado-grande-esponjoso-c-surtidos-pastel-8427291035870.html
What Is Aizen Power? Aizen Power is presented as a distinctive dietary supplement with a singular focus on addressing the root cause of smaller phalluses
https://youtu.be/u6K_Q_c9jfA
Enjoyed examining this, very good stuff, thankyou. “The fox knows many things, but the hedgehog knows one big thing.” by Archilocus.
https://youtu.be/SfWI8Hj1WfY
Its superb as your other content : D, thankyou for putting up. “The art of love … is largely the art of persistence.” by Albert Ellis.
https://youtu.be/zRP1fV24kDY
Hey very cool web site!! Guy .. Excellent .. Wonderful .. I’ll bookmark your site and take the feeds additionallyKI am glad to seek out numerous helpful info here in the post, we’d like develop more strategies in this regard, thank you for sharing. . . . . .
https://www.revtut.com/hire-a-hacker/
Simply a smiling visitor here to share the love (:, btw outstanding style and design. “The price one pays for pursuing a profession, or calling, is an intimate knowledge of its ugly side.” by James Arthur Baldwin.
https://youtu.be/yOxIdr2Ldyo