Upgrading Windows

Deploy supports two methods for upgrading Windows: enablement package upgrades and in-place upgrades.

  • Enablement package upgrades use files that are staged on endpoints to upgrade specific versions of Windows 10 or 11 to newer versions. This type of upgrade is fast, reliable, and requires no additional configuration.

  • In-place upgrades require that you first stage Windows installation media on the endpoints to upgrade, then scan for compatibility, and lastly run Windows Setup to install the new version of Windows.

Overview of enablement package upgrades

To use the enablement package method, import the Feature Update software package from the Predefined Package Gallery and then deploy it to the endpoints you want to target. Enablement packages require no additional setup.

Important: Pre-notify the user, post-notify the user, and force a restart as part of the deployment. The upgrade does not complete until the computer is restarted and fails if the user shuts down the computer while it is running. As a result, it is necessary to inform the user that a Windows upgrade is beginning and subsequently that their computer must be restarted.

For more information about configuring notifications and restarts, see Manually deploy a software package or bundle.

Enablement package upgrade paths

Deploy supports the following enablement package upgrade paths:

Note: Applicability rules are defined in the enablement packages to apply only to systems that are at the required build and update levels.
Table 1. Supported enablement package upgrades

Current version with upgrade prerequisites

Enablement package

​Windows 11, version 24H2

​Windows 11, version 25H2

The following update must also be installed before upgrading:

Cumulative update September 22, 2026—KB5124010 (OS Builds 26100.9546) Preview or later

Feature Update to Windows 11, version 26H2 (KB5121794)

​Windows 11, version 24H2

The following update must also be installed before upgrading:

Cumulative update August 29, 2025—KB5064081 (OS Builds 26100.5074) Preview or later or later

Feature Update to Windows 11, version 25H2 (KB5054156)

​Windows 11, version 22H2

The following update must also be installed before upgrading:

Cumulative update October 31, 2023—KB5031455 (OS Builds 22621.2506 and 22631.2506) Preview or later

Feature Update to Windows 11, version 23H2 (KB5027397)

Windows 10, version 20H2, Enterprise edition

Windows 10, version 21H1

Windows 10, version 21H2

The following updates must also be installed before upgrading:

Feature Update to Windows 10, version 22H2 (KB5015684)

Windows 10, version 2004

Windows 10, version 20H2

Windows 10, version 21H1

The following updates must also be installed before upgrading:

Feature Update to Windows 10, version 21H2 (KB5003791)

For more information, see Import a software package from the Predefined Package Gallery.

Overview of in-place upgrades

Deploy supports the upgrade of Windows 7 Service Pack 1 and later to Windows 10 and upgrades of Windows 10 or 11 to later builds of Windows. You can use Deploy to handle the Windows upgrade process in three phases:

  • Phase 1: Download Windows media and scan for compatibility

    You can choose from two options for downloading and installing the Windows media in preparation for the upgrade; pre-cache or direct cache.

    Table 2. Windows media options

    Details

    Phase 1: Pre-cache

    Phase 1: Direct cache

    Windows media

    You need to have Windows installation media (ISO or standalone ESD file) acquired from Microsoft or an authorized OEM that corresponds to the Windows version, edition, architecture, and language that you want to deploy. For more information, see Before you begin an in-place upgrade.

    You do not need the Windows media file.

    Process

    The Phase 1 Pre-Cache software package invokes a PowerShell script to copy the files that are required for the upgrade to the <Tanium Client>\Tools\SoftwareManagement\WinIPU directory on the endpoint.

    After the files are in place, the PowerShell script runs Windows Setup to check for upgrade compatibility. The script then takes the information returned from Windows Setup and records the results in the registry.

    The Direct Cache package uses a script to determine the correct URL for the Windows media that matches the architecture, edition, and language of the endpoint being upgraded and then downloads that media directly from Microsoft.

    After the files are in place, the PowerShell script runs Windows Setup to check for upgrade compatibility. The script then takes the information returned from Windows Setup and records the results in the registry.

    Languages

    If the operating system locale is not en-us, you need to update the Update Detection and Install Verification rules in the pre-cache package.

    Direct Cache packages automatically download the respective media.

    Target

    This option is the best choice for updating many Windows endpoints that are in the same physical network location.

    This option is the best choice for updating isolated endpoints that are not peering with other Tanium-managed endpoints, such as those used by remote workers.

    Additional considerations

  • Phase 2: Compatibility remediation and re-scan

    If the Phase 1 compatibility scan fails, you must remediate any problems. You can use the Phase 2 software package to force a new scan. Rescanning is necessary if there is a compatibility problem detected in the Phase 1 scan that is later remediated.

  • Phase 3: Windows Upgrade

    The Phase 3 software package invokes a PowerShell script that runs Windows Setup to perform the upgrade.

Before you begin an in-place upgrade

  • Pre-cache: Acquire appropriate installation media from the Microsoft 365 admin center, Visual Studio Downloads, another official Microsoft source, or a Microsoft-authorized OEM.

    The installation media is typically an ISO file, but in rare cases an OEM might provide you with a standalone compressed ESD file. A valid Windows installation ISO or standalone ESD file contains Windows Setup files (setup.exe), a boot.wim, and an install.wim or install.esd file.

    Note: Do not modify the contents of Windows installation media. While certain modifications might work, modified images are not supported for in-place upgrades by Microsoft1,2 or by Tanium. Use Tanium Provision to deploy an OS refresh if you need to use a custom image.
  • Your security administrator must create security exclusions to ensure successful operation of Tanium Deploy and the Tanium Client.

  • Ensure that endpoints meet the required minimum disk space and RAM for all InPlace packages. To view the requirements, go to Modules > Deploy > Software and click the name of a package. The requirements are in the Software Package Details section.

Note: If you have any questions about implementing Windows upgrades in your environment, Contact Tanium Support to discuss your testing and implementation plans.

Step 1: Prepare and modify software packages

Prepare to upgrade by importing and modifying software packages.

  1. Import three InPlace software packages (Phase1 Pre-Cache, Phase 2 Re-Scan, and Phase 3 Upgrade) from the predefined package gallery. The following examples use Windows 11 Version 24H2. Substitute with the version and architecture you are deploying as needed.
    1. From the Main menu, go to Modules > Deploy > Software, and then click Predefined Package Gallery.
      Tip: You can use the filter or search options to narrow the list to Microsoft Windows upgrades.
    2. Select the following three packages:
      • InPlace Upgrade to Windows 11 Version 24H2 - Phase1 - Pre-Cache

      • InPlace Upgrade to Windows 11 Version 24H2 - Phase2 - Re-Scan

      • InPlace Upgrade to Windows 11 Version 24H2 - Phase3 - Upgrade

    3. Click Import, confirm the action, and then click Go To Software Packages.
  2. Modify the Phase 1 pre-cache software package.
    1. Click the imported InPlace Upgrade to Windows 11 Version 24H2 - Phase1 - Pre-Cache package and then click Edit.
    2. In the Package Files section, confirm that the 7-Zip files have been imported. If needed, manually import the files.
      1. Expand Package Files, and then click 7Zip.msi.

      2. Copy the URL of the 7-Zip MSI file in the origin field and paste it in a browser window to download it to the local computer. Click Delete.

      3. Click Add Package Files. Click Local File. Browse to the location that you saved the MSI file in the previous step. Click Open.

        Important: Do not click Inspect MSI to Populate Fields.
    3. Expand Package Files, and then click Add Package Files > Local File.
    4. Navigate to the ISO or ESD file and then click Open.

      After the upload completes, the file entry with its SHA-256 hash appears.

    5. (Optional) If a locale other than en-us is required, edit the Update Detection and Install Verification rule and change 1033 to the appropriate language ID.

      For more information and a complete list of all language/region decimal IDs, see Microsoft Documentation: Available languages for Windows.

    6. Click Save Package and then if prompted, click Distribute Catalog.
      Note: After you update the package, the Deploy service transfers files to the Tanium Server. This process could take up to 30 minutes. You cannot deploy the Phase 1 software package until it completes.
  3. (Optional) Modify the Phase 3 software package.

    The PowerShell script associated with Phase 3 starts the Windows Setup upgrade process and in most cases should need no modification. The script runs Windows Setup with the following command line arguments:

    /auto Upgrade /NoReboot /Quiet /DynamicUpdate disable /ShowOOBE none /Telemetry disable /Uninstall enable /EULA accept

    If you need to append additional arguments to the command line that Windows Setup is using for upgrade, you can complete the following steps:

    Note: If you modify these packages, ensure that you test thoroughly and run them at your own risk.
    1. From the Main menu, go to Modules > Deploy > Software.
    2. Click InPlace Upgrade to Windows 11 Version 24H2 - Phase3 - Upgrade and then click Edit.
    3. In the Update section of the Deploy Operations section, add any arguments to the end of the command in Run Command.

      For example, if you want to keep BitLocker active during a Windows 11 to Windows 11 upgrade, instead of the default behavior of suspending Bitlocker, you can append that argument to the end of the command:

      CODE
      powershell.exe -executionpolicy remotesigned -noninteractive -command ".\New-WindowsUpgradeScheduledTask.ps1" /EULA accept /Bitlocker ForceKeepActive
      Note: The full list of commands available to Windows Setup can be found at: Microsoft Documentation: Windows Setup Command-Line Options.

Step 2: Deploy the Phase 1 software package

After the modified phase 1 software packages finishes caching on the Tanium Server, complete the following steps to deploy the package.

  1. From the Main menu, go to Modules > Deploy > Software.
  2. Select InPlace Upgrade to Windows 11 Version 24H2 - Phase1 - Pre-Cache and click Deploy Package.
    Important: Do not use Windows InPlace Upgrade packages in a software bundle. Each phase needs a different deployment in order to track deployment status and display End-User Notifications before and after the upgrade.
  3. Select the desired options according to your environment, click Show Preview to Continue, and then click Deploy Software.
    Note: For this deployment, do not restart and do not set notifications because actions are not visible to end users.
    Note: Deploy this package on an ongoing basis. Deploy automatically runs this deployment on endpoints when they enter an eligible state.

Step 3: Review and remediate compatibility results

After deploying the Phase 1 software package, you must check for and remediate any compatibility problems on endpoints. If all targeted endpoints show an applicability status of Installed for Phase 1, then you can skip to Step 6: Deploy the Phase 3 software package.

Use the following sensors to find endpoints with compatibility problems:

Tip: To quickly diagnose a problem after you find endpoints with compatibility problems, review the C:\$WINDOWS.~BT\Sources\Panther\ScanResult.xml on the endpoint. Look for error references that might prevent an upgrade or migration.
Deploy - Windows Upgrade Ready (Optional)

This sensor returns a True/False result as to whether systems are ready and meet the Windows requirements for installation. A False result means that the scan failed for a variety of reasons or that you targeted an ineligible system, such as Windows Server, Mac, or Linux. Use this question for tracking counts of endpoints that are ready for upgrade.

Deploy - Windows Upgrade Scan Details

This sensor provides detailed information from Windows Setup, including specific compatibility blockers. Use this sensor for remediation in the following procedure.

Deploy - Windows Upgrade Scan Results (Optional)

This sensor produces the text of the scan and the result (return code) from Windows Setup. An example of a successful return code from Windows Setup is: 0xc1900210. Use this sensor for tracking groups of compatibility states. Review Windows Upgrade SCAN Details and remediate errors.

Use the Deploy - Windows Upgrade Scan Details sensor to view more detailed information about compatibility failures. For example, some installed software might be incompatible with the upgrade process to this version of Windows. In this scenario, you might need to update or remove software before upgrading Windows.

You can use the Deploy - Windows Upgrade Scan Results sensor to review and remediate any conditions that prevent upgrade, such as low disk space or a compatibility block.

  1. Go to the Tanium Home page and ask the following question:
    PYTHON
    Get Windows Upgrade Scan Details from all machines
  2. (Optional) Filter to restrict the question to endpoints that you targeted with the Phase 1 deployment. Feature Update to Windows 11, version 23H2 (KB5027397)
    1. From the Deploy menu, go to Deployments and click the InPlace Upgrade to Windows 11 Version 24H2 - Phase1 - Pre-Cache deployment.
    2. In the Summary section, click Summary next to Reporting and select View Online Data. A new Interact page appears with a question filtered to machines that ran this deployment.
    3. Replace the Get Deploy - Deployments portion of the question with Get Deploy - Windows Upgrade Scan Details.
    4. Select the new question for the filtered view of Get Deploy - Windows Upgrade Scan Details.
  3. Identify remediation strategies for blocking conditions. For example, if an answer indicates an installed application is not compatible, deploy a Deploy Software Package or Tanium Package to update or remove that application.
  4. (Optional) If remediating with a Deploy Software Package or Tanium Package, consider using the Custom Tagging - Add Tags Tanium Package to apply a custom tag before deploying the remediation to easily track the remediated endpoints.

Step 4: Deploy Tanium package: Registry - Set Value

If you have remediated any blocking issues and are ready to re-scan those endpoints for compatibility, you must set a registry value to enable Phase 2 to run.

  1. Ask a Tanium question that identifies the remediated endpoints. For example, if you used a custom tag called Win11remediated to identify endpoints in the previous step, ask the following question:
    PYTHON
    Get Online from machines with custom tags equals Win11Remediated
  2. Select the answer indicating the remediated endpoints and click Deploy Action.
  3. Select the Tanium Package: Registry - Set Value.
  4. Set the OS Architecture to 32. By selecting 32, the key is placed under the required WOW6432Node registry path.
    Note: Do not directly specify the WOW6432NODE path in the Registry Key Name field.
  5. For Registry Key Name, enter HKEY_LOCAL_MACHINE\Software\Tanium\Tanium Client\OSD.
  6. For Value Name, enter Status.
  7. For Value Data, enter WIM File Copied.
  8. For Value, select REG_SZ.
    Important: Do not deploy this package on an ongoing basis. Modify the key one time. After you are ready to rescan any endpoints, proceed to Step 5: Deploy the Phase 2 software package to force a compatibility re-scan.

Step 5: Deploy the Phase 2 software package

The Phase 2 deployment uses the Windows Setup files to run the same compatibility scan that runs during the Phase 1 deployment. If there were no compatibility errors during the Phase 1 deployment, then the Phase 2 deployment is not required. If you resolved the problems and set the registry value, the Phase 2 software package appears in the Update Eligible applicability status on those endpoints and should be deployed.

  1. From the Main menu, go to Modules > Deploy > Software.
  2. Select InPlace Upgrade to Windows 11 Version 24H2 - Phase2 - Re-Scan and click Deploy Package.
    Important: Do not use Windows InPlace Upgrade packages in a software bundle. Each phase needs a different deployment in order to track deployment status and display End-User Notifications before and after the upgrade.
  3. In the Endpoints to Target section, select the same targets or a subset of the targets that you configured for the Phase 1 deployment.
  4. Select the desired options according to your environment, click Show Preview to Continue, and then click Deploy Software.
    Note: For this deployment, notifications are not necessary because you are running a scan that is not visible to end users.
    Note: Deploy this package on an ongoing basis. Deploy automatically runs this deployment on endpoints when they enter an eligible state.

After you deploy the Phase 2 software package, review compatibility results again for any targeted endpoints that are not in Installed status for the Phase 2 software package. Some endpoints might take several iterations of remediation before the compatibility scan passes.

Step 6: Deploy the Phase 3 software package

The Phase 3 deployment depends on the successful completion of the Phase 1 and Phase 2 deployments. This deployment executes the Windows Upgrade

  1. Evaluate BitLocker management. By default, Windows Setup automatically suspends BitLocker for the duration of the in-place upgrade. However, review the following scenarios:
    • If you modified the Phase 3 package to keep BitLocker active (see (Optional) Modify the Phase 3 software package), go directly to step 2.
    • If BitLocker is not managed by a Tanium Enforce policy, go directly to step 2.

    • If BitLocker is managed by Enforce and you did not modify the package to keep BitLocker active, deploy the Enforce - Suspend BitLocker package with rebootcount=1 to those endpoints.
      Note: If you do not deploy Enforce - Suspend BitLocker, Enforce might resume BitLocker before the upgrade finishes, which can cause the upgrade to fail. For more information about this package, see

      Tanium Enforce User Guide: Suspend and resume BitLocker.

  2. From the Main menu, go to Modules > Deploy > Software.
  3. Select InPlace Upgrade to Windows 11 Version 24H2 - Phase3 - Upgrade, click Deploy Package.
    Important: Do not use Windows InPlace Upgrade packages in a software bundle. Each phase needs a different deployment in order to track deployment status and display End-User Notifications before and after the upgrade.
  4. In the Endpoints to Target section, select the same target as the Phase 1 deployment or the desired targets that you want to start the upgrade.

    Endpoints that are not in Installed status for both the Phase 1 and Phase 2 deployments cannot execute this software package operation, so there is no need to restrict targeting based on the previous phase results.

  5. Select the desired deployment options based on your environment, click Show Preview to Continue, and then click Deploy Software.
    Important: Pre-notify the user, post-notify the user, and force a restart as part of the deployment. The upgrade does not complete until the computer is restarted and fails if the user shuts down the computer while it is running. As a result, it is necessary to inform the user that a Windows upgrade is beginning and subsequently that their computer must be restarted.
  6. If you deployed Enforce - Suspend BitLocker in step 1, deploy the Enforce - Resume BitLocker package after you confirm that the endpoint is running the new Windows version.
    Important: If the Phase 3 deployment does not complete successfully, action lock might be turned on for some endpoints. For more information about how to find endpoints with action lock enabled and how to disable action lock, see Test action locks and Turn off action locks.

Deploy Cleanup

After you complete the Phase 3 deployment or run the Phase 1 deployment again, if necessary, use the Windows Upgrade Cleanup software package to remove artifacts and enable future usage of Windows upgrade software packages.

  1. From the Main menu, go to Modules > Deploy > Software.
  2. Select Windows Upgrade Cleanup and click Deploy Package.
  3. In the Endpoints to Target section, target the applicable endpoints to remove Windows 11 upgrade artifacts. For example, you can enter the following targeting filter to clean up endpoints that completed the 24H2 upgrade:
    CODE
    Deploy - Installed Software Packages matches .*InPlace Upgrade to Windows 11 Version 24H2 - Phase3 - Upgrade.*Installed and Windows OS Release ID matches 24H2
    Tip: If necessary, replace the software package name and release ID to match the package you deployed.
  4. For the Deployment Type setting, select One-Time. Do not select Ongoing because an ongoing deployment might overlap with and break future upgrade attempts.
  5. Select the desired deployment options based on your environment, click Show Preview to Continue, and then click Deploy Software.
    Note: Do not set any notifications and do not force a restart as part of the deployment as these settings are unnecessary.

To check for Phase 3 success, ask the question Get Operating System?maxAge=60 from all computers. If an endpoint does not answer with the operating system you deployed, the upgrade was not successful. For more information, see Troubleshooting in-place upgrades. The maxAge parameter ensures that the answer is updated immediately.

For more information about deployment settings, see Manually deploying software.

Troubleshooting in-place upgrades

  • View logs. Tanium records activities from each phase to the <Tanium Client>\Tools\SoftwareManagement\logs\WinIPU folder. To troubleshoot errors in each phase, review the appropriate log file from an affected endpoint:

    • Phase 1 media caching: WinIPU_PreCache.txt

    • Phases 1 and 2 compatibility scan: WinIPU_CompatScan.txt

    • Phase 3 rollback log, in case of failure: WinIPU_PostRollBack.txt

    • Phase 3 Windows setup log: WinIPU_Upgrade.txt.

  • Depending on the failure, the Microsoft logs are automatically copied to <Tanium Client>\Tools\SoftwareManagement\logs\WinIPU. The most useful failure information is typically found in Setupact.log and Setuperr.log. You can use Microsoft SetupDiag to assist in diagnosing upgrade issues. For more information, see Microsoft documentation: SetupDiag.

  • To collect Tanium and Microsoft logs from an endpoint, generate an Endpoint Must Gather that includes all items in the Core and Software Manager domain. For more information on generating an Endpoint Must Gather, see Troubleshooting Tanium Clients and Client Management.