


You will be told that your Office product key has been uninstalled. To remove your Office product key, you need to use the /unpkeyswitch, along with the last 5 characters of the product key.Ĭscript ospp.vbs /unpkey: Bulk add and remove Office 365 Licences TheSleepyAdmin Office365, PowerShell OctoNovem2 Minutes I recently had a to move around a few thousand EMS licences to enable MFA for Office 365 and Azure, I decided to do two quick scripts to remove and add back the licences to the required users.

Part 2: Remove Existing Office Product Key You’ll see some license details such as the license type (a retail copy, a volume licensed copy, or Office subscriptions copy) and the last 5 characters of the product key. Now you can check the license status by running the script called ospp.vbs, which is located in your Office program folder. Office 2013: C:\Program Files\Microsoft Office\Office15 or C:\Program Files (x86)\Microsoft Office\Office15 This allows you to remove the need for anyone in your organization from having to ever.Office 2016 / 2019: C:\Program Files\Microsoft Office\Office16 or C:\Program Files (x86)\Microsoft Office\Office16.The subfolder varies depending on your Office version: This is a relatively new feature, so you may find a number of outdated blog posts and documentation that says users must deactivate their installs individually. Navigate to the Microsoft Office program folder using the cd command. Office 365 admins can list the activated Office 365 ProPlus installs for a user and deactivate them via the user accounts list in the admin portal. To get started, open the Command Prompt as administrator. If you are running the script against a large number of users. For any Azure AD group returned, the Remove-AzureADGroupMember cmdlet is run to remove the user as member. If the switch IncludeAADSecurityGroups is used, Azure AD groups are enumerated next.
HOW TO REMOVE OFFICE 365 LICENSE FOR MULTIPLE USERS HOW TO
How to update / replace Office license key before the expiration date? Is there a way to change the product key without reinstalling Office suite? Do you have an old PC you want to sell, but also want to transfer your Office license to your new PC? In this tutorial we’ll show you an easy way to remove the existing product key registered with your Microsoft Office 2019 / 2016 / 2013 application. For each group in the list, the relevant cmdlet is issued to remove the user as member.
