# Windows Debugging

{% hint style="info" %}
The page is currently being developed. If you experience issues, please contact our support team. Your feedback helps us improve our documentation for everyone.
{% endhint %}

## Background Service Disconnected

<figure><img src="https://1838060091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlTLb3kjA1gMXcHxXprP8%2Fuploads%2FxokRkMiSqibR24mfUpJx%2Fimage.png?alt=media&#x26;token=66f50c13-3438-4333-ae1c-28749697ba68" alt=""><figcaption><p>Background Service Disconnected Error</p></figcaption></figure>

### Troubleshooting Background Service Disconnection

If you encounter issues with the background service disconnecting, follow these troubleshooting steps:

1. **Reboot Your Computer**:
   * Sometimes the Distribute AI Daemon service has problems after large system modifications, you can try rebooting your computer to check if this problem resolves itself.
2. **Verify Service Status**:
   * Open the Windows Services management console by typing `services.msc` in the Run dialog opened by `win`+ `r` or searching for "Services" in the windows search.
   * Ensure that the Distribute AI Daemon service is running. If not, right-click and select "Start."

<figure><img src="https://1838060091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlTLb3kjA1gMXcHxXprP8%2Fuploads%2F47PLWb6qP14ps6862JJl%2Fimage.png?alt=media&#x26;token=f5ab1468-a5f0-43da-804a-c76586488731" alt=""><figcaption><p>If this error shows up, try reinstalling</p></figcaption></figure>

### Reinstalling

{% hint style="info" %}
This action will delete all data related to your local provider. Don't worry, you'll retain all your earned points, but the displayed number on your desktop will reset to zero when you log back in. To view all your points, go to [https://dashboard.distribute.ai/provider/credits](https://dashboard.staging.distribute.ai/provider/credits)
{% endhint %}

In order to get a completely clean reinstall, it's recommended to do the following steps:

1. Open `%LocalAppData%/distribute.ai` using `Win` + `R` like shown

<div data-full-width="true"><figure><img src="https://1838060091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlTLb3kjA1gMXcHxXprP8%2Fuploads%2F1DIscTlOszxweTsvsx32%2Fimage.png?alt=media&#x26;token=933a6d46-e5c7-4035-9c29-9b3bf22e3fd4" alt=""><figcaption></figcaption></figure></div>

1. Press OK and then delete every file inside that folder
2. Restart your machine
3. Navigate to <https://dashboard.distribute.ai/provider/downloads> to download and install the latest version

### Error: Failed to backup daemon.exe: Access is denied.

This error occurs if you're trying to install the application while the background service is still open.&#x20;

1. Open services by pressing `win` + `r` and entering "services.msc"<br>

   <figure><img src="https://1838060091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlTLb3kjA1gMXcHxXprP8%2Fuploads%2F6Cv4PS8CgWe9Zdst9vrP%2Fimage.png?alt=media&#x26;token=392f9054-6c24-403f-8af2-c0a7caf36370" alt=""><figcaption></figcaption></figure>
2. Find Distribute.AI System Service and right click, then press "Stop"

<figure><img src="https://1838060091-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlTLb3kjA1gMXcHxXprP8%2Fuploads%2FRzKchvLOEyhmWqmWrusM%2Fimage.png?alt=media&#x26;token=84976f9c-e69d-4fb7-b98b-862c2049df22" alt=""><figcaption></figcaption></figure>

3. Retry the installer. Upon otherwise successful install, you may run into the "Daemon Disconnected" page described in [#troubleshooting-background-service-disconnection](#troubleshooting-background-service-disconnection "mention"). If so, either restart, go through the steps there, or return to the services page and instead select "Start"
