Reactivate Office 365…

Office UnlicensedMicrosoft did it again… make a common task difficult. You have multiple computers in your company… you use Office 365 with ‘streamed’ MS Office 2013 components… each computer has its own main user. Employee Harry decides to leave the company. You remove the Office 365 account . Hermione is a new employee at your company (lucky you). So you set everything up for her. MS Office starts to complain it is unlicensed. You try all kind of things… but you can’t activate it. Only way it seems is to completely reinstall MS Office 2013…

Not so…

-Close all MS Office programs,
-Create a text file RemoveOfficeLicense.cmd with the following contents:

cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /dstatus > OfficeKeys.txt
find "Last 5" OfficeKeys.txt > OfficeKeys2.txt
for /f "tokens=8 delims= " %%a in (OfficeKeys2.txt) do cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /unpkey:%%a
del OfficeKeys.txt
del OfficeKeys2.txt

-Run this batch file as administrator (richt click, run as administrator)
-Open MS Word… and Office will start the activation process just like it did when you first installed it. Or it will reactivate automatically when the current user does not have license problems.
-Close and open Office again and the license error is gone!
-What also helps sometimes is running MS Word one time as administrator (right click, run as administrator)



About Stoomkracht

Scripter, programmer, Windows administrator, network/wifi engineer, thinker

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: