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.

 

[su_box title=”Error message” style=”glass” title_color=”#F0F0F0″]

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?

[/su_box]

 

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

[su_box title=”Upgrade.bat” style=”glass” title_color=”#F0F0F0″]

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

[/su_box]

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!

Comments (1)