How to clear an office 365 install from the account of the previous user when the previous user is not known?

I am assigning a used laptop to a new user.  The laptop has Office 365 ProPlus pre-installed.  When I open any Office app and go to the 'Account' page, under subscription product it says Belongs to c******@re*****.com

I do not know who this previous user was.  How can I clear their account off of this machine without knowing who they are?

The new user has their own E3 license.

Thanks for pointing me in the right direction.

In the past, when I have known who the previous user was I would just have them log into the Office 365 portal and go under 'installs' and remove the machine name they are no longer using.  I dont know how to do that without knowing who this user is.   I am thinking there must be some way to clear it my machine name in the admin portal?  I hope!
snyperjAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

FOXActive Directory/Exchange EngineerCommented:
open command prompt as an admin and run both commands below

cscript.exe "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /dstatus

(Note the last 5 digits of the key and put them below after unpkey:)

cscript.exe "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /unpkey:XXXXX
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
snyperjAuthor Commented:
Perfect.  thx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.