2023-05-01 15:52:57 +00:00
# Disk encryption
_Available in Fleet Premium_
2023-12-12 20:58:26 +00:00
In Fleet, you can enforce disk encryption for your macOS and Windows hosts.
2023-05-01 15:52:57 +00:00
2023-12-12 20:58:26 +00:00
> Apple calls this [FileVault](https://support.apple.com/en-us/HT204837) and Microsoft calls this [BitLocker](https://learn.microsoft.com/en-us/windows/security/operating-system-security/data-protection/bitlocker/).
2023-05-01 15:52:57 +00:00
2023-12-12 20:58:26 +00:00
When disk encryption is enforced, hosts’ disk encryption keys will be stored in Fleet.
2023-05-01 15:52:57 +00:00
2023-12-14 19:24:25 +00:00
For Windows hosts, disk encryption is enforced on the C: volume (default system/OS drive).
2023-12-12 20:58:26 +00:00
## Enforce disk encryption
2023-05-01 15:52:57 +00:00
2024-02-07 22:51:23 +00:00
You can enforce disk encryption using the Fleet UI, Fleet API, or [Fleet's GitOps workflow ](https://github.com/fleetdm/fleet-gitops ).
2023-05-01 15:52:57 +00:00
Fleet UI:
2023-12-12 20:58:26 +00:00
1. In Fleet, head to the **Controls > OS settings > Disk encryption** page.
2023-05-01 15:52:57 +00:00
2023-12-12 20:58:26 +00:00
2. Choose which team you want to enforce disk encryption on by selecting the desired team in the teams dropdown in the upper left corner.
2023-05-01 15:52:57 +00:00
3. Check the box next to **Turn on** and select **Save** .
2024-02-09 21:00:04 +00:00
Fleet API: API documentation is [here ](https://fleetdm.com/docs/rest-api/rest-api#update-disk-encryption-enforcement ).
2023-09-26 14:14:07 +00:00
2023-12-12 20:58:26 +00:00
### Disk encryption status
2023-05-01 15:52:57 +00:00
2023-12-12 20:58:26 +00:00
In the Fleet UI, head to the **Controls > OS settings > Disk encryption** tab. You will see a table that shows the status of disk encryption on your hosts.
2023-05-03 18:14:40 +00:00
2023-08-31 13:23:22 +00:00
* Verified: the host turned disk encryption on and sent their key to Fleet. Fleet verified with osquery. See instructions for viewing the disk encryption key [here ](#view-disk-encryption-key ).
2023-05-03 18:14:40 +00:00
2023-08-31 13:23:22 +00:00
* Verifying: the host acknowledged the MDM command to install the disk encryption profile. Fleet is verifying with osquery and retrieving the disk encryption key.
2023-05-01 15:52:57 +00:00
> It may take up to one hour for Fleet to collect and store the disk encryption keys from all hosts.
2023-08-31 13:23:22 +00:00
* Action required (pending): the end user must take action to turn disk encryption on or reset their disk encryption key.
* Enforcing (pending): the host will receive the MDM command to install the configuration profile when the host comes online.
* Removing enforcement (pending): the host will receive the MDM command to remove the disk encryption profile when the host comes online.
2023-05-01 15:52:57 +00:00
2023-05-03 18:14:40 +00:00
* Failed: hosts that are failed to enforce disk encryption.
You can click each status to view the list of hosts for that status.
2023-05-01 15:52:57 +00:00
## View disk encryption key
How to view the disk encryption key:
1. Select a host on the **Hosts** page.
2. On the **Host details** page, select **Actions > Show disk encryption key** .
2023-12-12 20:58:26 +00:00
## Migrate macOS hosts
2023-05-03 18:14:40 +00:00
2023-12-12 20:58:26 +00:00
When migrating macOS hosts another MDM solution, in order to complete the process of encrypting the hard drive and escrowing the key in Fleet, your end users must take action.
2023-05-01 15:52:57 +00:00
2023-12-12 20:58:26 +00:00
If the host already had disk encryption turned on, the user will need to input their password.
2023-05-01 15:52:57 +00:00
2023-12-12 20:58:26 +00:00
If the host did not already have disk encryption turned on, the user will need to log out or restart their computer.
2023-05-01 15:52:57 +00:00
2023-12-12 20:58:26 +00:00
Share [these guided instructions ](./MDM-migration-guide.md#how-to-turn-on-disk-encryption ) with your end users.
2023-05-01 15:52:57 +00:00
2023-10-04 19:39:09 +00:00
< meta name = "pageOrderInSection" value = "1504" >
< meta name = "title" value = "Disk encryption" >
2023-12-12 20:58:26 +00:00
< meta name = "description" value = "Learn how to enforce disk encryption on macOS and Windows hosts and manage encryption keys with Fleet Premium." >
2023-08-31 13:23:22 +00:00
< meta name = "navSection" value = "Device management" >