Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Microsoft Office / How to Extend Office 2024/2021/2019 or Microsoft 365 Trial Period

March 5, 2026

How to Extend Office 2024/2021/2019 or Microsoft 365 Trial Period

When installing certain editions of Microsoft Office 2024/2021/2019, or Microsoft 365 Apps, users are offered to try the product for free for up to 30 days as part of the activation grace period. After 30 days, this trial version of Microsoft Office will expire, and the Office apps functionality will be partially blocked. The user will be prompted to either purchase a license and activate the product (using a retail/MAK key or via Office KMS activation) or uninstall Office completely. However, there is a little trick that allows you to extend your Microsoft Office free trial period up to 120 days.

Contents:
  • Using OsppRearm.exe to Reset Microsoft Office Activation Grace Period
  • Rearming Microsoft Office: Retail vs Volume Edition Grace Period
  • Reset the Microsoft 365 Apps Trial License Activation

your trial has expired office 2016 / 365

After the Microsoft Office activation grace period expires, the following message may appear:

Your trial has expired
Most of the features of Office Preview have been disabled. Choose an option below to reactivate.

After the evaluation period expires in LTSC Office 2024 and 2021, launching any application displays a notificationThis copy of Microsoft Office is not activated, prompting the user to enter the product key and activate it.

Microsoft Office 2021 evaluation license expired

After the trial license expires, it will no longer be possible to edit documents. Instead, documents will open in view-only mode.

Microsoft Office product notice - activation required

Using OsppRearm.exe to Reset Microsoft Office Activation Grace Period

The Microsoft Office (both the classic MSI-based Office 2016/2013/2010 and the Click2Run distribution of Office 2024/2021/2019/Microsoft 365) includes a special ospprearm.exe tool.  It is an official Microsoft tool designed for enterprise administrators to reset Office activation timers, and is intended primarily for preparing workstations and corporate Windows images with pre-installed software. I will use the osprearm.exe command to reset the activation grace period for an installed copy of Microsoft Office.

Depending on the operating system and Office version, it may be located in one of the following directories:

  • %SystemDrive%\Program Files (x86)\Microsoft Office\Office16
  • %SystemDrive%\Program Files\Microsoft Office\Office16
  • %SystemDrive%\Program Files (x86)\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\
  • %SystemDrive%\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\
 Note. You can also find the location of the OSPREARM.exe file manually.

ospprearm.exe - tool to extend office trial

Close all running Microsoft Office applications, open the command prompt as an administrator, and go to the OSPREARM tool folder.

cd %SystemDrive%\Program Files (x86)\Microsoft Office\Office16
Run this command to extend your Office trial for an additional 30 days:
OSPPREARM.EXE

Microsoft Office rearm successful

The following message will appear:

Microsoft Office rearm successful

If several different versions of MS Office are installed on the computer, an error will appear when running the ospprealm command.

There was an error when trying to rearm Office. You can try passing the SKU ID as a parameter. Passing the SKU ID is necessary if you are relying on an activation to permit an additional rearm.

Error: 0xc004f025

In this case, you need to specify the SKU ID of the Office version whose trial period you want to rearm. List all Office SKUIDs on a computer:

cscript ospp.vbs /dstatus

ospp.vbs get ms office sku id

Copy the SKU ID and use it as an argument in the command.

OSPPREARM.EXE d450596f-894d-49e0-966a-fd39ed4c4c64

Please note that this license rearm method is only suitable for corporate versions of Microsoft Office licensed under the Volume Licensing (Standard, ProPlus, and Enterprise editions). You can reset the free trial period in retail editions (Home, Personal, University, etc.) only once and for a maximum of 5 days. More on this is below.

When running the ospprearm.exe command:

  • The Office trial period counter resets to 30 days. The activation timer is frozen until the first launch of any Microsoft Office app or the running of the OSPP.vbs script;
  • The computer’s CMID is reset (the KMS server determines unique clients according to their CMID). You can check the current CMID of the computer using the ospp.vbs script. For more information, refer to the KMS activation FAQ).

You can run this command up to three (3) times before the trial expires. Thus, you can extend the total evaluation period for Microsoft Office up to 120 days (4 * 30 days). You can check your Office activation status and the number of days remaining until the end of the grace period:

cd %SystemDrive%\Program Files (x86)\Microsoft Office\Office16
cscript ospp.vbs /dstatus

LICENSE NAME: Office 21, Office21ProPlus2021R_Grace edition
LICENSE DESCRIPTION: Office 21, RETAIL(Grace) channel
LICENSE STATUS:  ---OOB_GRACE---
ERROR CODE: 0x4004F00C
ERROR DESCRIPTION: The Software Licensing Service reported that the application is running within the valid grace period.
REMAINING GRACE: 4 days (6499 minutes before expiring)

As you can see, a trial version of Microsoft Office 2021 is installed, and the grace period will end in four days.

ospp.vbs: Get MS Office activation status remaining grace

Tip. This opportunity to extend the Office trial period is documented on the Microsoft website. However, this may be considered a violation of the license agreement. So, you can rearm Office activation at your own risk.

Rearming Microsoft Office: Retail vs Volume Edition Grace Period

There are differences in extending the activation grace period between the Retail and Corporate (Volume) editions of Office. Only the corporate editions of Office are available for a 30-day trial.

Open a command prompt and run the following commands to check which Microsoft Office edition is installed on your computer:

cd c:\Windows\System32
cscript slmgr.vbs /dlv all

This command will display information about all the Microsoft products on your computer. Find the sections in the list that refer to Microsoft Office products. For example:

Name:  Office 21, Office21ProPLus2021R_Grace edition

In this example, the Retail trial edition of Office is installed on the computer (Description: Office 21, RETAIL(Grace) channel). You can extend this trial only one time (Remaining App rearm count: 1). Retail Office editions can only be extended once for up to five (5) days.

MS Office retail edition rearm count, initial grace period

If a corporate edition of Office 2021 is installed on the computer, for example, Office 21, Office21Standard2021VL_KMS_Client_AE edition then its description should look like Office 21, VOLUME_KMSCLIENT channel. The remaining trial period is 30 days, and the license can be rearmed up to three times ( Remaining App rearm count: 3 ).

License Status: Initial grace period indicates that this copy of Office has not been activated and is operating in evaluation mode.

office volume edition remaining app rearm count

If the trial period has expired, the license status will change to:

Notification Reason: 0xC004F056.
License Status: Notification

MS Office: license in notification status 0xC004F056

Each time the license is extended using ospprearm.exe, the counter is decreased by one. If the remaining number of rearms for the Office trial license is 0, you will receive error 0xc004d307:

There was an error when trying to rearm Office. You can try passing the SKU ID as a parameter. Passing the SKU ID is necessary if you are relying on an activation to permit an additional rearm.
Error: 0xc004d307
On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0xc004d307' to display the error text.
Windows Activation. An error has occurred.
Description: The security processor reported that the maximum allowed number of re-arms has been exceeded.  You must re-install the OS before trying to re-arm again.

microsoft office 2019 rearm error 0xc004d307

Resetting a trial Office license using ospprearm.exe is useful when preparing a Windows reference image with preinstalled Office for deployment to user computers via WDS, SCCM, or manual installation. Before capturing the reference image, reset the activation counter using the OSPPREARM command (don’t run any Microsoft Office app until the Windows image capture is complete). In this case, you can use the trial version of Office on the user’s computer for 30 days after deploying the Windows image, with no activation or restrictions.

Reset the Microsoft 365 Apps Trial License Activation

Activation rearming using ospprearm.exe doesn’t work for Office products distributed via Microsoft 365 Apps subscriptions. Use the PowerShell script vnextdiag.ps1 in the C:\Program Files\Microsoft Office\Office16 folder to check the activation status of Microsoft 365 products.

./vnextdiag.ps1 -action list

PowerShell script vnextdiag.ps1 - microsoft 365 app license manage

To reset the activation of a specific Microsoft 365 Apps program, use this command (copy the LicenseId value from the previous command’s output):

./vnextdiag.ps1 -action remove -LicenseId APP_GUID_ID

The next time you open the Microsoft 365 app, you can sign in with a different Microsoft account to run into a new trial period.

Use the following command to extend the Windows evaluation license:

slmgr /rearm

12 comments
6
Facebook Twitter Google + Pinterest
Microsoft Office
previous post
How to Install PowerShell Modules Offline (without Internet)
next post
How to Update Trusted Root Certificates in Windows: Manual and Automatic Methods Explained

Related Reading

Install KMS Activation Server (Vlmcsd) on Linux

September 30, 2025

Fix: Signature Button Not Working in Outlook 2019/2016/365

March 11, 2024

Outlook Keeps Asking for Password on Windows

March 17, 2024

How to Increase Attachment Size Limit in Outlook

March 15, 2024

Microsoft Office Volume Activation Using KMS Server

March 5, 2026

How to Check the Activation Status of MS...

March 5, 2026

Fix: Microsoft Outlook Search Not Working on Windows...

March 17, 2024

How to Manually Configure Exchange or Microsoft 365...

March 17, 2024

12 comments

Andrzej July 23, 2019 - 2:41 pm

its not work now!

Reply
WAQUAR AHSAB October 29, 2019 - 10:14 am

The trial did not extend instead office 2016 was not activated after that.

Reply
Ilie December 29, 2019 - 2:01 pm

Thanks. It worked : )

Reply
Neville September 9, 2021 - 9:27 am

i get an error:
PS C:\Program Files\Microsoft Office\Office16> .\OSPPREARM.EXE
There was an error when trying to rearm Office. You can try passing the SKU ID as a parameter. Passing the SKU ID is necessary if you are relying on an activation to permit an additional rearm.
Error: 0xc004f025
On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0x2a 0xc004f025’ to display the error text.
PS C:\Program Files\Microsoft Office\Office16>

Is that because I did not get the Software expired message as yet?

Reply
Danarman September 30, 2021 - 4:28 pm

Open a Command Prompt as Administrator and enter path where OSPPREARM.EXE is installed.
There run:
cscript ospp.vbs /dstatus
You’ll obtain the SKU ID of your office.
Then repeat the OSPPREARM.EXE but with the resulting SKU ID as parameter. Example:

C:\Program Files (x86)\Microsoft Office\Office16>OSPPREARM.EXE dxxxxxxf-8xxd-4xx0-xxxx-fxxxxxxxxxx4
Microsoft Office rearm successful.

Reply
Zan February 15, 2022 - 1:22 am

Is there a way to increase the counter so we get infinite trial resets?

Reply
Zan February 15, 2022 - 1:26 am

also, it says rearm is successful but when I open up word, everything is still locked and I can’t type anything or edit anything unless I either sign in or enter product key. how to fix?

Reply
Zan February 15, 2022 - 1:31 am

that slmgr.vbs /dlv all gives me a huge windows script host window with no scrollbar to the sides so much of the information is cut off unless you have a huge portrait monitor with huge height resolution, which one am I suppose to choose?

Reply
Zan February 15, 2022 - 1:59 am

ok so I tried cscript slmgr.vbs /rearm-app 3ad61e22-e4fe-497f-bdb1-3e51bd872173 and all I get is c:\Windows\System32\slmgr.vbs(1852, 5) SWbemObjectEx: 0xC004F015 and then checking the status with cscript ospp.vbs /dstatus, I get:
—Processing————————–
—————————————
PRODUCT ID: 00202-30000-00000-AA921
SKU ID: 3ad61e22-e4fe-497f-bdb1-3e51bd872173
LICENSE NAME: Office 16, Office16O365ProPlusR_Grace edition
LICENSE DESCRIPTION: Office 16, RETAIL(Grace) channel
BETA EXPIRATION: 1/01/1601
LICENSE STATUS: —NOTIFICATIONS—
ERROR CODE: 0xC004F009
ERROR DESCRIPTION: The Software Licensing Service reported that the grace period expired.
Last 5 characters of installed product key: VMFTK
—————————————
—————————————
—Exiting—————————–

Reply
monet February 24, 2022 - 11:29 am

Is there a way to do this on a Mac?

Reply
Tiks January 23, 2024 - 5:50 pm

I have this error:
C:\Program Files\Microsoft Office\Office16>OSPPREARM.EXE fbdb3e18-a8ef-4fb3-9183-dffd60bd0984
There was an error when trying to rearm Office. You can try passing the SKU ID as a parameter. Passing the SKU ID is necessary if you are relying on an activation to permit an additional rearm.
Error: 0xc004d307
On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0x2a 0xc004d307’ to display the error text.

Reply
getrin July 24, 2024 - 1:38 am

solution for this please

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Load and Initialize Network Drivers in Windows PE or Recovery Environment

    February 25, 2026
  • How to Set a Custom Drive Icon in Windows

    February 17, 2026
  • Managing Per-User Services in Windows

    February 11, 2026
  • Change Default OU for New Computers and Users in AD

    February 2, 2026
  • Where Windows Stores Certificates and Private Keys

    January 22, 2026
  • How to Remove Old (Unused) PowerShell Modules

    January 12, 2026
  • How to Move (Migrate) Windows Shares to a New File Server

    December 24, 2025
  • Using KDC (Kerberos) Proxy in AD for Remote Access

    December 23, 2025
  • Windows: Create (Install) a Service Manually

    December 16, 2025
  • Windows: Auto Switch to Strongest Wi-Fi Network

    December 10, 2025

Follow us

  • Facebook
  • Twitter
  • Youtube
  • Telegram
Popular Posts
  • Fix: Signature Button Not Working in Outlook 2019/2016/365
  • Outlook Keeps Asking for Password on Windows
  • Microsoft Office Volume Activation Using KMS Server
  • Install KMS Activation Server (Vlmcsd) on Linux
  • How to Uninstall Any Previous Microsoft Office Version with Removal Scripts
  • How to Manually Configure Exchange or Microsoft 365 Account in Outlook 365/2019/2016
  • Read and Write Excel (XLSX) Files with PowerShell
Footer Logo

@2014 - 2026 - Windows OS Hub. All about operating systems for sysadmins


Back To Top