

The ospp.vbs script is located in the Program Files\Microsoft Office\Office16 folder. You can use the ospp.vbs script to remove the Office 365 license. If you're trying to set up SCA on a computer, make sure to clean up existing keys first. If Shared Computer Activation (SCA) is enabled and running, you shouldn't see any product keys installed during the procedure. Step 1: Remove Office 365 license for subscription-based installations To automatically perform all of the checks listed below and run the appropriate scripts needed to reset the activation state, you can download and run the Microsoft Support and Recovery Assistant. After a user is activated, multiple locations must be cleared to reset the application to a clean state. Another scenario is when enterprise organizations roam licenses or credentials to simplify the sign-in process.

It's common for users to switch devices or for an enterprise to add or change M365 or O365 tenants. This article is written and maintained by Eric Splichal, Support Escalation Engineer and Matt Philipenko, Sr Premier Field Engineer. Reset Microsoft 365 Apps for enterprise activation state
