Win7 安裝VS2010, .net framework 4.0 失敗,錯誤HRESULT 0xc8000222解決辦法


之前裝Viusal Stuido 2010 一直失敗,其實在在安裝.net framework 4.0時就失敗……后來就單獨安裝.net framework 4.0,結果還是失敗,出現HRESULT 0xc8000222錯誤代碼,

去官網上查找,發現作如下操作步驟即可

This behavior may occur if the temporary folder of Windows Update has been corrupted. We can refer to the following steps to rename this folder. Please be assured the folder will be created again when we visit the Windows Update site again.

1. Click Start, Run, type: cmd and press Enter. Please run the following command in the opened window.

net stop WuAuServ

2. Click Start, Run, type: %windir% and press Enter.
3. In the opened folder, rename the folder SoftwareDistribution to SDold.
4. Click Start, Run, type: cmd and press Enter.

Please run the following command in the opened window.

net start WuAuServ

 

/**
*@title :WIndows 7 安裝.net framework 4.0 失敗,錯誤HRESULT 0xc8000222解決辦法
*@Author:insun
*@blog:http://yxmhero1989.blog.163.com
*/
 
為了裝個Mysql Workbeach(mysql-workbench-gpl-5.2.39-win32) 設計數據庫 需要net framework4 發現不好安裝
win7裝不了dotNetFx40_Client_setup???
WIndows 7 安裝.net framework 4.0 失敗,錯誤HRESULT 0xc8000222解決辦法 - InSun - Minghacker is Insun
 
尚未安裝 .NET Framework 4 Client Profile,原因是:HRESULT 0xc8000222
原來跟windows update有關 真心蛋疼啊!!!
解決辦法:
1.在win7的C:\Windows\System32目錄里面  右鍵cmd.exe以管理員方式運行
2.上面的cmd命令行里面輸入 net stop WuAuServ
3.繼續輸入 echo %windir%
4.在彈出來的文件夾(一般是C:\Windows),把SoftwareDistribution 文件夾改個名字 SDold(隨意改).
5.繼續輸入 net start WuAuServ
 
WIndows 7 安裝.net framework 4.0 失敗,錯誤HRESULT 0xc8000222解決辦法 - InSun - Minghacker is Insun
 
WIndows 7 安裝.net framework 4.0 失敗,錯誤HRESULT 0xc8000222解決辦法 - InSun - Minghacker is Insun
 
 
WIndows 7 安裝.net framework 4.0 失敗,錯誤HRESULT 0xc8000222解決辦法 - InSun - Minghacker is Insun
 
WIndows 7 安裝.net framework 4.0 失敗,錯誤HRESULT 0xc8000222解決辦法 - InSun - Minghacker is Insun
 
OK。

 

 

原來這個還和Windows Update有關系,給目錄名重命名一下再次安裝,即安裝成功了!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM