Activating Office through CMD relies on a built-in Microsoft Visual Basic script called OSPP.VBS (Office Software Protection Platform). This script is natively included in every Microsoft Office installation. It allows administrators to interact directly with the Windows licensing subsystem.
Using the Command Prompt to manage legitimate product keys is a powerful tool for troubleshooting. While third-party scripts exist to activate Office 2013 for free, they are not an official Microsoft solution and carry substantial security and legal risks. The safest and most responsible path is to use a legitimate license, either by renewing a valid key or exploring modern, free alternatives like , FreeOffice , or the web-based versions of Microsoft Office. These provide security, stability, and peace of mind.
In this example, we're installing the Professional Plus GVLK. You should see a confirmation message indicating the key was successfully installed.
cscript ospp.vbs /unpkey:97367
This will display the licensing status, license name, and the last five characters of the installed key. Navigate to Office cd C:\Program Files\Microsoft Office\Office15 Set KMS Server cscript ospp.vbs /sethst:[KMS_SERVER_IP] Activate cscript ospp.vbs /act Check Status cscript ospp.vbs /dstatus
Once activated via KMS, the license is typically valid for , and your computer will automatically attempt to renew it every seven days as long as it remains connected to the network.
Using unauthorized activation methods violates Microsoft’s Terms of Service and constitutes software piracy. For businesses, this can result in severe financial penalties during software audits. how to activate ms office 2013 without product key using cmd
Type the appropriate cd (change directory) command into CMD and press Enter. 3. Installing a Generic Volume License Key (GVLK)
This error typically means you're not in the correct Office installation directory, or the ospp.vbs script is missing.
Users seeking legal and secure activation of Microsoft Office 2013 Date: April 23, 2026 Activating Office through CMD relies on a built-in
cscript ospp.vbs /sethst:YOUR_KMS_SERVER_ADDRESS
KMS activations are valid for 180 days. After this period, you may need to run the command again to renew your license, or your system may automatically renew it if connected to a KMS server. Step-by-Step Activation Guide Step 1: Open Command Prompt as an Administrator You cannot run these commands with standard permissions. Click the Start menu on your PC. Type cmd into the search bar.
cscript ospp.vbs /act
If you are using a retail or OEM copy of Office 2013 that is prompting you for a product key and you have a legitimate license, the proper path is to contact Microsoft Support, retrieve your original product key, or consider upgrading to a more recent version of Office that offers modern activation methods like digital licensing tied to your Microsoft account.