It’s often af problem with shared machines or if the user has taken over someones PC after they left the company. Sometimes it can happen if the users password was changed or the license was Upgraded/Downgraded.
There is two things you need to do to solve this problem 90% of the time.
Remove the registred license from the computer.
We need to start by removing the installed license from the machine.
Open a CMD prompt, and navigate to one of the following paths that match your systems installation of office. Make sure to check which version you have installed, if theres a folder called Office15, then change it in the path aswell.
C:\Program Files\Microsoft Office\Office16
C:\program files (x86)\Microsoft Office\office16

Open CMD.exe on your computer, make sure you opened it as administrator and type the following.
cd “Your path” ^ read above how to find your path.
In the same CMD window type the following to list your installed office keys.
1 |
cscript OSPP.VBS /dstatus |

After running the /dstatus command, your keys will be displayed in the CMD window, note them down
In the same CMD windows type the following command to remove your keys from the system (Don’t worry, they will be readded) make sure to remove all the keys shown when you ran the /dstatus command.
1 |
cscript OSPP.VBS /unpkey:KEY |
You have now succesfully removed the keys from your machine.
Remove the saved credentials from control panel.
To make sure Word/Excel etc, does not try to automatically login, we need to remove the saved credentials from control panel.
On the users computer open Windows Credential Manager, you can use the run command “Win + R” and type the following “control.exe /name Microsoft.CredentialManager“
Select “Windows-Credentials” and remove everything that has to do with “Microsoft, Office, Onedrive, Outlook, Teams,” This will force the officeprogram to ask for credentials and reactivation once launching one of the programs Word, excel etc…
These methods has worked for me almost every single time, regarding activation issues or login loops.
If you have any questions / feedback or would like to correct me on any of the stuff above.
Please use the comment section or contact me directly using the blue button in the bottom right corner.