# Usage guide: Hard reset troubleshooting

Trigger a workflow for every hard reset to detect if it was user-generated and survey the user as to why they did so to trigger the appropriate diagnosis, fix, and ticket creation.

Ensure your workflow is properly configured by following the steps highlighted in its configuration guide:

[Configuration guide: Hard reset troubleshooting](https://docs.nexthink.com/platform/library-packs/l1-support/workflow_-hard-reset-troubleshooting/configuration-guide_-hard-reset-troubleshooting)

## Workflow Structure <a href="#usageguide-hardresettroubleshooting-workflowstructure" id="usageguide-hardresettroubleshooting-workflowstructure"></a>

This section contains the key part of this workflow, which collects data about hard reset events using a remote action, runs a campaign that polls the user about what happened, and makes a decision to branch to the right branch based on that data.

{% hint style="info" %}
**Please note:** In this workflow, this appears as a single campaign with specific conditions based on campaign answers.

Note that the workflow will trigger once the campaign has been fully completed
{% endhint %}

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-5ae7ad982582cbbc7c73f5ab0f80bb42d1360c1e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

This is followed by the first level of user survey analysis, which contains this condition and the following parameters.

<div data-full-width="true"><figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-b3f655ad3c5d076cc29231431d365f7f70f1610d%2Fimage-20240613-134733.png?alt=media" alt="image-20240613-134733.png" width="519"><figcaption></figcaption></figure></div>

In case the user indicates that it was a user-initiated shutdown or restart, the campaign asks for the reason for this.

<div data-full-width="true"><figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-b8cace2495f621de12915200f5fb24644a9e9bf3%2Fimage-20240613-134759.png?alt=media" alt="image-20240613-134759.png" width="527"><figcaption></figcaption></figure></div>

At this point, the workflow determines whether this hard reset was caused by the user, the device, power issues, or another reason. In case of power issues, the workflow will exit with the corresponding outcome details. In the event of a user-initiated hard reset, further action will be taken. In the case of a device-initiated hard reset, a support ticket will be generated with the latest hard reset-related events from the device event log. In case of another reason, it will check with the user whether this case requires a support ticket and raise it if necessary.

<div data-full-width="true"><figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-5d5fce07c917e5f74085c4da7c370afdb96e9282%2Fimage-20240610-151458.png?alt=media" alt="image-20240610-151458.png" width="760"><figcaption></figcaption></figure></div>

Next comes another condition that evaluates the campaign's results in the event of a user-initiated hard reset. If the user responds that a hard reset occurred as a result of IT operations on the device, the workflow will exit with the corresponding outcome details.

<div data-full-width="true"><figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-bcb9254a6f589f6afbb2e74cca90b8bba1f58df0%2Fimage-20240610-152117.png?alt=media" alt="image-20240610-152117.png" width="760"><figcaption></figcaption></figure></div>

In the event of an incorrect shutdown procedure (campaign option "I was in a hurry"), the workflow will show a campaign on how to shut down the computer in the recommended way. Here is an example of this campaign:

<div data-full-width="true"><figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-0418ff4d46eca6621ec2e3c70e0618322a1b988e%2Fimage-20240611-161042.png?alt=media" alt="image-20240611-161042.png" width="514"><figcaption></figcaption></figure></div>

In other cases, the workflow will perform the remediation steps appropriate for each specific case and create a support ticket with the hard reset events and remediation results:

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-eabffd54c5cc3f4cda7cbb184a60159e5cf694d5%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Here is an example of this support ticket:

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-96d60f2e59a06b615f646b0ea7cce0d74b108acc%2Fimage-20240611-161333.png?alt=media" alt="image-20240611-161333.png" width="760"><figcaption></figcaption></figure>

Inside the ticket, there will be a work note detailing the specific hard reset events collected by the remote action.

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-4f5010ad1ee01966300fea967e62106a109f457e%2Fimage-20240611-161416.png?alt=media" alt="image-20240611-161416.png" width="760"><figcaption></figcaption></figure>

Below is an example of steps to resolve a hard reset due to a frozen device. Here the workflow checks the device manufacturer. For Dell or HP devices, it performs a remote action that checks for pending critical driver updates that often cause devices to freeze. If it detects pending updates, it performs another remote action to install those pending updates. This information is then entered into a support ticket. Otherwise, the ticket is amended to indicate that there are no critical driver updates pending.

<figure><img src="https://268444917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxJSUDk9NTtCHYPG5EWs3%2Fuploads%2Fgit-blob-1897e45dc32221f75df0c2ac64234c61c510f897%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

***

RELATED TOPICS

* [Manage Workflows](https://nexthink.gitbook.io/opd/user-guide/workflows/managing-workflows)
* [Manage Campaigns](https://nexthink.gitbook.io/opd/user-guide/campaigns/managing-campaigns)


---

# Agent Instructions: 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:

```
GET https://docs.nexthink.com/platform/library-packs/l1-support/workflow_-hard-reset-troubleshooting/usage-guide_-hard-reset-troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
