• July 17, 2017
    Announcement: New site design for Microsoft Community

    In July, Microsoft will roll out the first of ongoing site improvements aimed to modernize Microsoft Community and help customers get the most out of their community experience.

    • During the roll out period, you may see the old or new site design depending on your location

    • We expect the roll out to finish by 31 July

    Note: Past private message conversations will not move to the new site design. Please save any private messages you would like to keep.

     Learn more about the upcoming site improvements in this thread.

    Thank you for being part of Microsoft Community!

 
Question
14628 views

This app can't open - workaround

Andrew Moss [MSFT] asked on
Once again let me thank all the people that have been trying out our Preview Apps.  We have identified the root causes of the problem that is causing the Office Apps to fail to open – sometimes with an error message saying “This app can’t open”.
 
There was an issue with the Store Licensing Service which meant that the Preview Apps were given a license that timed out far too quickly. This was fixed on 2/23.  Unfortunately, this exposed another issue whereby the Store would fail to acquire a new license if one already existed – regardless of whether the license had expired.  Removing an app and installing again doesn’t clear the cache, so even if you do this the app still fails to acquire a new license on startup.  So basically if you installed the app prior to 2/23 then you would hit this issue and removing and reinstalling the app won't fix the problem.
 
We’re currently working on getting a fix into a Windows update, and I will shortly be posting how you can manually work around this in the meantime.

Stay tuned, and once again thank you for taking part on the Office Preview program.
57 people had this question

Abuse history


The answered status icon Answer
Andrew Moss [MSFT] replied on

Here's how to work around the issue until a fix is available. This workaround will essentially purge all licenses cached on the device, and allow a refresh of all valid licenses.

If the app is showing the behavior exhibited from an invalid license it must be reacquired from the Store to get a new license.  In other words after you do this workaround you will need to remove Word Preview, PowerPoint Preview and Excel Preview and re-acquire them from the Store (and other Apps if they are also showing the same symptoms)

Instructions

1. Open Notepad

2. Paste the following text into the blank doc

echo off

net stop clipsvc

if "%1"=="" (
 echo ==== BACKING UP LOCAL LICENSES
 move %windir%\serviceprofiles\localservice\appdata\local\microsoft\clipsvc\tokens.dat %windir%\serviceprofiles\localservice\appdata\local\microsoft\clipsvc\tokens.bak
)

if "%1"=="recover" (
 echo ==== RECOVERING LICENSES FROM BACKUP
 copy %windir%\serviceprofiles\localservice\appdata\local\microsoft\clipsvc\tokens.bak %windir%\serviceprofiles\localservice\appdata\local\microsoft\clipsvc\tokens.dat
)

net start clipsvc

3. Save the file (somewhere easy to find) as "activelic.bat" (note the .bat extension)

4. Execute the batch file from an administrator privileged command prompt. (right click Start button (window logo) | select ‘Command Prompt (Admin)’) - see screenshot for example

5. Go to the Start menu and uninstall the App exhibiting the behavior.

6. Go to the Gray Store and reacquire the App. Launch it and it should now open, reacquire a new, valid, license.

47 people found this helpful

Abuse history


progress