Close Menu
Peter Klapwijk – In The Cloud 24-7Peter Klapwijk – In The Cloud 24-7
    Facebook X (Twitter) Instagram
    Peter Klapwijk – In The Cloud 24-7Peter Klapwijk – In The Cloud 24-7
    • Home
    • Intune
    • Windows
      • Modern Workplace
    • macOS
    • Android
    • iOS
    • Automation
      • Logic Apps
      • Intune Monitoring
      • GitHub
    • Security
      • Passwordless
      • Security
    • Speaking
    • About me
    Peter Klapwijk – In The Cloud 24-7Peter Klapwijk – In The Cloud 24-7
    Home»Intune»Change a Microsoft 365 Apps installation from 32-bit to 64-bit
    Intune

    Change a Microsoft 365 Apps installation from 32-bit to 64-bit

    Peter KlapwijkBy Peter KlapwijkJanuary 30, 20268 Mins Read

    Today, we’re going to have a look at an approach in converting Microsoft 365 Apps (at most people still know as the Office 365 suite) from 32-bit to 64-bit with Microsoft Intune.

    As an admin we can streamline the migration from the M365 Apps x32 installation to x64 using the Office Deployment Toolkit as described on Microsoft Learn. This involves creating an XML file that contains the MigrateArch attribute set to True.

    MigrateArch ensures a seamless migration, maintaining all previous deployment settings, including update paths and installed languages.

    This sounds like a migration without user impact, but note that the 32-bit version will be uninstalled and then the 64-bit version will be installed. This means for the end-user that all applications part of the Office suite need to be closed during this process to allow the uninstallation of the applications. So, there is some user impact when converting the Office suite on all existing devices. This makes it necessary to thoroughly plan the deployment of the 64-bits version to existing devices.

    Another thing to keep in account when planning the deployment of the 64-bits version as replacement of the 32-bits version is that you want to install the 64-bits on every new device as soon as the decision is taken the 64-bits will be the default version in your organization from a certain date.

    The challenge in this is that you, as IT admin, most likely assigned the 32-bits Office version to all devices or a group that at least contains a lot of your existing devices. Simply assigning the same group to the 64-bits version of the application would force the installation of the application to all the existing devices, closing the Office suite application in the middle of the business day. Your users might not be very happy with that approach.

    So, let’s have a look at a approach that we could take to deploy the 64-bits version of Office to our new and existing devices without too much user impact.

    Application deployment approach with Microsoft Intune

    Let’s start with the deployment of Office 64-bits to our new devices.
    We have different options with Microsoft Intune to deploy Microsoft 365 Apps. We have the built-in option, to just simply select the version, update channel etc. and deploy the application (shows as type Microsoft 365 Apps (Windows 10 and later) in Intune).

    We also have the option to use the Office Deployment Tool and create a package with the setup.exe and a configuration XML ourselves. From these files we can create a WIN32 package and have the installation start using a PowerShell script.

    Using a WIN32 package gives us some benefits, like using an Additional requirement rule. When using a PowerShell as additional rule, we can determine if the installation is running during Windows Autopilot enrollment or not. When using this approach, we can assign a WIN32 package for Office to an existing group of devices, without the application being forcefully installed on our existing devices, but only to our newly enrolled devices.

    Such an ‘ESP detection’ script is created by fellow MVP Jannik Reinhard and shared on his GitHub repo.
    I added some error handling to that script and also shared it on GitHub.

    The script checks if the explorer.exe process runs under the defaultuser0 or defaultuser1 account.
    When that’s the case, the output of the script is True.

    In Intune, we use this script as requirement rule. More on that later.

    When using the above described approach we need to create two separate applications in Intune, because the one for new devices is only installed during Autopilot enrollment (because of that detection script).
    We need to create an additional application in Intune for our existing devices. But this application only differs from the ‘Autopilot’ version on assignment and additional requirement rule. The intunewin files can be the same.
    We can assign this second package to our users as available for a couple of weeks and inform them to install the application at a moment that suits them, but with a deadline after which we will enforce the installation. After the deadline we can assign this package as required to all our Windows devices, existing and new.

    This means that at that moment we can remove the application that was installed only during Autopilot enrollment. So having two applications for the 64-bits Office version is only temporary. After a couple of weeks, we only have the version left without the additional requirement rule (assigned as required or otherwise to your needs).

    WIN32 Intune package creation

    After describing an approach to deploy the new 64-bits application as replacement of the 32-bits version, let’s also have a look at creating the WIN32 package.

    As described we can make use of the Office Deployment Tool (ODT). The ODT contains the setup.exe file with which we can install Microsoft 365 Apps. It also contains an example XML file in which we determine settings, like the architecture, which parts of the suite we shouldn’t install and if needed MigrateArch. In our case we need that MigrateArch set to True, as we want to migrate our 32-bits Office apps to 64-bits.

    We can manually change the example XML file to your own needs, but we can also use the Deployment configurations tool available in the Microsoft 365 Apps admin center.

    With this online tool we can create our own XML file using a GUI.

    We can select which architecture we need, which Office suite to install, like Microsoft Apps for Enterprise or Business, and we can select the Update channel.

    On the Installation tab we can select to shutdown running applications, if we want to enforce closing running applications.

    On the Update and upgrade options tab it is important to switch on the setting Automatically upgrade to selected architecture. This settings adds MigrateArch = True to our XML file.

    When we run through all tabs we can download the newly created XML file.
    When we open the XML file we see MigrateArch is set to True.

    We need to create a PowerShell script that starts the installation of Office by running setup.exe with the config XML file.
    An example of such a script can be found on my GitHub.

    The script creates a log file under ProgramData\Microsoft\IntuneManagementExtension\Logs for troubleshooting.

    The repo also contains an uninstallation and detection script.

    Use the Microsoft Win32 Content Prep Tool to wrap the files to the intunewin file we can deploy with Microsoft Intune.
    We can wrap all files to the package, but it’s not needed anymore to include the install and uninstall script, since we have the PowerShell script installer feature available.
    When using that new feature, it is no longer needed to include the PowerShell scripts in the intunewin file.

    Create and deploy the WIN32 package

    With the described approach we temporarily create two WIN32 applications in Intune, but there is no need to wrap our files into two different packages.

    Create a WIN32 application in Intune and upload the intunewin file.
    Depending on what you like to use you can add a command line to execute the PowerShell script, or use the PowerShell script feature like I do.

    For the package that we’re going to temporary use for our new devices, we add an additional requirements rule.
    Upload the ESP Detection script.
    Select Boolean as output data type.
    Select Equals as Operator.
    Set Value to True.

    This makes sure that this application can only be installed during Autopilot enrollment.

    This additional rule is NOT needed for the package we are going to assign to our user as available app.

    You can use your own detection rule, or upload the example script from my gitHub repo.

    The end-result

    Let’s have a look at the end-result.

    DESKTOP-9550 is an existing device on which the 32-bits version of Office is installed.

    The Autopilot version of Office 64-bits to install on new devices is assigned as required to a group that contains all my Windows devices, new and existing.
    The application is not applicable on my existing DESKTOP-9550.
    But is is installed on a newly enrolled device, DESKTOP-0030.

    The existing devices show not applicable because the PowerShell script requirement rule is not met.

    The second Office 64-bits app is available to install.

    The available Office 64-bits can be installed as replacement for the 32-bits version.

    We need to keep in mind that the existing Office applications need to be closed as the 32-bits version is installed after which the 64-bits version is installed.
    On my devices it took about 5 minutes to install the new version, but that is depended on how fast the package is downloaded on the device.

    To wrap things up:
    In the approach we temporary have two WIN32 applications in Intune to migrate from 32 to 64-bits Office.
    One version for our new devices, with the additional requirement rule, assigned as required to the group to which the 32-bits version was assigned.
    The second version first only assigned as available to allow users to migrate at a time of their choice, but with a communicated deadline.
    When the deadline is reached, the second version (without the additional requirement rule) can be assigned as required to the group that holds all our applicable devices (new and existing).
    The Autopilot version of the application can be cleaned up.

    I hope this post is something that helps you if you’re in the need to migrating Office 32-bits to 64-bits.

    Thanks for reading!

    Intune Microsoft Endpoint Manager Modern Workplace Windows
    Share. Facebook Twitter LinkedIn Email WhatsApp
    Peter Klapwijk
    • Website
    • X (Twitter)
    • LinkedIn

    Peter is a Security (Intune) MVP since 2020 and is working as Modern Workplace Engineer at Wortell in The Netherlands. He has more than 15 years of experience in IT, with a strong focus on Microsoft technologies like Microsoft Intune, Windows, and (low-code) automation.

    Related Posts

    Configuring the time zone with Intune, what are our options?

    January 9, 2026

    Set Edge Chromium as default browser with Microsoft Intune

    February 4, 2020

    Uninstall Windows 10 apps with Intune

    October 18, 2018
    Add A Comment
    Leave A Reply Cancel Reply

    Peter Klapwijk

    Hi! Welcome to my blog post.
    I hope you enjoy reading my articles.

    Hit the About Me button to get in contact with me or leave a comment.

    Awards
    Sponsor
    Latest Posts

    Intune PowerShell script installer feature

    January 17, 2026

    Configuring the time zone with Intune, what are our options?

    January 9, 2026

    Configure Azure file shares for Entra joined Windows devices and cloud identities

    December 19, 2025

    Managing Windows 365 Link devices with Intune

    October 24, 2025
    follow me
    • Twitter 4.8K
    • LinkedIn 6.1K
    • YouTube
    • Bluesky 1.5K
    Tags
    Administrative Templates Android Automation Autopilot Azure Azure AD Browser Conditional Access Edge EMS Exchange Online Feitian FIDO2 Flow Graph Graph API Identity Management Intune Intune Monitoring iOS KIOSK Logic Apps macOS MEM MEMMonitoring Microsoft 365 Microsoft Defender Microsoft Edge Microsoft Endpoint Manager Modern Workplace Office 365 OneDrive for Business Outlook Passwordless PowerApps Power Automate Security SharePoint Online Windows Windows 10 Windows10 Windows 11 Windows 365 Windows Autopilot Windows Update
    Awards
    Sponsor
    Follow me on Twitter
    Tweets by inthecloud_247
    Tags
    Administrative Templates Android Automation Autopilot Azure Azure AD Browser Conditional Access Edge EMS Exchange Online Feitian FIDO2 Flow Graph Graph API Identity Management Intune Intune Monitoring iOS KIOSK Logic Apps macOS MEM MEMMonitoring Microsoft 365 Microsoft Defender Microsoft Edge Microsoft Endpoint Manager Modern Workplace Office 365 OneDrive for Business Outlook Passwordless PowerApps Power Automate Security SharePoint Online Windows Windows 10 Windows10 Windows 11 Windows 365 Windows Autopilot Windows Update
    Archives
    Peter Klapwijk

    Hi! Welcome to my blog post.
    I hope you enjoy reading my articles.

    Hit the About Me button to get in contact with me or leave a comment.

    Copy right

    This information is provided “AS IS” with no warranties, confers no rights and is not supported by the authors, or In The Cloud 24-7.

     

    Copyright © 2025 by In The Cloud 24-7/ Peter Klapwijk. All rights reserved, No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

    Shorthand; Don’t pass off my work as yours, it’s not nice.

    Recent Comments
    • Ludovic on Intune PowerShell script installer feature
    • djoek on Application installation issues; Download pending
    • Artin on Onboarding a passwordless Azure AD user
    • George on Configure Azure file shares for Entra joined Windows devices and cloud identities
    • Ganesh sekarbabu on Configure Azure file shares for Entra joined Windows devices and cloud identities
    most popular

    Application installation issues; Download pending

    October 1, 2024

    How to change the Windows 11 language with Intune

    November 11, 2022

    Restrict which users can logon into a Windows 10 device with Microsoft Intune

    April 11, 2020

    How I solved a strange Kerberos issue

    December 12, 2024
    Recent Comments
    • Ludovic on Intune PowerShell script installer feature
    • djoek on Application installation issues; Download pending
    • Artin on Onboarding a passwordless Azure AD user
    • George on Configure Azure file shares for Entra joined Windows devices and cloud identities
    • Ganesh sekarbabu on Configure Azure file shares for Entra joined Windows devices and cloud identities
    Copy right

    This information is provided “AS IS” with no warranties, confers no rights and is not supported by the authors, or In The Cloud 24-7.

    Copyright © 2023 by In The Cloud 24-7/ Peter Klapwijk. All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

    Shorthand: Don’t pass off my work as yours, it’s not nice.

    Peter Klapwijk – In The Cloud 24-7
    X (Twitter) LinkedIn YouTube RSS Bluesky
    © 2026 ThemeSphere. Designed by ThemeSphere.

    Type above and press Enter to search. Press Esc to cancel.

    Manage Cookie Consent
    To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
    Functional Always active
    The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
    Preferences
    The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
    Statistics
    The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
    Marketing
    The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
    • Manage options
    • Manage services
    • Manage {vendor_count} vendors
    • Read more about these purposes
    View preferences
    • {title}
    • {title}
    • {title}