> For the complete documentation index, see [llms.txt](https://docs.dexa.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dexa.im/tools-and-software/call-of-duty/afk-bot/troubleshooting.md).

# Troubleshooting

## The bot doesn't start the game, or the game crashes

The bot is attempting to run commands via WMIC, but the user does not have WMIC enabled. Below is a sample of the log file for this issue:

{% code overflow="wrap" %}

```
[bot::package] Loading package configuration from file: package-dexaim.conf
[bot::package] Package configuration loaded.
[bot::runopts] Loading run options from file: C:\Users\User\Desktop\DEXAiM-AFKB\runopts.yaml
[bot::runopts] Run options loaded.
[bot::updater] Checking for updates...
[bot::updater] No updates available.
[bot::auth] Validating access key...
```

{% endcode %}

* open [optional features](ms-settings:optionalfeatures)
* click `view features` and add `wmic`
* reboot the PC

<figure><img src="/files/01ZS5xOoO6Xp8WDJYRGw" alt=""><figcaption><p>This option can be found in System -> Optional features</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dexa.im/tools-and-software/call-of-duty/afk-bot/troubleshooting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
