Microsoft visual studio “setup blocked”

前端 未结 6 1175
逝去的感伤
逝去的感伤 2020-12-02 23:02

When I try to install Microsoft visual studio 2015 it gives the error \"Setup Blocked\". telling me:\"The computer needs to be restarted before setup can continue. Please re

相关标签:
6条回答
  • 2020-12-02 23:41

    I have managed to bypass the same error on Windows 7 x64 by:

    • emptying Windows Temp folder (usually C:\Windows\Temp), but keeping all files in use
    • performing a restart
    0 讨论(0)
  • 2020-12-02 23:43

    Just go to command prompt and run the below: SHUTDOWN /r /f /t 0

    0 讨论(0)
  • 2020-12-02 23:51

    I hit this issue but my problem was something completely different.

    The issue was that I was trying to install:

    Visual Studio 2015 Update 1 (x86 and x64) - Web Installer (Multiple Languages)

    Not:

    Visual Studio Professional 2015 with Update 1 (x86 and x64) - Web Installer (English)

    The error message is not helpful, but in my case it meant that i didnt have 2015 installed, so the update 1 couldn't be applied.

    msdn forum post here for more info:

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/6c531ef3-6c95-4dc9-a9a3-d23cc95b09c3/vs2015-update-1-setup-blocked-update-1-does-not-apply-or-is-blocked-by-another-condition-on-your?forum=vssetup

    0 讨论(0)
  • 2020-12-03 00:01

    It seems that from Windows 8 onward shutting down doesn't actually turns the computer off, but rather hibernates it. That causes system files which the installer needed to operate on to continue being used.

    You can turn hibernation off by running the following command as an administrator:

    powercfg.exe /hibernate off
    

    After running it, restart the computer and the setup should work. You can turn it on again by using

    powercfg.exe /hibernate on
    
    0 讨论(0)
  • 2020-12-03 00:04

    You have 2 choices:

    • Restart PC (not shutdown!)

    OR

    • If you dont want to restart pc, just use ignore-restart.bat script before installation.
    0 讨论(0)
  • 2020-12-03 00:06

    You can also go to Control panel; power options; Choose what the power buttons do; Change settings that are currently unavailable; then uncheck the 'Turn on fast startup(recommended)' check box, save the changes then shut down.

    0 讨论(0)
提交回复
热议问题