Preparing OS bundle content
You must prepare and configure content that you intend to use for provisioning endpoints.
Download provided files for Provision
Provision includes two ZIP files that you can use to generate some content for the OS bundle:
-
scripts.zip: Includes custom scripts that you can modify to call commands during the provisioning process. For more information, see Include custom scripts.
Note: Download this file only if you need to make modifications to the included Provision scripts. -
utility.zip: Includes scripts to generate the required Windows ADK content for Windows OS bundles. For more information, see Generate the Windows ADK content.
You can download the ZIP files from the Provision workbench.
- From the Main menu, go to > Overview.
- Click Settings
and then click File Downloads.
- Click the files that you want to download.
Obtain Windows OS bundle content
You must obtain the following content for Windows operating systems:
-
Windows image file: You can use the install.wim file from the standard Windows media ISOs or a custom WIM file captured after the OS was sysprepped.
-
For more information about how to acquire the WIM file from the Windows media, see Microsoft Documentation: Create a Windows 10 reference image.
-
For more information about how to capture a custom Windows image, see Capture a Windows OS image.
-
For more information about Sysprep, see Microsoft Documentation: Sysprep (Generalize) a Windows installation.
-
-
Windows ADK: You can download the latest Windows 11 or Windows 10 ADK files from Microsoft. Both the Windows ADK and the WinPE add-on must be installed. For the ADK installation, the deployment tools and User State Migration Tool (USMT) components must be installed on any supported Windows endpoint, such as Windows 10, Windows 11, or Windows Server.
Important: When performing refresh deployments, ensure that your ADK version supports the version of Windows you are deploying. Otherwise, you might encounter USMT errors. For more information, see Microsoft Documentation: Download and install the Windows ADK. -
Certificates: If your endpoints require the Windows UEFI CA 2023 certificate to be trusted by the Unified Extensible Firmware Interface (UEFI) Secure Boot Allowed Signature Database (DB), you must use Windows ADK 10.1.26100.2454 (December 2024) or later to generate the Windows ADK content. When you create a Windows OS bundle, add an OS image WIM file that contains Windows August 2024 cumulative update or later or add the cumulative update in the Drivers and Patches section.
-
Unattend_<architecture>.xml: To support customizing and configuring the Windows image, Provision uses unattend_<architecture>.xml. Provision supports key value pairs and variable substitution in unattend_<architecture>.xml. For example, if you specify the ComputerName key value pair in unattended.xml, Provision substitutes the ComputerName key value from the OS bundle. For more information, see Reference: Variables and advanced customization.
Tip: You can download a sample unattend_<architecture>.xml to use as an example. unattend_<architecture>.xml is included in utility.zip, which is available in Provision . -
Tanium Client installer package: Download the Windows client installer bundle from the Tanium Client Management Overview page. For more information about how to download the bundle, see Download installation packages for the Tanium Client.
-
Custom scripts: (Optional) You can specify a ZIP file that contains scripts and any other required files to configure the OS. For more information, see Include custom scripts.
-
Drivers for the models of computers that you are deploying: Each computer model needs different driver packages, which includes .inf files and supporting files. Copy these drivers and create a compressed file for each model. You might also want to create a compressed file of common drivers that can be downloaded to all provisioned computers. Before creating a compressed file, confirm that the driver files are in folders and are not inside of executables or other compressed files. Follow the naming conventions in Driver package naming for the driver package. For more information, see the following resources:
-
Patches: (Optional) You can specify one or more OS updates or patches to inject into the OS offline, before booting into the OS for the first time.
Note: Use Tanium Patch to install patches after the endpoint is provisioned to save deployment time in Provision.
Driver package naming
Use the following conventions to create a driver package:
-
Save as a .zip or .cab file.
-
For common drivers that you want to download to all provisioned computers, create drivers.(zip|cab). For example, you might create a drivers.zip for docking station or printer drivers.
-
For drivers specific to a computer model, use a naming option based on computer model, Lenovo model IDs, or SMBIOS Version attribute.
-
Computer model: Create drivers_%Model%.(zip|cab), for example, drivers_SurfaceBook.zip or drivers_SurfaceBook.cab.
To get the Model string, run the PowerShell command (Get-ComputerInfo | Select-Object -ExpandProperty CsModel).Replace(" ","").
-
First four characters of Lenovo model IDs: Create drivers_%ModelAlias%.(zip|cab).
To get the ModelAlias string, run the PowerShell command (Get-ComputerInfo | Select-Object -ExpandProperty CsModel).Substring(0,4).
-
Version attribute in SMBIOS System Information (Type 1) structure: Create drivers_%Version%.(zip|cab), for example, Lenovo ThinkPad X1 Carbon gen 2.(zip|cab).
To get the Version string, run the PowerShell command (Get-WmiObject -Class Win32_ComputerSystemProduct| Select-Object -ExpandProperty Version).Replace(" ","").
-
Create driver package for older computer models
If you need a driver package for a non-enterprise grade or an older computer model, check if the hardware vendor provides a driver package. If the vendor does not provide a driver package, you can create a driver package using the Export-WindowsDriver cmdlet.
Generate the Windows ADK content
Deploying a Windows operating system using Tanium Provision requires some files from the Windows Assessment and Deployment Kit (ADK).
-
Extract the contents of the previously downloaded utility.zip file to a folder, such as C:\Users\Administrator\Documents.
-
Open an elevated PowerShell command.
-
Ensure that the execution of scripts is allowed by entering the following command:
CODESet-ExecutionPolicy bypass -
Navigate to the folder that contains the ADKPrep.ps1 script by entering the following command:
CODEcd C:\Users\Administrator\Documents\utility\ADKPrep -
(Optional) If any additional mass storage drivers are required for Windows PE, put them in an architecture-specific folder, such as C:\Users\Administrator\Documents\utility\ADKPrep\amd64\Drivers.
These files are automatically injected into Windows PE as part of the ADKPrep.ps1 script execution.
-
Generate the ADK zip files for the architecture that you need by entering the following example command. The supported architectures are
amd64andarm64.CODE.\ADKPrep.ps1 -Architecture amd64 -EnableDebugPromptTip:-
You can alternatively open a command prompt and enter the following command from C:\Users\Administrator\Documents\utility\ADKPrep:
CODEPowershell.exe -ExecutionPolicy Bypass -File .\ADKPrep.ps1 -Architecture amd64 -
EnableDebugPrompt is an optional parameter that opens a debug prompt if the bootstrap.ps1 script in the Windows PE cannot find the local drive that contains the required Provision scripts. You can use the prompt to troubleshoot the failure. After the prompt is closed, the system reboots. If you do not use the EnableDebugPrompt parameter and an error occurs, an error message is displayed and the system reboots after the error is acknowledged.
-
-
-
Ensure that no errors were generated.
-
Copy the generated ADK_<architecture>.zip files to a convenient location that is easy to remember, such as C:\ProvisionFiles.
Capture a Windows OS image
If you want to use a custom OS image instead of one that is provided by Microsoft, you can use Provision to capture an image. Provision always captures the first NTFS volume.
After you configure your Windows OS and generalize it with sysprep, you can use Provision to capture the OS into an image file. To generalize the OS, open the Command Prompt as administrator and enter the following command:
%WINDIR%\System32\Sysprep\sysprep.exe /generalize /oobe /shutdown
Obtain Linux OS bundle content
You must obtain the following content for Linux operating systems:
-
Cloud-init file: To support customizing and configuring the Linux image, Provision uses the cloud-init configuration tool. For more information, see the cloud-init website. The cloud-init tool must be installed in the Linux OS using the appropriate method for the specific OS that you want to deploy. For example:
-
AlmaLinux, Centos, RedHat, and Rocky Linux: yum install cloud-init
-
Debian and Ubuntu: apt install cloud-init
Tip: Two cloud-init template files are also provided in the utility.zip file that you can download from the File Downloads tab of the Provision Settings. You can use either of these files as-is, or customize them by adding any additional configuration.
-
user-data.yaml: configures the admin password and installs the Tanium Client
-
redhat.yaml: configures the admin password, installs the Tanium Client, and refreshes the RedHat subscription
Important: For Debian, Ubuntu, and other operating systems that include cloud-init by default, run the cloud-init clean command before the final shutdown of the reference image. Running this command ensures cloud-init is in the correct state for Tanium Client deployment and other tasks added to cloud-init. -
-
Tanium Client installer package: Download the Linux client installer bundle from the Tanium Client Management Overview page. For more information, see Download installation packages for the Tanium Client.
-
Custom scripts: (Optional) You can specify a ZIP file that contains scripts and any other required files to configure the OS. For more information, see Include custom scripts.
Capture a Linux OS image
Deploying a Linux operating system using Tanium Provision requires capturing an image of a complete Linux installation.
The following Linux distributions and versions are supported by Provision:
-
AlmaLinux 8.6, 9
-
CentOS 7, 8
-
Debian 11
-
RHEL 8.4, 8.5, 8.6, 9
-
Rocky Linux 8.6, 9
-
Ubuntu 22.04, 24.04
The following Linux distributions are not supported by Provision:
-
Amazon Linux
-
IBM AIX
-
Oracle Solaris
-
SUSE (SLES)
Before you capture a LinuxOS image, review the following required configurations:
-
Provision supports the default disk layouts for each OS that is captured and deployed:
-
AlmaLinux, CentOS, RedHat, and Rocky Linux: LVM and XFS file systems
-
Debian and Ubuntu: single Ext4 partition contains the entire OS
-
-
Disable the swap file. For example, on AlmaLinux, CentOS, RedHat, and Rocky Linux, use the swapoff -a command.
-
Ensure that the operating systems use the following volume group names. Provision can only deploy images with these volume group names.
-
RedHat: rhel
-
CentOS: cl
-
AlmaLinux: almalinux
-
Rocky Linux: rl
-
After you configure your Linux OS, you can use Provision to capture the OS into an image file.
Manage OS bundle files
The Provision OS Bundles Files page shows all the OS bundle content that was uploaded, including files uploaded while Creating an OS bundle. Use this page to upload, delete, and manage files across OS bundles. For example, you can upload a WIM file and then assign the WIM file to multiple bundles at once, instead of updating each bundle individually.
Upload a file
Upload a file and optionally, associate the file with one or more OS bundles.
Associate a file with a bundle
Assign files to existing OS bundles so that the files are used during the provisioning process. If an OS bundle already includes a file with the same name, the file is replaced with your selection.
-
From the Main menu, go to .
-
In the Edit bundles column, click
for the file that you want to assign to bundles.
-
In the All Available Bundles section, click Associate Bundle
for the target bundles. If you want to associate the file with all bundles, click Associate All Bundles. The list of available bundles includes applicable bundles only.
-
(Optional) If you are replacing a file and the replaced file is not used in any other bundles, you can select Permanently delete these unused files to remove the file from storage immediately. When not selected, files are automatically deleted after they remain unassociated with any bundle for 90 consecutive days.
-
Click Save.
View file details
View file details to understand which bundles are using the file.
- From the Main menu, go to .
- Click Additional Data
for the file that you want to view. The Used By section shows the OS bundles that are using the file.
Delete a file
To maintain an organized and up-to-date OS Bundle Files page, delete files that you no longer need. You can only delete files that are not assigned to any bundles.
- From the Main menu, go to .
- Select the checkboxes for the files that you want to delete.
- Click Delete
.
What to do next
When you have all the necessary files, create an OS bundle.