Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / MS Office / How to Extend Office 2021/2019/2016 & Office 365 Trial Period

June 8, 2023 MS Office

How to Extend Office 2021/2019/2016 & Office 365 Trial Period

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

your trial has expired office 2016 / 365

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

Using OsppRearm.exe Tool to Reset MS Office Activation Grace Period

The MS Office package (both the classic MSI package of Office 2016/2013/2010 and the Click2Run distribution of Office 2021/2019/Office 365) includes a special ospprearm.exe tool, which is located in the directory:

  • On 64-bit Windows versions with 32-bit Office version installed — %SystemDrive%\Program Files (x86)\Microsoft Office\Office16
  • In other cases — %SystemDrive%\Program Files\Microsoft Office\Office16
Note. Sometimes the file may be located in:

%SystemDrive%\Program Files (x86)\Common Files\Microsoft shared\OfficeSoftwareProtectionPlatform\
Or
%SystemDrive%\Common Files\Microsoft shared\OfficeSoftwareProtectionPlatform\

In any case, you can try to find the location of the ospprearm.exe file manually.

ospprearm.exe - tool to extend office trial

Close all MS Office applications, the command prompt as an administrator, and go to the ospprearm tool folder:

cd %SystemDrive%\Program Files (x86)\Microsoft Office\Office16
To extend your trial version of Office for 30 days, run this command:
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

You need to specify the SKU ID of the Office version you want to rearm. List all Office SKUIDs on a computer:

cscript ospp.vbs /dstatus

ospp.vbs get ms office sku id

Copy the SKUID and provide it as an argument to the command:

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

You can also renew the Office trial license using the built-in slmgr.vbs tool:

cscript slmgr.vbs /rearm-app <Application ID>

You can get the application ID from the results of the slmgr.vbs /dlv all command.

Please note that this license rearm method is only suitable for corporate versions of Office 2019/2016 and Office 365 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. More on this below.

Thus, you rearm your Office copy and extend the free trial to 30 days. You can run this command up to three (3) times before the trial expires. Thus, you can extend the total time of using the Office 2019/2016/365 trial version up to 120 days (4 * 30 days). You can check the current Office activation status and the number of days remaining until the end of the grace period as follows.

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

LICENSE DESCRIPTION: Office 16, 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)

In this example, you can see that you have installed a trial version of Microsoft Office 2016 and there are 4 days left before the trial period ends.

ospp.vbs dstatus Office16ProPlusR_Grace remaining

When running the ospprearm.exe command:

  • The trial period counter for Office resets to 30 days. The activation timer is frozen until the first launch of any of the Office apps;
  • The computer CMID is reset (the KMS server determines unique clients according to CMID. You can check the current CMID of the computer using the ospp.vbs script – see the KMS activation FAQ).
Tip. This opportunity to extend the Office trial period is documented on the Microsoft website. However, it may be considered a violation of the license agreement. So you postpone the activation at your own risk. You can rearm your Office 2010/2013 trial in the same way.

Rearming Microsoft Office: Retail vs. Volume Edition

There are differences in extending the activation grace period in Retail and corporate (Volume) editions of Office. To understand which edition of MS Office is installed on your computer, open a command prompt and run the commands:

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

This command will display information about all Microsoft products on your computer. Find the section in the list that refers to MS Office. For example, for Office 2019, you need to find the line:

Name: Office 19, Office19ProPlus2019xxx

In this example, the retail trial edition of Office is installed on the computer (Description: Office 19, RETAIL Grace channel). You can extend the trial period only 1 time (Remaining App rearm count: 1). The remaining period of use is 5 days.

office retail edition rearm count

If a corporate edition of Office 2019 is installed on the computer, for example, Office 19, Office19ProjectPro2019VL_KMS_Client_AE editionthen its description should look like Office 19, VOLUME_KMSCLIENT channel or Office 19, VOLUME_KMSCLIENT channel. The remaining trial period is 30 days, you can renew the license up to 3 times (Remaining App rearm count: 3).

office volume edition remaining app rearm count

Each time the license is extended via ospprearm.exe, the counter is decremented by 1. If the remaining number of rearms for the Office trial license is 0, you will receive error 0xc004d307 when running 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: 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 if you are preparing a Windows reference image with Office preinstalled to deploy on a users’ computers via WDS, SCCM, or to manually install the image. Before capturing a reference Windows image, you need to reset the activation counter with the ospprearm.exe command (and do not start any Office apps until the Windows image capture is complete). In this case, after deploying the Windows image on the user’s computer and after the first launch of any Office application, you can use Office without activation and restrictions for a full 30 days.

10 comments
3
Facebook Twitter Google + Pinterest
previous post
Installing PowerShell Modules in Offline Mode (Without Internet Access)
next post
Updating List of Trusted Root Certificates in Windows

Related Reading

Microsoft Key Management Service (KMS) Volume Activation FAQs

May 31, 2023

Send Outlook Emails Using Excel VBA Macro or...

April 11, 2023

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

October 10, 2022

Outlook Keeps Asking for Password on Windows

May 24, 2022

How to Completely Uninstall Previous Versions of Office...

April 26, 2022

10 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

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Fix: Signature Button Not Working in Outlook 2019/2016/365
  • Outlook Keeps Asking for Password on Windows
  • Configuring KMS License Server for Office 2021/2019/2016 Volume Activation
  • Send Outlook Emails Using Excel VBA Macro or PowerShell
  • How to Completely Uninstall Previous Versions of Office with Removal Scripts
  • Installing an Open Source KMS Server (Vlmcsd) on Linux
  • Read and Write Data to Excel File with PowerShell
Footer Logo

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


Back To Top