I had a user who’s install of Office from Office 365 was complaining it had a problem and needed to be Reactivated.
Every time an Office program was opened it would ask the user to go to their account.
No matter how many times I logged into the users account or clicked Reactivate (which takes you to the same place) and installed the version of Office there it wouldn’t go away. The install would never register as a computer with Office on it under the users pool of licenses.
My guess is that at some point Office was installed under a different user and activated and therefore it wasn’t letting me put this version under the new user. I didn’t want to hunt through hundreds of users accounts to see who had this PC registered so thankfully there is a way to fix it from the command line.
Head to a command prompt with admin privileges. Go to the program folder for the version of Office you have installed.
“C:\program files (x86)\Microsoft Office\Office15” “16” etc.
Run cscript OSPP.VBS /dstatus to list the keys that are installed.
I had two keys.
Then run cscript OSPP.VBS /unpkey:KEY for each key you have to remove them.
I then installed Office again from the users Office 365 account (You can also probably just logout and back into the account in Office).
Then activate they key with cscript OSPP.VBS /act
Everything was now happy and the install was listed under his account!