Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2015 Visual Studio Community 2015 Update 4安装程序被阻止,计算机需要重新启动_Visual Studio 2015 - Fatal编程技术网

Visual studio 2015 Visual Studio Community 2015 Update 4安装程序被阻止,计算机需要重新启动

Visual studio 2015 Visual Studio Community 2015 Update 4安装程序被阻止,计算机需要重新启动,visual-studio-2015,Visual Studio 2015,我正在尝试安装Visual Studio Community 2015,但它始终给我以下错误: 我已经多次重启,但都没有运气。日志如下: 除了Windows 8及以上版本,当操作系统进入休眠状态而不是关闭时,似乎没有其他人会遇到我的问题。运行Windows 7 SP1。此问题与8.1版以后Windows上的电源设置有关。关闭电源实际上会使计算机进入休眠模式。我在VS社区更新1中遇到了同样的问题。我通过以下步骤修复了该问题: 以管理员身份运行cmd 输入powercfg.exe/hiberna

我正在尝试安装Visual Studio Community 2015,但它始终给我以下错误:

我已经多次重启,但都没有运气。日志如下:


除了Windows 8及以上版本,当操作系统进入休眠状态而不是关闭时,似乎没有其他人会遇到我的问题。运行Windows 7 SP1。

此问题与8.1版以后Windows上的电源设置有关。关闭电源实际上会使计算机进入休眠模式。我在VS社区更新1中遇到了同样的问题。我通过以下步骤修复了该问题:

  • 以管理员身份运行cmd
  • 输入
    powercfg.exe/hibernate off
  • 重新启动计算机(它可能会冻结在“准备好windows”屏幕上,只需按住电源按钮,然后将计算机返回)
  • powercfg.exe/hibernate on
    (再次以管理员身份运行cmd以重新打开hibernate设置)
  • 重新安装visual studio社区2015
  • 这是我在尝试遵循时提出的解决方案

    或者,您可以在windows电源设置中关闭“快速启动”

  • 在windows 10中:打开“电源和睡眠设置”
  • 单击“其他电源设置”
  • 单击“选择电源按钮的功能”
  • 单击“更改当前不可用的设置”
  • 在“关机设置”下,取消勾选“打开快速启动”框

  • 我知道那种情况。简单的重启不会有帮助。您应该从一开始就进行真正的“重启”,或者如果不想重启,请使用脚本