Office 365 2016 Activation Problem after Upgrade from Office 365 2013

Jonathan LefebvreOFFICE, SCCM1 Comment

In a previous post, we covered how to upgrade Office 365 2013 to Office 365 2016. We came across an issue after the upgrade is completed. Once you start any Office application, Office 365 2016 ask for activation, which will fail if attempted and then ask for repair. This can be quite confusing for user.

 

Error message

We’re sorry, but Excel has run into an error that is preventing it from working correctly. Excel will need to be closed as a result.

Would you like us to repair now?

 

Office 365 2016 Activation Problem Upgrade

Following the activation try, an error prompts :

Office 365 2016 Activation Problem Upgrade

In this post, we will detail how to fix this activation issue as part of the upgrade process.

Problem

While the Office 365 upgrade is running, the UserOperations registry key is removed.

Office 365 2016 Activation Problem Upgrade

Solution

Re-create the registry key after the upgrade of Office 365 is completed. We will use a batch file for this.

Office 365 2016 Activation Problem Upgrade Pre-requisite

Installation with Batch File

We will now create a batch file to include the creation of the registry key after the setup :

  • Create a batch file at the same level as the setup.exe file

Office 365 2016 Activation Problem Upgrade

Upgrade.bat

setup.exe /configure %~dp0configuration.xml
reg add HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform /v UserOperations /t REG_DWORD /d 1

Add a Program to the Existing Package

  • Add a new program to your existing Office 365 2016 package
    • Command line  : cmd /c Upgrade.cmd
    • Check Allow users to view and interact with the program installation (refer to our previous blog post for details)

Office 365 2016 Activation Problem Upgrade

  • Deploying this program will recreate the missing registry key at the end of the upgrade

Office 365 2016 Activation Problem Upgrade

Hope this help!

Office 365 2016 Activation Problem after Upgrade from Office 365 2013
Rate this post !

Contributor of System Center Dudes. Based in Montreal, Canada, Senior Microsoft SCCM consultant, working in the industry for more than 10 years. He developed a strong knowledge of SCCM and MDT to build automated OS deployment solution for clients, managed large and complexe environment, including Point of Sale (POS) related projects.

One Comment on “Office 365 2016 Activation Problem after Upgrade from Office 365 2013”

  1. Pingback: Office 365 2016 Activation Problem after Upgrade from Office 365 2013 |

Leave a Reply

Your email address will not be published. Required fields are marked *