Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Clear or Reset Microsoft Office 365 Apps License Cache

August 3, 2022
in Blog, Microsoft 365, Microsoft Office
0
ADVERTISEMENT

Table of Contents

In some cases, you need reset activation state for Microsoft 365 Apps for enterprise when:

  • Repurpose a device for a different user.
  • Change the license mode for Microsoft 365 on a device,
  • Installed Office 2019/2021 but when you open an app, it shows Office 365.

This removal will reset the applications to a clean state. You can then activate them with a different Office account or change to a different license mode. To reset the activation state, close all Office applications and use one of the following methods.

Use Microsoft Support and Recovery Assistant

The Assistant fully automates all the steps required to reset Office activation, and is available in two versions. Use the version that’s appropriate for your requirement.

Command-line version

1. Open any Office app then sign out your account from Microsoft Office.

Bg1418

2. The command-line version of the Assistant can be scripted and is recommended to reset Office activation on multiple devices and on devices that you can’t access immediately.

Download command-line version

3. Extract downloaded file to a folder then copy the extracted folder to root of system drive C.

Bg1415

4. Right click on Windows Start icon then open Windows PowerShell Admin.

Pw3

5. Navigate to the copied folder in C drive using cd command.

cd C:\SaRaCmd_xxxxx
Bg1416

6. Run the following command to reset Microsoft 365 Apps license cache.

.\SaRAcmd.exe -S ResetOfficeActivation -AcceptEula -CloseOffice
PS C:\SaRACmd_17_0_8713_1> .\SaRAcmd.exe -S ResetOfficeActivation -AcceptEula -CloseOffice
Starting Microsoft Support and Recovery Assistant Command Line (17.00.8713.001).

Running Scenario ResetOfficeActivation...
80: Successful run. Start any Office app and sign-in to activate.

Scenario finished with exit code: [80].

SaRA Command Line is closing, Please wait...

7. Once done, reopen any Office app to verify it works.

Bg1420
ADVERTISEMENT

UI version

The UI version of the Assistant is recommended if you need to reset Office activation on a single device, or on a small number of individual devices.

1. Download Microsoft Support and Recovery Assistant UI version from the link.

Download UI version

2. Open downloaded file then install Microsoft Support and Recovery Assistant following the installation wizard.

3. Once the tool is installed, let’s sign-in using your Office 365 account and then the tool will run automatically.

Bg1421

4. Select the checkbox then be certain you’ve sign out your account from Microsoft Office apps. Click Next.

Bg1418
Bg1422

5. Finally, you got the window. Let’s reopen any Office app to verify it works.

Bg1423
ADVERTISEMENT

Use scripts to automate the cleanup process

Run the following scripts that automate each section of the process. We recommend that you run the OLicenseCleanup.vbs and signoutofwamaccounts.ps1 scripts listed below.

1. Download these files from Microsoft:

  • OLicenseCleanup.vbs
  • signoutofwamaccounts.ps1

2. Extract downloaded files to your computer. Then copy signoutofwamaccounts.ps1 to the OLicenseCleanup folder. Now, in this folder we’ve two files.

Bg1424
Bg1425

3. Copy folder named OLicensCleanup to root of C drive.

Bg1427

4. Right click on Windows Start icon then select Windows PowerShell Admin.

Pw3

5. Navigate to the folder using cd command cd C:\OLicenseCleanup

6. Run the script using this command .\OLicensCleanup.vbs

Bg1428

7. Reopen any Office app to verify it works.

5/5 - (1 vote)
Previous Post

How to Fix Installed Office 365 Shows Up as Office 2016

Next Post

How to Fix Installed Office 365 Shows Up as Office 2021

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory