最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

Windows 7下安装.NET Framework 4时报错:“HRESULT 0xc8000222”的解决方法

业界 admin 11浏览 0评论

      搭建WP7开发环境的时候,安装了几次,都出现".NET Framework 4 could not install"的错误,然后直接安装.NET Framework 4就报了“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.

关闭Windows Update服务
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.


关闭Windows Update服务
关闭Windows Update服务
关闭Windows Update服务
打开Windows Update服务

net start WuAuServ

然后重新安装,一切顺利!

      搭建WP7开发环境的时候,安装了几次,都出现".NET Framework 4 could not install"的错误,然后直接安装.NET Framework 4就报了“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.

关闭Windows Update服务
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.


关闭Windows Update服务
关闭Windows Update服务
关闭Windows Update服务
打开Windows Update服务

net start WuAuServ

然后重新安装,一切顺利!

发布评论

评论列表 (0)

  1. 暂无评论