Jump to content
Welcome to our new Citrix community!
  • 0

Office 365 doesn't seem to be activating

Nick Panaccio


I'm testing out O365 for the first time, but it doesn't appear to be activating (I get the 'Sign in to set up Office' screen when an O365 app launches) per ActivateOffice_log:


Thu 04/11/2019-11:04:47.97- Found Windows 10 will try to copy FromLayer\data.dat file to UEP  
Thu 04/11/2019-11:04:47.97- Office License file has been updated during the BIC Process 			
Thu 04/11/2019-11:04:48.07- Detected VDI operation; forcing office activation 
Thu 04/11/2019-11:04:48.11- Found File ProcessOffice365.txt - Skipping KMS Activation 

I tried following the recipe in CTX224566, but came across a few things that didn't make sense to me. For the Office 365 section, step 8 states: Run the Optimizer tool by right-clicking on RunOptimizer.cmd and choosing "Run As Administrator".  Select "Activate MS Office via KMS" or "Process Office 365".  Click "Save A-K" (the specific options may change in the future, so for instance it might say "Save A-J") to make sure the Office options are saved. I selected 'Process Office 365' and then saved the settings. Further down, it mentions re-arming Office, but if I attempt that, it fails with the following error:


There was an error when trying to rearm Office. You can try passing the SKU ID as a parameter. Passing the SKU ID is necessary if you are relying on an activation to permit an additional rearm.
Error: 0xc004fe00
On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0xc004fe00' to display the error text.


Is it safe to assume that I don't actually have to re-arm Office 365? And that I don't need to select 'Office 2016 Pro Plus' like I had been for my previous installs? If it helps, this is on App Layering 1902, on a Windows 10 1709 x64 VDA (XenDesktop 7.15 LTSR CU2) on PVS. Below is my O365 config file:


<Configuration ID="GUID-Goes-Here">
  <Info Description="Microsoft Office 365 ProPlus" />
  <Add OfficeClientEdition="64" Channel="Broad" ForceUpgrade="TRUE">
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="OneDrive" />
      <ExcludeApp ID="OneNote" />
      <ExcludeApp ID="Publisher" />
  <Property Name="SharedComputerLicensing" Value="1" />
  <Property Name="PinIconsToTaskbar" Value="FALSE" />
  <Property Name="SCLCacheOverride" Value="0" />
  <Updates Enabled="FALSE" UpdatePath="D:\" />
  <RemoveMSI />
    <Setup Name="Company" Value="Company" />
  <Display Level="None" AcceptEULA="TRUE" />
  <Logging Level="Standard" Path="C:\Windows\Temp" />


Link to comment

5 answers to this question

Recommended Posts

  • 0

You would only have to rearm Office if you actually ran any of the components.  So almost always, it's safe to skip the rearm. 


If you version the Office layer, does "cscript ospp.vbs /dstatus" show Office?  Does it show if you run that in the published machine?


While you're looking at the Office layer, check to see if you have C:\Windows\System32\spp\store\2.0\FromLayer, which shouldn't exist in the Office Layer, but might have been inherited from the OS layer if you accidentally ran the Office optimizations there.  If you see the FromLayer folder, delete it and re-run the Optimizer to re-save the Office licensing information.

Link to comment
  • 0

I'm building a new O365 layer just to go through the motions again in case I missed something, following the CTX article line by line. I definitely don't have the FromLayer folder, so that's not an issue. I rebooted the VM after finishing with the ngen updates, and wound up having to forcibly power it down in XenCenter. Not terribly worried, as that happens on occasion. When it came back up, I ran the script:


PS C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

<No installed product keys detected>

Mind you, this is the packaging machine, not the finalized vDisk. I'll check again tomorrow when I complete this image and will post back.


Edit: Actually, I already see one issue from this morning - step 9. After running the optimizer and successfully saving the settings, I went ahead and ran 'Office2013Windows81_PREP.cmd'.

Link to comment
  • 0

I don't know if it was running that batch file, but rebuilding the layer appears to have worked. That 'Sign in to Office' screen never appears, and I do see two files in 'C:\Users\username\AppData\Local\Microsoft\Office\16.0\Licensing'. I also see no banner in the Office apps stating that it's not activated. Running the ospp.vbs script still shows 'No installed product keys detected', though.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...