How To Change / Assign / Re-Assign License key On Office 365

One of the best features of Office 365, is that every machine can serve multiple users just by signing in and out. Let’s say I’m in the confrenece room in my my office, and I want to use some document / presentation located in my SkyDrive. Office 365 is installed on the computer, and all I have to do, is to open some Microsoft Office program, click on “Sign In”, put my username and password and I get access to my private SkyDrive. When I’m done, I log out and every other user (employee) can log in and get access to their files.

So that was the situation with one of our computers, until at some point, when a user tried to log in, Office said there’s a problem.

I guess Office got confused with all the users / licenses assigned to that machine, so the solution is to re-assign a license to a user to a machine. Usually when it happened, I used to uninstall Office 365, since nothing else helped in this situation, but after researching the web, I found a great – quicker solution than uninstalling Office. By the way, after uninstalling, I also used to run CCleaner, just to make sure the registry is clean and healthy.

So this is how to change / assign / re-assign license key On office 365:

Last 5 Characters Of Product Keys
Last 5 Characters Of Product Keys
  1. Run command prompt by clicking on Start -> Start typing “cmd“, right click on “cmd.exe” -> Run as administrator.
  2. If you’re using the 32bit (x86) version of Office 365, type “cd\” -> Enter -> type “cd C:\Program Files (x86)\Microsoft Office\Office15” -> Enter. Go to Step 4.
  3. If you’re using the 64bit (x64) version of Office 365, type “cd\” -> Enter -> type “cd C:\Program Files\Microsoft Office\Office15” -> Enter. Go to Step 4.
  4. Type “cscript ospp.vbs /dstatus” -> Enter. This command will display the status of the current licenses, by showing the last five characters of each license (see picture above).
  5. Now all we have to do is to remove all the licenses that are attached to this machine. We are going to do that by typing “cscript ospp.vbs /unpkey:<last five characters of every product key from the list above>” -> Enter.
  6. Run the above command as many times as you need in order to remove all the product keys (one product at a time, not all together).
  7. Restart Windows, and after restarting Windows, try to run any Microsoft Office program, and it will ask you to sign in, in order to activate Microsoft Office 365.
  8. Done!

Share this post