Share via

Visual Studio 2022 install error

Bob Pedi (Admin) 0 Reputation points
2026-02-18T16:00:54.2033333+00:00

When installing Microsoft Visual Studio 2022 fails with an error "Windows Installer Service not started".

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Tran (WICLOUD CORPORATION) 1,415 Reputation points Microsoft External Staff Moderator
    2026-02-19T02:17:16.22+00:00

    Hi @Bob Pedi (Admin) ,

    Thank you for reaching out regarding the issue.

    The error message indicates that the Windows Installer service is not running. Visual Studio cannot be installed without this service. Please follow the steps below to check and troubleshoot the issue.


    Step 1: Check Windows Installer service status

    1. Open Command Prompt as Administrator
    2. Run the following command:
    sc query msiserver
    

    If the service state is STOPPED or PAUSED, start it by running:

    net start msiserver
    

    If you see the message “The Windows Installer service was started successfully”, please try installing Visual Studio again. Please run with Admin privilege.


    Step 2: Troubleshooting Windows Installer Service

    If the issue persists, please try the steps below.

    Check if the Installer exists

    The Installer folder is hidden by default and is required for Windows Installer to function. In some cases, this folder may be accidentally deleted, which can cause the Windows Installer service to stop working.

    cd C:\Windows\Installer
    
    

    If no error is returned, the folder exists and you can proceed to the next step.


    Re-register Windows Installer Services

    Run the following commands one by one:

    msiexec /unregister
    msiexec /regserver
    
    

    After completing these steps, restart your computer and try installing Visual Studio again.


    Repair Windows system files

    Run the following commands in Command Prompt (Admin):

    DISM /Online /Cleanup-Image /RestoreHealth
    sfc /scannow
    
    

    These commands will repair corrupted system files that may prevent Windows Installer from running.


    Step 3: Check system policy restrictions

    If this is a company managed PC, Windows Installer may be disabled via Group Policy. In this case, you will need to contact your IT administrator to have it enabled. Please always make sure to run the setup file as an administrator.


    I hope this can resolve your issue. If my answer was helpful, kindly follow the instructions here so others with the same problem can benefit as well. 


  2. Q&A Assist
    2026-02-18T16:01:05.02+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    If you encounter the error "Windows Installer Service not started" while installing Microsoft Visual Studio 2022, it typically indicates that the Windows Installer service is not running on your system. Here are steps you can take to resolve this issue:

    1. Start the Windows Installer Service:
      • Press Windows + R to open the Run dialog.
      • Type services.msc and press Enter.
      • In the Services window, scroll down to find Windows Installer.
      • Right-click on it and select Start. If it is already running, you may want to restart it.
    2. Check for Windows Updates:
      • Ensure your Windows operating system is up to date, as updates can fix issues with the Windows Installer service.
    3. Reboot Your Computer:
      • Sometimes, simply restarting your computer can resolve service-related issues.
    4. Run the Visual Studio Installer as Administrator:
      • Right-click on the Visual Studio Installer and select Run as administrator to ensure it has the necessary permissions.

    If these steps do not resolve the issue, you may want to consult further troubleshooting resources or consider reinstalling the Windows Installer service.

    0 comments No comments

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.