# CapaInstaller Agent Stops Working

> Fix a CapaInstaller agent that has stopped working as expected.

Source: https://docs.capaone.com/capainstaller/troubleshooting/capainstaller-agent-stops-working/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## Problem

Occasionally, the CapaInstaller agent may stop functioning as expected, causing disruptions to system management processes. One critical requirement for the CapaInstaller agent is a fully functional **.NET Framework**, as the agent relies on it to execute and communicate properly.

This article will guide you through the basic troubleshooting steps to restore the CapaInstaller agent, including ensuring that both **Windows Management Instrumentation (WMI)** and the **.NET Framework** are working correctly. By following these steps, you can quickly identify and resolve common issues with the agent.

## Solution 1 - Windows Management Instrumentation

One critical requirement for the CapaInstaller agent is a properly functioning Windows Management Instrumentation (WMI) service, as it plays a key role in the agent's operation.

1. net stop winmgmt
2. winmgmt /salvagerepository
3. winmgmt /resetrepository
4. net start winmgmt
5. Test the CapaInstaller Agent Again

## Solution 2 - .NET Framework

1. **Download the .NET Framework Repair Tool** from the official Microsoft site:  
   [Microsoft .NET Framework Repair Tool](https://www.microsoft.com/en-us/download/details.aspx?id=30135)
2. **Run the tool** and follow the on-screen instructions. The tool will automatically detect issues and apply fixes as needed.
3. **Restart your computer** after the repair process completes to ensure changes are properly applied.
4. net start winmgmt
5. Test the CapaInstaller Agent Again

:::note[Important]
Article about .NET Framework Repair [Microsoft .NET Framework Repair Tool](https://www.microsoft.com/en-us/download/details.aspx?id=30135)
:::
