Windows Installer Service Issues After Interrupted Visual Studio Installation

Guillermo Diaz 5 Reputation points
2025-03-17T07:51:04.4533333+00:00

After a failed installation attempt of Visual Studio Community, which was canceled abruptly, the Windows Installer Service seems to be malfunctioning. A support ticket was submitted on the Visual Studio Dev Community, where different solutions were attempted without success: Windows Installer Service is Unavailable.

Currently, the installer service appears to be stuck in the background, causing issues such as preventing system shutdowns with error messages about ongoing installations. This problem persists even after multiple restarts and Windows updates. Although other aspects of the OS function normally, installation attempts for new programs are hindered by the ongoing installer process, leading to errors like "the installation cannot be done until other installation finishes."

A workaround has been to manually terminate the Windows Installer service in Task Manager prior to installation attempts. However, this method recently failed when trying to install Node.js.

I'd be open to share logs or more necessary insight but I don't know how this forum works yet. I'd been looking for a windows support service that allows me to talk privately with someone so that I know I'm not sharing critical system information publicly (also I don't know exactly what is stored in these system logs, maybe it's just fine to share, please lmk)

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,404 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Zunhui Han 4,295 Reputation points Microsoft External Staff
    2025-03-18T01:57:49.72+00:00

    Hello,

    Thank you for posting in Q&A forum.

    Based on the information you provided, I suspect the following reasons may cause this problem:

    • Corruption in Windows Installer Service registry
    • Pending/Incomplete installtion or uninstallation
    • Missing MSI binaries

    I suggest you try the following steps to see if this problem can be solved:

    1.Delete any entries found under below registry and reboot:

    HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress

    2.Run the below MSI fixit and clean up pending/incomplete installation or uninstallation:

    http://internal.evergreen.microsoft.com/mats/Program_Install_and_Uninstall

    3.Backup the below MSIserver service registry, replace it from a working machine and reboot

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msiserver

    Note If you modify the registry incorrectly, you can cause serious problems. Therefore, follow these steps carefully. For additional protection, back up the registry before you modify it. For more information about how to back up and restore the registry, see How to back up and restore the registry in Windows.

    I hope the information above is helpful.

    Best regards

    Zunhui

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

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