- Detecting and storing required system components (TPM 2.0 and Secure Boot) in the registry;
- Validating hardware and software requirements to determine upgrade eligibility;
- Running an automated download and silent installation of Windows 11 on compliant devices.
1. Classify devices with TPM and Secure Boot present
1.1. Create the detection policy (FleetDM registry)
Use the following query to verify the presence of registry keys that will store TPM and Secure Boot status:1.2. Run the associated script (populate the registry)
Attach this PowerShell script to the policy above. It detects TPM version and Secure Boot status, then writes them to the Windows registry for FleetDM.HKLM\Software\FleetDM\TPMVersion and HKLM\Software\FleetDM\SecureBoot are created/updated.