Visual studio 2017 installer won't run after extracting

前端 未结 19 1682
遥遥无期
遥遥无期 2020-12-03 11:28

visual studio 2017 community.exe won\'t run after extracting to the temp.

OS: windows 10 x64bit

Setup : community version

in the temp folder bootstra

相关标签:
19条回答
  • 2020-12-03 12:18

    I was able to resolve my problem after 4 days of troubleshooting with Microsoft support. I'm developing on a Dell laptop and the support technician believes one of the Dell services was causing issues with the winmgmt service.

    Below is a command that failed to run. Then after making sure we had an OS restore point saved, we issued the /resetRepository command. After that, the VS 2017 Pro installer was able to execute without error.

    EDIT: Adding the exact steps and code sample below:

    Step 1: Create a Windows system restore point.

    Step 2: From the command prompt with administrative rights or elevated privileges, execute the following command: net stop winmgmt

    Step 3: Open a Windows Explorer and locate the path to C:\windows\system32\WBEM\ folder and rename the Repository folder to something else like RepositoryOLD (right click and choose 'Rename Folder').

    Step 4: restart the computer

    Step 5: From the command prompt with administrative rights or elevated privileges, execute the following command: net stop winmgmt

    C:\>net stop winmgmt
    The Windows Management Instrumentation service is stopping.
    The Windows Management Instrumentation service could not be stopped.    
    

    Step 6: From the command prompt with administrative rights or elevated privileges, execute the following command: winmgmt /resetRepository

    C:\>winmgmt /resetRepository
    WMI repository has been reset
    

    Step 7: restart the computer.

    Hope this helps anyone with a similar Visual Studio 2017 installer issue.

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