> For the complete documentation index, see [llms.txt](https://docs.adaptiva.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adaptiva.com/onesite-health/health-policies.md).

# Health Policies

Health policies execute health checks on specified target groups on a defined schedule. Once a health policy has run, it will be reported to the home dashboard in real-time.

Health policies are created with the following components:

* [Health Checks](/onesite-health/health-checks.md) - Defines the *how* of a health policy, e.g. checking if BitLocker drive encryption is enabled and executing remediation if necessary.
* [Schedules](https://docs.adaptiva.com/platform-guide/platform-features/schedules) - Defines the *when* of a health policy, e.g. a policy will execute every Tuesday and Thursday at 10 AM.
* [Groups](https://docs.adaptiva.com/platform-guide/platform-features/assets/groups) - Defines the *where* of a health policy, e.g. where does this policy get executed.

These components will either need to be created, or you can use the available built-in options.

## Create a Health Policy

Once you have your desired health checks, schedules, and groups, you can add them to your health policy.

1. Select **Health Policies** from the side navigation.

### General Settings

![](/files/jlPy5eZ3oGOGmrWEn47X)

1. Enter a **Name** and an optional **Description**.
2. Toggle **ON** **Policy Enabled**.
3. Select a date/time for **Policy Start Time**.
   * This will determine when a policy will begin executing on its defined schedule. If your schedule is set to run on Tuesdays at 10 AM and you create your policy with a start date of Wednesday, your policy will run the following Tuesday.
4. (Optional) Select a date/time for **Policy End Time**.
5. Toggle **ON** or **OFF** **Use Server Time Zone**.
   * Server time zone - Clients on different time zones will receive health checks at the same time. E.g. Seattle clients will receive health checks at 6 AM PST, while New York clients will receive them at 9 AM PST.
   * Local time zone - Clients on different time zones will receive health checks at different times based on client time zones. E.g. Seattle clients will receive health checks at 6 AM PST, while New York clients will receive them at 6 AM EST.
6. Toggle **ON** or **OFF** **Encrypt Policy**.
   * Encrypt policy will encrypt the health policy .content file with a Policy object and secure hash.

### Execution Schedules

![](/files/f6e0sr6ZKVpJfp2vec4J)

1. Toggle **ON** or **OFF** **Run Policy as Instant**.
   * If run as instant, it will remove the schedule and report results only when manually executed (see [Save and Run](#save-and-run) and [More Options](#more-options) below on how to run manually).
2. Click **Browse** next to **Schedules** to select one or more schedules. You also have the ability to create a custom schedule if you have not already done so from **Platform Features > Schedules**.

### Target Groups and Devices

![](/files/QEexC25vnolyxDyODwPR)

1. Toggle **ON** or **OFF** **Use All Adaptiva Clients**.
2. Select **Browse** next to **Target Groups** if **Use All Adaptiva Clients** is toggled **OFF**. You can select either the built-in groups or create your own if you haven't done so already.

### Health Checks

![](/files/wdnvRzHhDveDvscJP1Pm)

1. Click **+ Add from Policy** to select the health checks from a pre-existing health policy or **+ Add Health Checks** to add individual health checks.
2. If a health check is added that has a remediation workflow, you can toggle **ON** **Auto Remediation** from the table.
   * When enabled, this will ensure that if a remediation is necessary, it will automatically apply when a Health Policy is run.

For more information regarding built-in health checks, please see our [Appendices](/onesite-health/appendix-health-checks.md) page for more information.

#### Advanced Options

These options define how a health policy will be executed for server and client devices with specific workflows. These should be left as default unless otherwise directed by our [Support Team](https://adaptiva.com/support).

### Save and Run

![](/files/YFuF327VkT9S362WMtyN)

Once you click **Save and Run** it will immediately run your health check and open a dashboard for your health check metrics.

![](/files/pxWy0yWPGtlohe1Uw6N6)

## More Options

On the Health Policies page, you have additional actions you can select from the ellipses (**...**) next to any Health Policy.

![](/files/cs0aTHzkO61HE1Fr8hAf)
