> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Platform security

> Set the hardware-rooted protections of Windows devices: virtualization-based security, memory integrity, LSA protection, DMA protection, Secure Boot certificate updates and the TPM policies.

The Platform security control sets the hardware-rooted protections of your Windows devices: virtualization-based security, memory integrity, System Guard Secure Launch, LSA protection, DMA protection for external devices, the Secure Boot certificate updates, health attestation at startup, and the TPM owner authorization, blocked command and lockout policies.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| | ✅ | | | |

Runs on Windows devices with an x86\_64 or ARM64 processor. Virtualization-based security, memory integrity, LSA protection and Secure Launch need hardware that supports them.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **Platform security**, then click **Add configuration**.

**2. Configure the settings**

Set each setting you want to enforce. See the settings below. Configure at least one setting.

**3. Select targeting**

Choose which devices to apply the configuration to: all Windows devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

A setting left empty or on **Not configured** isn't written: the PC keeps its own setting.

## Settings

| Setting | Options |
| - | - |
| **Virtualization-based security** | **On**, **Off**, **Not configured** |
| **Memory integrity** | **On**, **Off**, **Not configured** |
| **LSA protection** | **On**, **Off**, **Not configured** |
| **System Guard Secure Launch** | **Administrator choice**, **Enabled**, **Disabled**, **Not configured** |
| **External devices incompatible with Kernel DMA Protection** | **Block all**, **Allow after sign-in**, **Allow all**, **Not configured** |
| **Deploy the 2023 Secure Boot certificates** | **On**, **Off**, **Not configured** |
| **Secure Boot certificate updates with the monthly updates** | **On**, **Off**, **Not configured** |
| **Health attestation at startup** | **On**, **Off**, **Not configured** |
| **TPM owner authorization kept by Windows** | **Full**, **Delegated**, **None**, **Not configured** |
| **Blocked TPM commands** | TPM command numbers separated by commas, such as `129, 170` |
| **Ignore the default list of blocked TPM commands** | **On**, **Off**, **Not configured** |
| **Ignore the local list of blocked TPM commands** | **On**, **Off**, **Not configured** |
| **Legacy TPM dictionary attack protection** | **On**, **Not configured** |
| **Standard user lockout duration (minutes)** | A whole number from 0 to 10000 |
| **Standard user lockout threshold** | A whole number from 0 to 100 |
| **Standard users total lockout threshold** | A whole number from 0 to 100 |

* Memory integrity and Secure Launch run on virtualization-based security: with **Memory integrity** on **On** or **System Guard Secure Launch** on **Enabled**, leave **Virtualization-based security** on **On** or **Not configured**.
* Virtualization-based security, memory integrity, LSA protection and Secure Launch take effect at the next restart, on hardware that supports them.
* **Legacy TPM dictionary attack protection** offers no **Off**: Windows keeps the legacy parameters after the policy is turned off, until the TPM is cleared.

## How it works

Primo deploys a Windows configuration profile that writes one Policy CSP node per setting you set, from the DeviceGuard, VirtualizationBasedTechnology, LocalSecurityAuthority, DmaGuard, SecureBoot, Security and ADMX\_TPM areas.

* Memory integrity and LSA protection are turned on without their UEFI lock, which only a person at the PC can lift.
* **Deploy the 2023 Secure Boot certificates** set to **On** starts the deployment of the 2023 Secure Boot certificates.
* **Secure Boot certificate updates with the monthly updates** set to **Off** opts the PC out of the Secure Boot certificate updates that come with the monthly updates.

When you remove the configuration, nothing stays managed, and the PC doesn't go back to the values it had before the control:

* Windows writes 0 back for virtualization-based security, memory integrity, LSA protection and health attestation at startup (off), for Secure Launch (**Administrator choice**), and for both Secure Boot certificate policies.
* The external device policy goes back to **Allow after sign-in**.
* The TPM policies are deleted.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace a configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [Disk encryption](https://docs.getprimo.com/mdm/policies/disk-encryption.md)
* [Authentication protocols](https://docs.getprimo.com/mdm/policies/authentication-protocols.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.