Microsoft Visual Studio Community 2015安装程序被阻止 [英] Microsoft Visual Studio Community 2015 setup blocked

查看:707
本文介绍了Microsoft Visual Studio Community 2015安装程序被阻止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试安装Microsoft Visual Studio 2015社区时,出现错误安装程序被阻止",并显示计算机需要重新启动才能继续安装.请重新启动计算机,然后再次运行安装程序"

When I try to install Microsoft visual studio 2015 community it gives me error "setup blocked" and writes "The computer needs to be restarted before setup can continue. Please restart the computer and run setup again"

Visual Studio错误

我试图以各种方式重新启动(例如取消休眠),但是每次遇到相同的错误时,我都会尝试重新启动.我试图查找它,但是找不到适合我的解决方案.

I tried to restart in various ways (for example canceling hibernate), but every time I get the same error. I tried to look it up, but couldn't find any solution that worked for me.

可以在此处找到该错误的完整日志.

The full log of the error can be found here.

值得一提的是,目前我的计算机上装有Visual Studio 2012,但是如果尝试卸载它,则会收到与需要重新启动计算机相同的错误.

It might be important to mention, that at the moment I have visual studio 2012 on my computer, but if I try to uninstall it, I get the same error that the computer needed to be restarted.

谢谢.

我找到了一个对我有用的解决方案(对于所有遇到此问题的人):

I found a solution that worked for me (for all who encountered this problem):

http://www .itexperience.net/2009/06/25/bypass-pending-reboot-of-automatic-updates-0x8ddd0007/

推荐答案

在注册表中,有一个密钥(RebootRequired)告诉您需要重新引导计算机. 问题在于该密钥在不应该存在的时候存在(在另一个时间创建,但是之后没有被删除).

In the registry there is a key (RebootRequired) which tells that you need to reboot your machine. The problem was that the key existed when it shouldn't have (created on another time, but wasn't deleted afterwards).

通过进入注册表并删除此键,此问题已解决. 您可以在以下位置找到密钥:

By entering to registry and deleting this key, the problem is solved. You can find the key at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\

基于:

http://www.itexperience.net/2009/06/25/bypass-pending-reboot-of-automatic-updates-0x8ddd0007/

这篇关于Microsoft Visual Studio Community 2015安装程序被阻止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆