Share via

Visual Studio 2026 Freezez during installation

Hillel 20 Reputation points
2026-03-16T00:53:05.3566667+00:00

as per attached screenshot the installer repeatedly fails / freezes when installing the package: "Microsoft.VisualStudio.Setup.WMIprovider"

I have tried the "InstallCleanup" and other recommendations from Copilot but this has not helped.

Developer technologies | Visual Studio | Setup

Answer accepted by question author
  1. Leon Tran (WICLOUD CORPORATION) 1,740 Reputation points Microsoft External Staff Moderator
    2026-03-16T02:24:01.7766667+00:00

    Hi @Hillel ,

    Thank you for sharing your concern.

    The "Microsoft.VisualStudio.Setup.WMIProvider" is a Windows service. It is responsible for finding disk locations and helping install Visual Studio. If, for some reason, it is not working, Visual Studio cannot continue and gets stuck at this component, as you can see.

    The InstallCleanup.exe tool only uninstalls Visual Studio and cleans up the environment, so it cannot resolve this issue.

    There are a few solutions to repair the WMI provider. Please try them step by step and re-run the Visual Studio setup file after each step.

    Before starting the troubleshooting steps, please make sure to close the installer. If the installer stops responding, try restarting the computer.

    Troubleshooting Steps

    1. Restart the Windows Management Instrumentation Service

    Press Win + R, type services.msc, and press Enter. Scroll down and find Windows Management Instrumentation. Double‑click it to open the dialog. Click Stop, then Start to reset the service. Re-run the Visual Studio setup file and check if the issue is resolved.

    User's image

    2. Use Command Line to deep reset WMI

    This command performs a deep reset of WMI. Open cmd.exe with Administrator privileges and run the following commands:

    User's image

    cd %windir%\system32\wbem
    for /f %s in ('dir /b *.dll') do regsvr32 /s %s
    for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
    

    3. Check if You Have Another Disk Partition

    If you have another disk partition such as D: or E:, please temporarily disable it to see if the root issue is related to the WMI provider failing due to disk partition configuration.

    Follow these steps:

    1. Search for "Create and format hard disk partitions". User's image
    2. Right‑click your D: or E: partition and select Change Drive Letter and Paths. User's image
    3. Click Remove to unmount it. User's image

    Please rest assured that this action will not delete any data on that partition. You can mount it again later using the same steps.

    Hope this helps! If my answer was helpful, please mark the answer so others with the same problem can benefit as well. If you need any further assistance, feel free to let me know in the comments.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.